XPath Tutorial


XPath is a language for finding information in XML documents.

XPath is a major element in XSLT.

XQuery and XPointer are both built on XPath expressions.

Start learning XPath now!

XPath Reference Manual

At Example, we provide a complete reference manual for the built-in functions of XPath 2.0, XQuery 1.0, and XSLT 2.0.

XPath Functions

Contents

XPath Introduction
This chapter explains the concepts of XPath.

XPath Nodes
This chapter details the different types of nodes in XPath and the relationships between nodes.

XPath Syntax
This chapter explains the syntax of XPath.

XPath Axes
This chapter explains XPath axes.

XPath Operators
This chapter lists the operators that can be used in XPath expressions.

XPath Examples
This chapter uses the "books.xml" document to demonstrate some XPath examples.

XPath Summary
This article contains a summary of what you learned in this tutorial, as well as what we recommend you should learn next.

Other Extensions