Contents

Debugging XSLT scripts

KDbg allows to debug XSLT (XML stylesheet translation) scripts using xsldbg, which must be available on your system.

Specifying the script and an XML file to transform

XSLT mode is automatically entered if a "program" is loaded that has a file name that ends in .xsl. In addition, the command line option -l XSL can be specified to explicitly choose this mode.

To debug an XSLT script it is necessary to specify an XML data file that the script can transform. This is done in the Program Arguments dialog, where the XML file is specified in the Program Arguments edit box.