Generating Output
To start, we'll 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 in the editor. Below the Editor pane, click "Choose File..." and select
"mailexport.xml".
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. However, if you assign the input file in the
editor, the editor will be horizontally split 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, 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. When the
program has finished, the message "Process terminated with exit code 0" is
displayed.
- View the Output as HTML Click on the icon to the right of
the Output Pane to preview the HTML output. To return the display to the HTML code,
click the icon again.
- Save the Output In the Komodo editor pane, click on the
"mailexport.html" tab. In the Output pane, position the cursor after the last
HTML tag (</html>), then press Shift + Ctrl + Home to select all the text.
Press Ctrl + C to copy the text, then highlight all the text in the "mailexport.html"
editor pane, and press Ctrl + V to paste.
|