for retrieving the XML context associated with the nodes of the underlying structures of the documents.
| DOCUMENT_NODE | Document |
| ELEMENT_NODE | Element |
| ATTRIBUTE_NODE | Attr |
| TEXT_NODE | CharacterData |
| ENTITY_NODE | Entity |
| ENTITY_REFERENCE_NODE | EntityReference |
| NOTATION_NODE | Notation |
| COMMENT_NODE | Comment |
| PROCESSING_INSTRUCTION_NODE | ProcessingInstruction |
| CDATA_SECTION_NODE | CDATASection |
| DOCUMENT_TYPE_NODE | DocumentType (DTD) |
| DOCUMENT_FRAGMENT_NODE | DocumentFragment |
<?xml version="1.0" encoding="UTF-8"?>
<article xmlns="x:y" attr="ignored"> <section> A & B </section> </article> |
The root
Element: article Attr: xmlns Attr: attr Element: section |