|
Home > Online Product Documentation > Table of Contents > Generating Scalable Vector Graphics Generating Scalable Vector GraphicsThe procedure for defining a stylesheet that generates an XML document that containts Scalable Vector Graphics (SVG) is the same as for any other stylesheet. Simply create a stylesheet that specifically creates SVG elements. You can then use Stylus Studio to display the rendered SVG.
About SVG ViewersIf you have an installed SVG viewer, Stylus Studio automatically displays the rendered SVG when you apply the stylesheet. If you do not have an installed SVG viewer, you can still define a styelesheet that generates SVG. However, when you try to preview the result of the stylesheet, Stylus Studio displays the generated XML. You can download an SVG viewer from Adobe Systems Incorporated at http://www.adobe.com/support/downloads/main.html . Under Readers, select the SVG Viewer for Windows. After you install an SVG viewer, you must restart Stylus Studio and Internet Explorer to be able to view the rendered graphics. Running the SVG ExampleTo run the SVG example that is included in Stylus Studio:
1. In Stylus Studio, open the
examples\SVG\chart.xsl file in your Stylus Studio installation directory.
Alternative: If the Stylus Studio
The
2. Click
Preview XSLT Result
If you do not have an SVG viewer installed, Stylus Studio displays the resulting XML. |

Cart

