Share via


removeAttributeNode Method

Removes the specified attribute from this element.

var objXMLDOMAttribute = oXMLDOMElement.removeAttributeNode(DOMAttribute);

HRESULT removeAttributeNode(
  IXMLDOMAttribute* DOMAttribute,
  IXMLDOMAttribute** attributeNode
);

General Remarks

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

This method applies to the following objects and interfaces:

IXMLDOMElement and IXMLDOMAttribute.

See Also

specified Property

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.