July 2002
Intermediate to advanced
864 pages
22h 32m
English
XPath 1.0 provides seven node types that are described in this section. Each node type corresponds to a part of the source XML document. Remember that two parts of the source XML document—the XML declaration, if present, and the DOCTYPE declaration—cannot be represented in XPath.
XPath is also unable to express an external parsed entity. If you want to address parts of such an entity, it is necessary to use XPointer.
All XML documents that are well-formed have a single root node. The root node corresponds broadly to the document entity in XML 1.0 and is not visible within the code of the XML document.
A root node has no parent node or ancestor node. The root node has no name.
Element nodes are the XPath ...