Skip to main content
XMLDir

Search 169 pages — formats, namespaces, parser messages, schema errors and tools.

Reference

XPath 1.0

34 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 · 7

Operators · 6

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.