![]() |
![]() | ![]() | ![]() | XSLT DebuggerAltova XMLSpy® 2008 includes a powerful XSLT debugger for troubleshooting and perfecting XSLT 1.0 and 2.0 stylesheets. Testing and perfecting XSLT stylesheets can be a complicated, time-consuming process. With the XMLSpy® 2008 XSLT debugger, you can step through and debug even the most intricate stylesheets quickly and easily. You can even debug stylesheets that contain program code in Java, C#, JavaScript, or VBScript.
XSLT Debugger
The Altova XMLSpy® 2008 XSLT debugger includes a three-panel interface that displays the XML document, the associated XSLT 1.0 or 2.0 stylesheet, and the output document as it is being built in real-time. Below the three panels, Context and Callstack information windows include multiple tabs that supply all the necessary debugging information.
Depending on the complexity of your XSLT stylesheet and your personal preferences, he XSLT debugger allows you to debug XML and XSLT files in Advanced Text View or Grid View, and view the dynamic output in Advanced Text, Grid, and Browser View, switching between the different views as required. XSLT DebuggerYou can start the XSLT debugger at any time when working with an XML or XSLT 1.0/2.0 file. If a permanent XML / XSLT file designation has not been specified, XMLSpy® 2008 will prompt you to select the associated file.
Breakpoints and TracepointsWhen debugging complex XSLT 1.0 or 2.0 stylesheets, it is useful to be able to understand exactly what output is produced by each instruction. In the XSLT debugger, you can define breakpoints in the XML and XSLT files, and tracepoints in the XSLT document.
In contrast to breakpoints, tracepoints do not halt the XSLT debugger. When a tracepoint is hit during an XSLT debugging session, the instruction is executed, and information is written to the Trace window. Once the transformation is complete, the trace window displays the list of tracepoints as well as the output produced by each. This allows you to view exactly how each XSLT instruction is executed.
You can also set an XPath for a tracepoint. In this case, the result of the XPath statement is displayed in the trace window.
The XSLT Breakpoints / Tracepoints dialog also allows you to edit and remove breakpoints and tracepoints.
Breakpoints and tracepoints give you two different ways to see exactly what output is being produced by each instruction in your XSLT file, allowing you to troubleshoot and edit your files efficiently. Perfecting XSLT Stylesheets
As you’re debugging a stylesheet, the XSLT debugger presents you with several useful pieces of information. To supplement the information shown in the output pane and Trace window, the debugging information windows display additional important details.
Tabs in the Call Stack info window include:
As you are debugging an XSLT 1.0 or 2.0 stylesheet, you can view and change variables in the XML and XSLT files using the intelligent editing features of XMLSpy® 2008, which include syntax coloring, context-sensitive entry helpers, tag code completion, automatic cursor positioning, and more. The XSLT debugger uses the award-winning XMLSpy XSLT processor.
Experience the power of the XSLT debugger for perfecting your XSLT stylesheets - Download a free 30-day trial of XMLSpy. | ![]() |
![]() | ![]() | |||||||||||||||||||||||||||||||||||||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
