Microsoft XML 2.5 SDK


 

removeAttributeNode Method

[This is preliminary documentation and subject to change.]

Removes the specified attribute from this element.

Syntax

objXMLDOMAttribute = oXMLDOMElement.removeAttributeNode(XMLDOMAttribute)

Parameters

XMLDOMAttribute

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

Returns

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.

Applies To

XMLDOMElement