The XSLT debugger enables you to detect and diagnose errors in
XSL transformations.
The debugger contains views and functionality specific to debugging XSLT.
With these views, you can monitor the context of the stack frame and the results
of an XSL transformation. Functionality that is geared specifically to debugging
XSL transformations includes:
- Creating watches for XPath expressions.
- Viewing XSL transformation output in a text or browser view.
- A tiled editor, with which you can view an XSL stylesheet and XML input,
side-by-side.
- The ability to debug Java™ extensions called from XSL transformations
and XSL transformations called from Java.
Note: Before you can debug XSL transformations, you must enable the XML Development
capability. To enable this capability, select Window > Preferences from
the workbench menu bar to open the Preferences dialog
box. In this dialog box, choose General > Capabilities and,
in the resulting Capabilities page, ensure that the XML Development capability
is selected.
For an overview of XSL transformation debug functionality, see the Debug
an XSL transformation Watch and Learn tutorial.
This tutorial is in movie format and it provides an excellent starting point
for XSL transformation debugging basics.