• ARTICLE
  • STRING
  • CONVERTER
  • ENCRYPT
  • NETWORK
  • MORE
    CHART
    MATH
    COORDINATE
    IMAGE
    FILE
  • ARTICLE
    STRING
    CONVERTER
    ENCRYPT
    NETWORK
    MORE
    CHART
    MATH
    COORDINATE
    IMAGE
    FILE
logo Online Tools
0 Comments Favorite Copy Link Share

XPath Tester Online

TAG xmlhtml

XPath Tester Online-summary

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 Tester Online-instructions
  1. XPath : Enter the XPath query expression. For XML data types, the namespace is supported in the XPath expression.
  2. Content : Select whether the input data is in XML format or HTML format.
  3. Out-Mode : After selecting the specified node using XPath, choose whether to output the entire element or the text in the element.
  4. 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.
  5. 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.
  6. Open : Open a local XML or HTML file. The supported file encoding is UTF-8.