XPath: A Syntax for Describing Needles and Haystacks(Chapter 3 of XSLT 2nd Edition)
There are seven kinds of nodes in XPath:
• The document node (one per document)
• Element nodes
• Attribute nodes
• Text nodes
• Comment nodes
• Processing instruction nodes
• Namespace nodes