Microsoft XML 2.5 SDK


 

XMLDOMElement Object

[This is preliminary documentation and subject to change.]

The XMLDOMElement object represents the element object.

Remarks

Element nodes are among the most common objects in the XML document tree. Element nodes can have attributes associated with them. By definition, attributes are not defined as child nodes of the element and are not considered to be part of the document tree. Accordingly, the XMLDOMElement object provides methods to make it easier to manage attributes, including methods to associate an attribute with an element, and to retrieve an attribute object and the attribute value by name.

To retrieve the set of all attributes associated with the element, you can also call the getAttribute method, which returns an XMLDOMNamedNodeMap collection object that contains all the element's attributes.

See Also

Properties, Methods, and Events | XMLDOMText Object