Setting Up Stylus Studio to Debug Sample Files

To set up Stylus Studio to debug sample files:
1. In the Stylus Studio tool bar, select File > Open.
2. In the Open dialog box that Stylus Studio displays, navigate to the examples\VideoCenter directory in your Stylus Studio installation directory and open the videosDebug.xsl stylesheet.

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.

3. 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 53. Preview of videosDebug.xsl

 
Free Stylus Studio XML Training: