return new DomAttr(this, null, name);
DomAttr ret = new DomAttr(this, null, name); ret.localName = null; return ret;
  public Attr createAttribute(String name)  {    if (checkingCharacters)      {        checkName(name, "1.1".equals(version));      }    if (name.startsWith("xml:"))      {        return createAttributeNS(XMLConstants.XML_NS_URI, name);      }    else if (XMLConstants.XMLNS_ATTRIBUTE.equals(name) ||             name.startsWith("xmlns:"))      {        return createAttributeNS(XMLConstants.XMLNS_ATTRIBUTE_NS_URI, name);      }    else      {        return new DomAttr(this, null, name);      }  }