Skip to main content

Search 412 pages — tools, formats, elements, namespaces, directory, comparisons, XPath, datatypes, glossary, parse errors, schema errors, use cases, guides, blog and product.

Reference

XPath 1.0

40 entries covering the functions, axes and operators libxml2 implements — the engine behind PHP's DOM, Python's lxml and Ruby's Nokogiri.

Every example here was run, not written

The result printed on each page is what the evaluator actually returned, asserted on every test run. That matters more than it sounds: an XPath reference whose examples are subtly wrong costs an hour before you stop believing it. Run your own.

Functions · 21

Axes · 9

Operators · 10

Get started

Bring order to the XML your team can't afford to ignore.

Create a free account and get a private workspace to search, validate, diff, and monitor your XML feeds, sitemaps, schemas, and vendor integrations.