XPath Tutorial
 |
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!
|
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
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.

At W3Schools XMLSpy is our favorite XML editor.
XMLSpy includes powerful XPath auto-completion capabilities and a unique
XPath analyzer to help you compose and text XPath expressions. Features include:
- Support for XPath 1.0 and 2.0
- Intelligent XPath auto-completion
- XPath Analyzer Window for testing and evaluating XPath expressions
- Evaluation of XPaths across single or multiple files
- XPath builder for automatically generating XPath expressions
Download a free trial to learn more.
Start Creating a stunning, Flash website. It's easy and free!
Wix.com offers you a simple, powerful, drag & drop editing platform to create stunning Flash websites, layouts, and more.
With added e-commerce features such as search engine visibility and professional tools, Wix is the ultimate solution for creating a spectacular site.
 |
W3Schools' Online Certification Program
The perfect solution for professionals who need to balance work, family, and career building.
More than 4500 certificates already issued!
|
The HTML Certificate documents your knowledge of HTML, XHTML, and CSS.
The JavaScript Certificate documents your knowledge of JavaScript and HTML DOM.
The XML Certificate documents your knowledge of XML, XML DOM and XSLT.
The ASP Certificate documents your knowledge of ASP, SQL, and ADO.
The PHP Certificate documents your knowledge of PHP and SQL (MySQL).
|