XML technologies / XPath / XPath 2.0: language reference / XPath expressions / The XPath expression as the basic unit

(Excerpt from "XSLT 2.0 & XPath 2.0" by Frank Bongers, chapter 4.)

Every unit formulated in valid XPath is an XPath expression (expression). A valid expression can be very simple or arbitrarily complex. Complex XPath expressions consist of simple XPath expressions, which form the basic building blocks combined using predefined keywords, symbols and operators.

XPath expressions can identify parts of the XPath data-model tree described above, such as element nodes, text nodes or entire branches. In this context, an XPath expression is called a path expression. An application can extract, filter or otherwise process the addressed information. Functions that can also be embedded in XPath expressions provide further processing capabilities or generate data to be output as required.

   

back to top