cd .. (all tools)

XPath tester

Evaluate XPath, namespaces included.

// Runs in your browser. Nothing you type here is sent anywhere.

Examples

Result

Namespaces

PrefixNamespace
payurn:example:payments
durn:example:orders(made up for xmlns="…")

XPath has no default namespace. Elements under xmlns="…" are found with the made-up prefix: //d:name.