Rex Jones II 13 XPath Axes # Axis Description 1 ancestor Select all ancestor/parent nodes of the current node 2 ancestor - or - self Select current node and all of the ancestor/parent nodes 3 attribute Select all attributes of the current node 4 child Select all children of the current node 5 descendant Select all descendants of the current node 6 descendant - or - self Select the current node and all of the descendants 7 following Select all nodes after the current node 8 following - sibling Select all siblings (share same parent) after the current node. 9 namespace Select all namespace nodes of the current node 10 parent Select the parent of the current node 11 preceding Select all nodes before the current node 12 preceding - sibling Select all siblings (share same parent) before the current node 13 self Select the current node Rex Jones II XPath Axes Syntax Syntax axis :: node [ index ] Argument Description axis Specify tree - relationship between current node and selected nodes :: Separate the axis and node node Identify the Tag Name within an axis index Specify the node sequence