Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

XPath Tutorial

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

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

XPath functions

Table of contents

XPath introduction
This chapter explains the concepts of XPath.

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

XPath Syntax
This chapter explains XPath syntax.

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 includes a summary of what you learned in this tutorial and what we recommend you learn next.