Well-formed XML
Simple invoice XML for formatting, validation, and scalar XPath samples.
XML / XPath
Explore examples of XML, XPath expressions and namespace mappings. XPath execution is not available yet.
XPath input
See expressions for selecting attributes, text and numbers.
Namespace support
See how to map prefixes to namespace URIs.
Current status
You can load and edit examples. Expressions cannot be run yet.
XPath execution is not available yet
Choose a sample to fill in the XML, XPath expression and namespaces. You can edit these inputs, but expressions are not evaluated.
Need to clean up the XML first?
If formatting or validation comes first, open XML Formatter / Validator
XPath 2.0+ execution is not enabled yet
You can load examples, but XPath results are not calculated.
Choose an example to fill in its XML and XPath expression.
The examples use these four types of XML.
Well-formed XML
Simple invoice XML for formatting, validation, and scalar XPath samples.
Broken XML
Mismatched closing tag to verify parse errors and location hints.
Default namespace
Feed XML that needs a prefix mapping before XPath can match elements.
Multiple prefixes
SOAP-style payload with several namespaces for prefix-based XPath tests.