A DOM parser loads the entire document into a memory-resident tree structure so that the nodes of the tree can be randomly accessed by an application program.
The nodes are all linked together in parent/child relationships that are representative of the relationships in the original document.
|Attr||An attribute consisting of a name (sometimes called a key) and a value to be associated with the name.|
|CDATASection||A block of text in an escape format to allow for the inclusion of special characters. .|
|Comment||The text of a comment.|
|Document||The root node of the entire document tree.|
|DocumentFragment||A lightweight form of Document primarily used for editing a parse tree by extracting and inserting parts of the tree.|
|DocumentType||The node in the tree that contains descriptive information about the format of the elements (it is the schema or DTD information).|
|Element||A tag used to mark up a section of text.|
|Entity||An entity, either parsed or unparsed. This is the entity itself, not the declaration.|
|EntityReference||An unexpanded entity. A parser may choose to expand all entity references omitting objects of this type.|
|Notation||A notation declared as part of the DTD or schema. It is either an unparsed entity or processing instruction.|
|ProcessingInstruction||A processing instruction is a processor-specific instruction included in the document.|