XPath Expression Demo Application

This demonstration application allows you to experiment with XPath language expressions.

XPath is a query language used to address parts of an XML document. An simple example XML document as well as several XPath expressions are provided below to get you started.

To test your own expressions, type them into the text field labeled “XPath Expression” and then click on the “Evaluate XPath Expression” button. You can also provide your own custom XML document instead of using the default one. To do so, simply paste it into the larger text area labeled “XML Document”.

XPath Expression


XML Document



Example XPath Expressions: