Document.createAttributeNS

Creates an attribute of the given qualified name and namespace URI. Per the XML Namespaces specification, applications must use the value null as the namespaceURI parameter for methods if they wish to have no namespace.

interface Document
createAttributeNS
(
DOMString namespaceURI
,
DOMString qualifiedName
)

Meta