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.

XML Generator

Create sample XML instance documents from any XML Schema using the XML Generator. The generated XML document is always valid, well-formed XML!

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.

EDI Mapping

To transform EDI to XML, whether for X12 or EDIFACT, Stylus Studio provides the design tools and run-time support. EDIFACT, X12 and custom EDI formats can be translated, validated and mapped using the EDI Mapping adapter technology described here.

XML Spell Checker

The Stylus Studio Spell Checker is integrated with our intuitive XML Text Editor. It highlights typographical errors as you type and lets you easily search, replace, and build custom dictionaries.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member