Ending Processing During a Debug Session

To end processing during a debug session:
1. In the Preview window, click any line of text.

In the XSLT Source tab, Stylus Studio displays the blue back-mapping triangle that indicates the line in the stylesheet that generated the output line you clicked.

2. In the lower right corner of the XSLT editor, click the Cancel button to end processing.

Figure 45. Cancelling Processing During Debugging

Stylus Studio displays a notification message that indicates that processing has been stopped and, optionally, allows you to jump to the location where processing ended.

Figure 46. You Can Jump to Where XSLT Processing Ended

3. Click Yes to jump to the location where processing ended.

The cursor appears on line 146 of the XSLT Source tab, which contains

<xsl:apply-templates select="director"/>.
4. In the XSLT editor tool bar, click Open XML from Scenario .

Stylus Studio displays the XML source document that the stylesheet operates on. As you can see, the first result element is the document element.

Figure 47. Viewing the XML Source for an XSLT Transformation

This section demonstrated some of the major features of Stylus Studio's debug tools, including specialized windows for presenting call stack and variable information. For complete information on using the XSLT debugger, see Chapter 6Debugging Stylesheets.

W3C XML Specifications

Learn about the official W3C XML specifications for XML, XSLT, XQuery, XPath, DOM, XML Namespaces, XInclude, XML Base, XPointer, WSDL and more.

XSLT Editor

Stylus Studio's XSLT Editor is the most advanced XSLT development tool on the market. This powerful tool provides backmapping, XSLT transformation preview, debugging, peformance profiling, and more!

FLWOR - An Introduction to the XQuery FLWOR Expression

An XQuery FLWOR Tutorial, covering an introduction to the main constructs of the XQuery FLWOR expression, including: For, Let, Where, Order By, and Return. Written by the W3C's Dr. Michael Kay.

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