Xml Query Tool

  1. XPath Tester / Evaluator Allows you to test your XPath expressions/queries against a XML file. This tool runs better than other existing XPath online tools as it supports most of the XPath functions (string , number , name , string-length etc.) and does not limit you to working against nodes.
  2. The XPath Expression Builder tool allows you to construct and view the results of your query as you type. It attaches itself to the active XML Editor, so any XML panel in the environment can be queried. The XPath Query Editor comes with Intellisense, which is intelligently taken from the content of the current XML document.
  3. Oxygen XML Developer is the industry-leading XML development tool that includes everything you need for designing XML schemas and transformation pipelines. It focuses on XML source editing, schema design, and the XSLT and XQuery support is enhanced with powerful debuggers and performance profilers.
  4. As XML documents provide structured data storage, many people see a need for database-style query languages which provide complex ways to access the data. Such languages are used to get data, as small as the text of a single tag, then group results to create reports or compute answers to questions such as 'how many widgets did we sell in March?'

This online tool allows you to test your XPath expressions / queries against an XML string or file. You can easily debug your XPath expressions!

This utility also includes an XPath generator that helps you easily create XPath expressions. Double click (In 'Your XML string' editor) the element, attribute, or text you want to generate the associated xpath expression.

XmlTools.persistXPathQuery: Remember the last XPath query used. XmlTools.removeCommentsOnMinify: Remove XML comments during minification. XmlTools.splitAttributesOnFormat: Put each attribute on a new line when formatting XML. Overrides xmlTools.

You can see example XPath expression to help you to find your Xpath query.

You can see the user guide to help you to use this XPath tester.


User guide

In order to test your XPath expression, you must:

  • Fill 'Your XPath expression' editor
  • Fill 'Your XML string' editor
The result will be automatically generated and available in the 'Results' editor.

To fill 'Your XML string' editor, you can:

  • Copy and paste your XML string
  • Drag and drop your XML file
  • Click on 'Browse XML file' button in order to load your XML file
  • Directly type your XML string in the editor

To generate an XPath expression:
Just double click on the element, attribute, or text you want to generate the Xpath expression.

This tool does not support the XPath functions (number(), string(), string-length() ...).


About XPath

XML Path Language (XPath) is a query language for selecting nodes from a XML data. Xpath can be used to query XML databases.

It is based on a tree representation of the XML, it allows to navigate through elements in an XML document.

XPath uses path expressions to select nodes in an XML document.

XPath expressions can be used in many programming languages (JavaScript, Java, PHP, Python, C, ...).

QueryQuery

XPath is a W3C recommendation.

XPath Examples

Select the tools element/tools
Select all tool elements which are direct children of the tools element/tools/tool
Select all tool elements without taking into account the tree//tool
Select the second tool element//tool[position() = 2]
Select the value attribute of all tool elements without taking into account the tree//tool/@value
Select the tool element which has the id attribute value of 1//tool[@id=1]

This tool uses document.evaluate function to test your XPath query.


The XPath Expression Builder tool allows you to construct and view the results of your query as you type.

It attaches itself to the active XML Editor, so any XML panel in the environment can be queried.

The XPath Query Editor comes with Intellisense, which is intelligently taken from the content of the current XML document. The results of the XPath expression can then be seen in the active XML Editor.

Features

  • XPath Intellisense (based on XML content)
  • View results within the editor
  • Attach to any XML document
  • Build XPath expression directly from the element
  • Changes to XPath or XML reflected in real time
  • Support for namespaces
  • Code Preview for C#, VB.Net, Java, VB & XSLT
  • View overlapping result sets
  • Microsoft Visual Studio Extensions
Tool

Usage

The XPath expression can be evaluated against any XML Editor. Nodes matched by the expression are highlighted, and a tree of nodes is shown in the expression window. It is also possible to create an XPath expression from any node within an XML Document.

Namespaces used within the current XML Editor are automatically aliased for use in the XPath expression, but these can be changed added to or removed.

A code preview window shows how to execute the XPath expression in a variety of languages.

Visual Studio Extension

The XPath viewer also integrates into Microsoft Visual Studio, allowing you to run XPath queries in your standard application development environment.

XSD Tutorials

Xml Query Tools

Video Tutorials

Liquid Studio Overview

This video overview shows the functionality of Liquid Studio including XML Schema Editing, XML Editing and XPath tools.

XPath Expression Builder

This video tutorial shows how to create complex XPath expressions for highlighting specific sections within XML documents.

XML Editor

Xml Query Tool Software

This video tutorial shows the functionality of the XML Editor.

Xml query tool download

Xml Query Tool Code

Try all the features of Liquid Studio Download Free Trial Now