The DomNode class / xml.DomNode methods |
Sets (or resets) a namespace-qualified XML Attribute for an XML Element DomNode object.
setAttributeNS( prefix STRING, name STRING, ns STRING, value STRING )
Sets (or resets) a namespace-qualified XML Attribute for this XML Element DomNode object, where prefix is the prefix of the XMLAttribute, name is the name of the XML Attribute, ns is the namespace URI of the XML Attribute, and val is the value of the XML Attribute.
In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.