Working with Query Results

Query results are shown in the XPath Query Editor in the results pane as a number of hits and include the type of XML tag and value of each hit, as shown here.

Figure 300. XPath Result Pane

When you click on a result node, Stylus Studio's back-mapping feature highlights the line in the XML document that supplied the value for the result node you selected.

Opening Query Results as a New Document

After you have executed a query, you can optionally choose to display the query result in a new XML document. If the result contains only elements, Stylus Studio creates a root element (named < xqr:xpath-query-result>) to ensure that the document is well-formed.

To open a query result as an XML document:

Execute the query, and then

  • Click the Open result in a new XML document button on the XPath Query Editor tool bar ( ).

Alternative:

  • Right-click the query pane in the XPath Query Editor and select Open result in a new XML document from the shortcut menu.

Convert to XML

Convert to XML is a powerful data integration tool enabling you to convert any legacy data format (EDI, EDIFACT, x12, Binary, HTML, TSV, CSV, etc.) to XML using an intuitive, visual user interface.

XML Videos

Stylus Studio online XML video demonstrations illustrate how easy it is to learn advanced XML editing techniques. Now playing: Java Code Generation, Convert to XML, Grid View, and many other informative video demonstrations.

Property Management & Real Estate

Property Management & Real Estate

Map between EDIFACT and X12

Anything can be mapped to anything: EDIFACT to X12 or vice-versa, either to XML, and any of those to flat files or other formats. Both the XSLT and XQuery mappers can help bridge complex formats with ease.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member