The XPath Evaluator tool can be used to evaluate XPath expressions against a source XML document to verify if the expression matches any nodes.
Important
Currently, this tool only supports evaluating XPath 1.0 expressions.
To use this tool, copy and paste the input XML against which the XPath should be evaluated in the ‘XML’ or ‘Raw’ tabs. The ‘Tree’ tab displays the input XML in tree form which can be easier to visualize and / or make minor edits (like adding a text node or attribute). The figure below shows the XML view with some input XML and an XPath expression to evaluate the value of an element:
Adding Namespaces
When the input XML is pasted in the editor, any namespace declarations specified in the document, will be automatically added to the Namespaces table as shown below. Additional user-defined namespace prefix-uri mappings can also be defined or removed.
Click on the button to evaluate the XPath expression. The result of the evaluation is displayed in the XPath Result table at the bottom of the XML view


Contents
Search
