The Document Object Model (DOM) provides a generic container, the node, that can be used to represent elements, attributes, textual content, comments, processing instructions, entities, CDATA sections, and document fragments. Because each node type has different access methods and content limitations, it is sometimes easier to work with nodes belonging to a particular type.
This section provides information about how to work with the following types of nodes.
Attributes | CDATA Sections | Comments | Document Map | DOCTYPE Declaration | Elements | Character and Entity References | IXMLDOMNamedNodeMap | Processing Instructions | XML Declaration