Remove and return oldAttr from the attribute list, if present. If oldAttr is not present, NotFoundErr is raised.
xml.dom/Element.removeAttributeNode
Element.removeAttributeNode