|
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. |
XML Schema-Aware Queries and Stylesheets
Learn how to simplify XSLT and XQuery applications using Schema Aware XSLT and XQuery processing technologies.
XML to PDF
Convert XML to PDF using Stylus Studio's XML publishing tools - the easiest way to design beautiful document layouts for use in XSL:FO based multi-channel publishing and single source publishing applications.
Java Web Services
Stylus Studio's Web Service Call Composer simplifies Java Web Service development by making it easy to find, invoke, and test any Java Web Service deployed on any popular Java Web Service framework, such as Apache AXIS.
Content Management
Build Content Management systems with Stylus Studio's powerful XML publishing tools that enable you to unlock and re-use valuable content from your enterprise information repositories.