XPath Tester
Test XPath expressions against XML documents in real-time. See matching nodes instantly with their paths. Supports XPath 1.0.
No matches found. Try a different XPath expression.
XPath Quick Reference
//element — Select all matching elements/@attr — Select attributes[@attr='val'] — Filter by attribute value[position] — Select by position (1-based)/text() — Select text contentcount() — Count matching nodes.. — Parent node* — Any elementAll evaluation happens locally in your browser using the DOM XPath API.