Home >Online Product Documentation >Table of Contents >About Root Nodes and Document Elements
About Root Nodes and Document Elements
A root node is the topmost node in the tree that represents the contents of an XML document. The root node can contain comments, a declaration, and processing instructions, as well as thedocument element. The document element is the element that contains all other elements; that is, the document element contains elements that are in the document but that are not immediate children of the root node.