25.109. Element.setAttributeNS( ): create or change an attribute with a namespaceDOM Level 2 Core:25.109.1. Synopsisvoid setAttributeNS(String namespaceURI, String qualifiedName, String value) tHRows DOMException; 25.109.1.1. Arguments
25.109.1.2. ThrowsThis method may throw a DOMException with the following code values:
25.109.2. DescriptionThis method is like setAttribute( ), except that the attribute to be created or set is specified by a namespace URI and a qualified name that consists of a namespace prefix, a colon, and a local name within the namespace. This method is useful only with XML documents that use namespaces. It may be unimplemented (i.e., throw a NOT_SUPPORTED_ERR) on browsers that do not support XML documents. 25.109.3. See AlsoElement.setAttribute( ), Element.setAttributeNode( ) |