online toolsby kmmr.jp Explore all 36 tools
online tools

XML / XPath

XPath Tester

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

Input set

Keep XML, the XPath expression, and namespace lines separate.

Result area

No execution results available

XPath 2.0+ execution is not enabled yet

You can load examples, but XPath results are not calculated.

XPath examples

Choose an example to fill in its XML and XPath expression.

XML used in the examples

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.

If you found this tool helpful, we’d love for you to share it on social media!


We display ads to support the operation of this site. We understand that it may be inconvenient, but we appreciate your understanding.