⚡ XPath Tester Pro
Next-generation XPath 2.0/3.0 evaluator with stunning UI. Test expressions against XML with full namespace support, functions, and real-time results.
File encoding:
XML Document
Option 1: Copy-paste your XML here
No file chosen
XPath Expression
Include 'XML Item Type' in output:
fn: functions
math: math
Results
Ready to evaluate XPath expression...
XPath Examples
Click any example to load it into the XPath input
Sample XML with namespaces:
<root xmlns:foo="http://www.foo.org/" xmlns:bar="http://www.bar.org">
<actors>
<actor id="1">Christian Bale</actor>
<actor id="2">Liam Neeson</actor>
<actor id="3">Michael Caine</actor>
</actors>
<foo:singers>
<foo:singer id="4">Tom Waits</foo:singer>
<foo:singer id="5">B.B. King</foo:singer>
<foo:singer id="6">Ray Charles</foo:singer>
</foo:singers>
</root>