The Document.createAttributeNS()
method creates a new attribute node with the specified namespace URI and qualified name, and returns it. The object created is a node implementing the Attr
interface. The DOM does not enforce what sort of attributes can be added to a particular element in this manner.