Setting Up Stylus Studio to Debug Sample Files

To set up Stylus Studio to debug sample files:
1. Open the videosDebug.xsl stylesheet, located in the examples\VideoCenter directory where Stylus Studio was installed.

Alternative: If the Stylus Studio Project window is open, you can access this stylesheet from the examples project.

Stylus Studio displays the videosDebug.xsl stylesheet in the XSLT editor.

2. In the XSLT editor tool bar, click Preview Result to run the predefined scenario DebugVideosScenario. The source XML document is videos.xml.

Stylus Studio applies the stylesheet and displays the results (a finished HTML page that displays information about a single video) in the Preview window.

Figure 52. Preview of videosDebug.xsl

 
Free Stylus Studio XML Training:
W3C Member