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 Click on the "mailexport2html.xsl"
tab at the top of the Editor pane. Below the Editor pane, click
Choose File... and select "mailexport.xml". Click Open.
Komodo Tip The XML input file
does not have to be assigned in the editor; it can also be specified in the
Debugging
Options dialog box. However, if you assign the input file in the
editor, the editor divides horizontally so that both files can be
displayed, and you can set breakpoints in both files. |
- Run the debugger From the menu, select Debug|Start
(or <F5>). In the
Debugging
Options dialog box, click OK to accept the defaults.
- View the Output Tab Notice the messages in the bottom left
corner of the Komodo screen; these inform you of the status of the debugger.
The results of the transformation are displayed on the 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
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 HTML Category, and the HTML 4.01 Template.
Click OK.
- 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.
|