Microsoft XML SDK 2.6 - XML Reference

removeAttribute Method

Removes or replaces the named attribute.

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.

See Also

Applies To: XMLDOMElement Object