XPath Tutorial


XPath

XPath is used to navigate through elements and attributes in an XML document.

XPath is a major element in W3C's XSLT standard - and XQuery and XPointer are both built on XPath expressions.

Start learning XPath now!


XPath Reference

At W3Schools you will find a complete reference of all the built-in functions in XPath 2.0, XQuery 1.0 and XSLT 2.0.

XPath Functions


Table of Contents

XPath Introduction
This chapter explains what XPath is.

XPath Nodes
This chapter defines the different types of nodes in XPath and the relationship of nodes.

XPath Syntax
This chapter explains the XPath syntax.

XPath Axes
This chapter explains the 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 chapter contains a summary on what you have learned in this tutorial and a recommendation on what subject you should study next.




SHARE THIS PAGE

Color Picker

colorpicker