Generating Output
To start, you will simply generate the output by running the program through the
debugger without setting any breakpoints.
- Assign the XML input file From the menu, select
Debug|Start (or <F5>).In the
Debugging
Options dialog box, specify "mailexport.xml" as the XML input file. Use
the Browse button to navigate to the directory containing
the XSLT tutorial project files.
- Run the debugger Click OK to run the
debugger.
- View the Debug Output Notice the messages displayed on the
status bar in the bottom left corner of the screen; these inform you of the
status of the debugger. The results of the transformation are displayed on
the Debug Output tab.
- View the Output as HTML Click the "Toggle HTML Preview"
button at the right of the Output Pane to preview the HTML output. Click
the "Toggle HTML Preview" button again to return to the HTML code.
- Create New File To create a new HTML file that contains
the HTML code in the Output Pane, select File|New|New File.
In the New File dialog box, select the Web Category, and the HTML 4.01 Template.
Click Open.
- Save the Output Delete the contents of the new HTML file tab in the Editor Pane, then select the
contents of the Output Pane (Ctrl+A). Copy the contents to the new HTML file tab in the Editor Pane (Ctrl+C, Ctrl+V).
Select File|Save As to save the file with a unique name.
|