XQuery tutorial

XPath is a language for finding information in XML documents. XPath is used to navigate through elements and attributes in XML documents.

Knowledge you should have before learning:

Before you continue learning, you should have a basic understanding of the following knowledge:

  • HTML / XHTML
  • XML / XML namespace

If you want to learn these projects first, please visit our Home page Access these tutorials.

What is XPath?

  • XPath uses path expressions to navigate within XML documents
  • XPath contains a standard function library
  • XPath is the main element in XSLT
  • XPath is a W3C standard

XPath path expressions

XPath uses path expressions to select nodes or node sets in XML documents. These path expressions are very similar to expressions we see in conventional computer file systems.

XPath standard functions

XPath contains more than 100 built-in functions. These functions are used for string values, numeric values, date and time comparisons, node and QName processing, sequence processing, logical values, and more.

XPath is used in XSLT

XPath is the main element in the XSLT standard. Without knowledge of XPath, you cannot create an XSLT document.

Je kunt in onze《XSLT tutorialRead more content here.

XQuery and XPointer are both built on top of XPath expressions. XQuery 1.0 and XPath 2.0 share the same data model and support the same functions and operators.

Je kunt in onze《XQuery tutorialRead more about XQuery here.

XPath is a W3C standard

XPath werd op 16 november 1999 een W3C standaard.

XPath is ontworpen voor gebruik met XSLT, XPointer en andere XML parser software.

Je kunt in onze《W3C Handleiding》lees meer over de XPath standaard.