Download XML Editor 11.2 User Manual
Transcript
Debugging XSLT stylesheets and XQuery documents being executed in the current source context. However, this can become difficult on complex stylesheets or XQuery documents that generates a large output. Output to source mapping is a powerful feature that makes this output to source mapping persistent that is you can click on the text from the Output document view and the editor will select the XML source context and the XSL/XQuery element that generated the text. Figure 12.15. Output to Source Mapping 1. If you are in the Editor perspective switch to the XSLT or XQuery Debugger perspective with one of the actions (here explained for XSLT): • Perspective → Debugger or the toolbar button Debugger • Document → XML Document → Debug scenario or the toolbar button Debug scenario . This action initializes the Debugger perspective with the parameters of the transformation scenario. Any modification applied to the scenario parameters (the transformer engine, the XSLT parameters, the transformer extensions, etc) will be saved back in the scenario when exiting from the Debugger perspective. 2. Select the source XML document in the XML source selector of the Control toolbar. In case of XQuery debugging without an implicit source choose the NONE value. 3. Select the XSL/XQuery document in the XSL/XQuery selector of the Control toolbar 4. Select the XSLT/XQuery engine in the XSLT/XQuery engine selector of the Control toolbar 5. Set XSLT/XQuery parameters from the button available on the Control toolbar 6. Apply the stylesheet or XQuery transformation using the button 7. Inspect the mapping by clicking a section of the output from the Text view tab or from the XHTML view tab of the Output document view to have the XSL/XQuery element and the source context highlighted. 471 Run to end available on the Control toolbar:
Related documents
XML Editor 10.3 User Manual for Eclipse
Oxygen XML Author 12.2
XML Editor 10.3 User Manual
XML Author 10.3 User Manual
XML Author 11.2 User Manual for Eclipse
XML Author 10.3 User Manual for Eclipse
Oxygen XML Author Eclipse Plugin 15.2
XML Editor 11.2 User Manual for Eclipse
XML Author 11.2 User Manual
Oxygen XML Editor 16.1
Oxygen XML Developer Eclipse Plugin 16.1
XML Editor User Manual