About This Tool

What does this tool do?

An interactive XPath query evaluation tool. Test XPath expressions (e.g. `//book[price > 30]/title`, `//user/@id`) against complex XML documents with real-time match highlighting, node tree extraction, and result count metrics.

When should you use it?

Use this tool when developing web scrapers, extracting data from XML feeds, writing automated XML test assertions, or debugging complex XPath selectors.

Key Capabilities & Features

Execute XPath 1.0 and XPath 2.0 queries against XML documents with instant node evaluation
Support for XPath axes: child, descendant, parent, following-sibling, and ancestor
XPath function evaluation including text(), count(), contains(), substring(), and normalize-space()
Interactive XML tree viewer allowing point-and-click to generate XPath expressions for any element
Display matched XML nodes, attribute values, or extracted text fragments with count metrics