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.

The Altova MissionKit is an integrated suite of tools ideal for:
- XML development
- Web & Web services development
- Data mapping & integration
- Rendering & publishing XML & database data
- XBRL validation, taxonomy editing, transformation & rendering
The MissionKit for XML Developers includes XMLSpy® - the industry-leading XML editor; MapForce® - a
graphical data mapping, conversion, and integration tool; StyleVision® - a visual XSLT stylesheet designer;
DiffDog® - an XML-aware diff/merge tool; and 2 additional tools.
Try all 6 products free for 30 days!
Download a fully-functional free trial
|
|
|
|