Microsoft XML 2.5 SDK


 

removeAttribute Method

[This is preliminary documentation and subject to change.]

Removes or replaces the named attribute.

Syntax

oXMLDOMElement.removeAttribute(name)

Parameters

name

String specifying the name of the attribute to be removed or replaced.

Remarks

If the specified attribute has a default value, this is equivalent to a replace operation: the current value is removed and a new attribute is created with the default value. This operation also resets the  object's specified property.

Applies To

XMLDOMElement