W3Schools.com

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.



WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Best Hosting Coupons
UK Reseller Hosting
Cloud Hosting
Top Web Hosting
$7.95/mo SEO Hosting
Premium Website Design
WEB BUILDING
Download XML Editor
FREE Website BUILDER
Free Website Templates Free CSS Templates
Make Your Own Website
W3SCHOOLS EXAMS
Get Certified in:
HTML, CSS, JavaScript, XML, PHP, and ASP
W3SCHOOLS BOOKS
New Books:
HTML, CSS
JavaScript, and Ajax
STATISTICS
Browser Statistics
Browser OS
Browser Display
SHARE THIS PAGE