XPath is used to navigate through elements and attributes in XML document
Uses path expressions like in a file system, nodes are selected by path or steps. Most useful ones see below
axisname::nodetest[predicate]
axisname:
For example: ancestor::book - all book ancestors of current node
nodes: see below
predicates:
wildcard:
Select several paths:
Nodes with no children or parent, i.e. "value" in "<div>value</div>", "attribute" in <node name="attribute">
Nodes or Atomic values
Just google