Feature Showcase: Debug an XSLT Program (Komodo IDE only)

When debugging XSLT programs in Komodo, view the execution location of the XSLT file and the XML input file at the same time.

Before you start: Open the xsltsample.xsl_ file contained in the sample project. The key bindings used in this showcase are for Windows/Linux users. To find the equivalent key bindings for OS X, click Help|Key Bindings.

../img/tourlet_debug_xslt_step.gifOn the Debug menu, click Step In.

../img/tourlet_debug_xslt_birds.gifIn the Debugging Options dialog box, enter birds.xml (also in the Komodo Sample Project) as the input file. Click OK.

../img/tourlet_debug_xslt_split.gifKomodo displays split editor pane with yellow arrows showing point of execution in both the XML and XSLT files. Step through the code using the Step In button ('F11'), or set breakpoints and use the Go/Continue button ('F5').

../img/tourlet_debug_xslt_htmlout.gifWhen debugging is complete the results of the transformation appear in the Output tab. Select the HTML tab to preview the rendered results.