Click to return to the XML (Extensible Markup Language) home page    
XMLDOMElement normalize M...     XMLDOMElement removeAttri...     XMLDOMElement Object    
Web Workshop  |  XML (Extensible Markup Language)

removeAttribute Method


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 XMLDOMNode object's specified property.

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
XMLDOMElement


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.