Related Tools
Online free XPath testing tool, input XML data or open XML file, and use the filled XPath expression to traverse XML data. This tool supports XML namespaces and downloading query results as files.
- XPath : Enter the XPath query expression. For XML data types, the namespace is supported in the XPath expression.
- Content : Select whether the input data is in XML format or HTML format.
- Out-Mode : After selecting the specified node using XPath, choose whether to output the entire element or the text in the element.
- Out-Format : When multiple nodes are selected in XPath, select whether the data of multiple nodes is organized according to the newline separation method or JSON data format.
-
Namespace : XML data type is supported, but HTML data type is not supported. Three modes are
supported: Automatic Detection, Manual Input and Not Used.
Automatic Detection : Automatically detect namespace information in input data. This method is recommended. When identifying errors, you can manually enter the namespace information.
Manual Input : Enter namespace information manually. The format is xmlns[:prefix]="namespace_uri". If there are multiple namespaces, one record per line. The namespace that omits prefix is the default namespace. If the input XML data uses the default namespace, you need to use the form of any_prefix:element. Where any_prefix is any prefix name.Default namespace data cannot be queried without writing a prefix.
Not Used : The query does not use a namespace. - Open : Open a local XML or HTML file. The supported file encoding is UTF-8.