Report DebuggerYou can develop your own custom report template with XStudio. A custom report consists in an XSLT file. For more detailed about how the whole report generation works and how to create your own XSLT, please check the How to develop a paper report chapter.
To make the task easier, XStudio comes with a tool called XReportDebugger that will help you debugging your custom report.
GoalXReportDebugger is aimed at being use to debug your custom XSLT files.
Hence, rather than going through a complete report generation from XStudio, you can simply provide in the tool a source XML, your XSLT and test the transformation.
If there is something wrong in your XSLT, some detailed errors are reported, you can modify your XSLT and try again.
This is much faster than going through a real paper report generation from XStudio.
UsageXReportDebugger is a graphical application so you just need to start it normally.
It comes with the XStudio Fat client for your OS in the
Left paneIn the left pane you need to load an example source XML. This is the XML file that is generated first by XStudio.
To get a source XML, just start XStudio and generate a report similar to the one you are developing and ensure to select (XML) Raw data in the Report type combo box.
You can save this XML file on any location.
Then, from the XReportDebugger GUI, load this XML in the left pane once for all.
Right paneFirst ensure the XSLT file you're developing is located in the
Then, load it on the right pane.
Report generationOnce the XML and the XSLT are loaded, just click on the Generate Report button and the transform will be performed.
If the transform is successful, the complete log is provided (and colored in green) and the report is automatically opened with the default program (depending its extension).
Conversely, if some problems are detected, the log including the error(s) details are provided (and colored in red) in the message box.
Correct your XSLT and retry!