Source (XML / HTML)
XPath & Namespaces
Namespace tip: for default namespaces in XML, define a custom prefix above (e.g. d=https://example.com/ns) and use it in XPath like //d:item. You can also use local-name() when needed.
Ready.
Matched Results
0 matchesFAQ
Does this tool support XML and HTML?
Yes. Choose parse mode and run your XPath expression.
Is my source data private?
Yes. Evaluation happens entirely in your browser, client-side only.
Why does my XPath fail with namespaces?
XPath needs prefixes mapped to namespace URIs. Add mappings in the namespace box and use those prefixes in your query.