Steps for Trying the Sample Queries

To try the queries in this section, or any other queries you want to run on the bookstore.xml document, follow these instructions:

1. In Stylus Studio, open bookstore.xml. You can find it in the examples directory of your installation directory.
2. Open the XPath Query Editor if it is not already displayed. See Displaying the XPath Query Editor if you need help with this step.
3. Type a query. For example: /bookstore/book/author.
4. Press F5, or click Execute Query ( ) .

Stylus Studio displays the results in the Query Output window.

Free Stylus Studio XML Training:
W3C Member