XPath Tester
Run XPath expressions against XML and inspect the matched nodes.
About the XPath Tester
Evaluate an XPath expression against an XML document and see each match with its node type (element, attribute, text). Supports namespaces and common XPath functions. Runs in your browser.
Frequently asked questions
Which XPath version is used?
The tester uses the browser XPath engine, which implements XPath 1.0 — the version every mainstream engine supports.
How are namespaces handled?
Declare xmlns prefixes on the document root as usual and use the same prefixes in your expression.