void setValue(@NotNull String valueText) throws IncorrectOperationException {
    final ASTNode value = XmlChildRole.ATTRIBUTE_VALUE_FINDER.findChild(myAttribute.getNode());
    final XmlAttribute attribute = createAttribute(StringUtil.defaultIfEmpty(myAttribute.getName(), "a"), valueText,
                                                   getPreferredQuoteStyle());
    final ASTNode newValue = XmlChildRole.ATTRIBUTE_VALUE_FINDER.findChild(attribute.getNode());
    final ASTNode att = myAttribute.getNode();
    if (value != null) {
      if (newValue != null) {
        att.replaceChild(value, newValue.copyElement());
      }
      else {
        att.removeChild(value);
      }
    }
    else {
      if (newValue != null) {
        att.addChild(newValue.getTreePrev().copyElement());
        att.addChild(newValue.copyElement());
      }
    }
  }
void setValue(@NotNull String valueText)