<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="Author" content="Johannes Sixt"> <title>KDbg - User's Manual - Debugging XSLT scripts</title> </head> <body text="#000000" bgcolor="#FFFFFF"> <p><a href="index.html">Contents</a></p> <h1>Debugging XSLT scripts</h1> <p>KDbg allows to debug XSLT (XML stylesheet translation) scripts using <a href="http://xsldbg.sourceforge.net/">xsldbg</a>, which must be available on your system.</p> <h2>Specifying the script and an XML file to transform</h2> <p>XSLT mode is automatically entered if a "program" is loaded that has a file name that ends in <tt>.xsl</tt>. In addition, the <A href="invocation.html">command line option</A> <tt>-l XSL</tt> can be specified to explicitly choose this mode.</p> <p>To debug an XSLT script it is necessary to specify an XML data file that the script can transform. This is done in the <a href="argspwdenv.html">Program Arguments</a> dialog, where the XML file is specified in the <em>Program Arguments</em> edit box.</p> </body> </html>