Integrated SVG Viewer in the Results Panel

Oxygen XML Author includes an integrated SVG Viewer that can render the results of an XSLT transformation scenario that generates SVG images in the Results panel at the bottom of the editor. This is useful for developing XSL stylesheets with the capability of producing SVG graphics.

To enable this feature, select Show in results view as > SVG in the Output tab of the XSLT transformation scenario configuration dialog box. When you run the transformation, the SVG result is then rendered in an integrated SVG viewer in the Results panel.

Example of a Use-Case

Suppose you have an XML document that describes the evolution of your sales over a time period and you want to create a graphic for it. You could use the following steps to accomplish this task:
  1. Start with a static SVG image, written directly in Oxygen XML Author or exported from a external graphics tool.
  2. Extract the parts that are dependent upon the data from the XML document and create an XSL template to produce the image.
  3. Create an XML transformation with XSLT scenario.
  4. While configuring the transformation scenario, select Show in results view as > SVG in the Output tab of the configuration dialog box.
  5. Run the transformation.

The SVG image is rendered in an integrated SVG viewer in the Results panel at the bottom of the editor.

Figure: Integrated SVG Viewer