Working with XPath Queries

When you display the XPath Query Editor, an empty query is created for you. The query name, Query1, is displayed on a tab in the XPath Query Editor window.You can start typing the XPath expression on the first line in the editing pane; use the Enter key to move the cursor to a new line.

You can create up to sixty-four queries for a single document; each is given the name Queryn, where n is a unique number incremented by one. You cannot name queries.

Queries are saved with the project. Changes you make - either to query expressions, or creating and deleting queries - are saved when you save the project, and not the document.

Executing the Query

Stylus Studio executes XPath query expressions based on the cursor's current position in the document, regardless of which editor is currently active.

To execute the query:

Stylus Studio processes the query and displays the result in the results pane.

Alternatives:

or

Creating a New Query

To create a new query:

A new tab appears in the XPath Query Editor.

Alternative:

Deleting a Query

To delete a query:

The tab associated with the query is removed from the XPath Query Editor. The query itself is deleted when you save the project.

Alternative:

Java Code Generation

The Stylus Studio Java Codce Generator lets you generate deployable Java code for XQuery and XSLT at the push of a button!

XSLT Profiler

Stylus Studio's XSL and XSLT profiler allows you to create detailed XSLT performance metrics profiles of any stylesheet in a processor-independent way.

XML to PDF

Convert XML to PDF using Stylus Studio's XML publishing tools - the easiest way to design beautiful document layouts for use in XSL:FO based multi-channel publishing and single source publishing applications.

DTD Editor

The Stylus Studio DTD Editor lets you visually develop Document Type Definitions (DTD) to structure XML documents. The DTD Editor also includes tools and utilites for validating XML against DTD's, converting DTD's, and generating DTD's.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member