Displaying Query Results

How Stylus Studio displays the result of a query depends on the type of result.

  • If the XPath processor returns a Boolean, numeric, or string value, Stylus Studio displays the value in the Query Output window.
  • If the XPath processor returns a collection of nodes, Stylus Studio displays the nodes in a DOM tree structure in the Query Output window to the right of the main XML editor pane. The number of Hits is the number of top-level nodes the query returned. You can expand and collapse the elements as needed. If you click a node in the result, then in the XML document window Stylus Studio moves the focus to the source node for the result node you clicked.

A tab at the bottom of the Query Output window displays the number that Stylus Studio assigned to your query. After you run multiple queries on the same document, there is a tab for each query that you run. This allows you to view the results of the different queries as needed.

DOM - The Document Object Model

The Document Object Model (DOM) is a cross-platform interface for parsing and manipulating XML. Learn how Stylus Studio supports DOM in our XML Pipeline and other XML parsing tools.

Using Stylus Studio with RenderX XEP

RenderX XEP is a production-quality engine that converts XSL:FO into PDF or PostScript files. You can use RenderX XEP in place of the Apache FOP engine to render PDF files from Stylus Studio.

Simple API for XML (SAX)

SAX stands for Simple API for XML - SAX is an XML standard used everywhere in Stylus Studio, for parsing and building representations of XML documents.

XML Schema Designer

The XML Schema Designer is a tool for accelerating advanced XML Schema development through an intuitive visual interface for modeling any XML data structures.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member