XPath traverses an XML document's tree structure to describe node sets in an XML document. XPath uses pattern-matching to find sets of elements (for example, <note>Text</note>).
XPath is a W3C standard and is used in XSLT.
The following figure shows XPath expressions in an XSLT document.