Adds or changes the supplied attribute node on this element.
Syntax
objXMLDOMAttribute = oXMLDOMElement.setAttributeNode(XMLDOMAttribute)
Parameters
XMLDOMAttribute
Object that contains the attribute node to be associated with this element.
Returns
Object. Returns NULL unless the new attribute replaces an existing attribute with the same name, in which case this method returns the previous, replaced attribute node.
Applies To