Remove an attribute by name. Note that it uses a localName, not a qname.
xml.dom/Element.removeAttributeNS
Element.removeAttributeNS