Adds the supplied node to the collection.
objXMLDOMNode = oXMLDOMNamedNodeMap.setNamedItem(newItem)
Object. Returns the attribute successfully added to the collection.
If an attribute already exists with the name in the supplied XMLDOMNode object, the supplied object replaces the existing attribute. The attribute name appears in its XMLDOMNode property.
If the newItem node type is not NODE_ATTRIBUTE, setNamedItem returns an error. For example, it is not possible to modify entities or notations, which are read-only.
Applies To: XMLDOMNamedNodeMap Object