Keith Isdale

    k_isdale@tpg.com.au

# Configuring a &kxsldbg; Session

You start configuration by clicking Debug Configure in the Menubar.

The Configuration Dialog
The Configuration Dialog

The Configuration Dialog.

## Getting Started

To be able to run a stylesheet you need to specify the:

- &XSL; source

- &XML; data

- Output file

By using the ... button to choose file desired. Be sure to check that the Output file is not the same as the other files.

To follow along with the examples, select the following files in the example folder:

- &XSL; source: xslddoc.xsl

- &XML; data: xsldoc.xml

- Output file: dump.txt

## Working With Options

You can select zero or more options from the Options dialog. Each option has a tooltip with a hint on what effect it has.

## Working With Parameters

You can add zero or more parameters via the "Libxslt parameters" section of dialog. This allows you to provide parameter values to the stylesheet.

For example if you had a stylesheet called `addparam.xsl` you could add a parameter called myparam with a value of Hello World!. To update the value of an existing parameter just add it again with the new value desired. To view `addparam.xsl` use the &RMB; and choose a text editor to view the file.

## Apply Changes

For the changes you have made to take effect press the Apply button. To ignore any changes press the Cancel button.

You can close the dialog using the X provided at the top right of the window. If you need to change the configuration just re-open the configuration dialog as shown before.