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 CSV to XML

Convert CSV to XML with a handy CSV to XML document wizard that helps you extract data from your CSV files with ease.

XML Editing Views

Stylus Studio includes three synchronized XML editing views: Text View, Tree View, and Grid View, allowing you to work with and edit XML documents in whatever way suits you best.

Apache AXIS

Develop and test Web service applications using Apache AXIS and Stylus Studio.

XML Schema-Aware Queries and Stylesheets

Learn how to simplify XSLT and XQuery applications using Schema Aware XSLT and XQuery processing technologies.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member