Share via


IXMLDOMElement

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 an element and are not considered to be part of the document tree. Accordingly, the IXMLDOMElement 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 an element, you can also call the getAttribute method, which returns an IXMLDOMNamedNodeMap collection object that contains all the element's attributes.

This interface inherits all of the methods, properties, and events of IXMLDOMNode.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Msxml2.h, Msxml2.idl.

Setting Version-independent Version-dependent
ProgID Msxml2.DOMDocument Msxml2.DOMDocument.3.0

See Also

IXMLDOMElement Members | IXMLDOMNamedNodeMap | IXMLDOMText | IXMLDOMNode | getAttribute Method

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.