Microsoft XML SDK 2.6 - XML Reference

removeAttributeNode Method

Removes the specified attribute from this element.

objXMLDOMAttribute = oXMLDOMElement.removeAttributeNode(XMLDOMAttribute)

Parameters

XMLDOMAttribute
Object that supplies the XMLDOMAttribute object to be removed from this element.

Return Value

Object. Returns the removed element.

Remarks

Note that if the attribute has a default value, this call also creates a new attribute object with the default value, associates the new attribute with this element, and resets the attribute's specified property.

See Also

Applies To: XMLDOMElement Object