logo Graph2SVG

About graph2svg

Examples of graphs

Download

Usage of graph2svg

Version information

Related links

CZ

EN

Usage of Grap2SVG

We show you how easy use scripts for generating graph or chart from XML. Let choose MSGR skript as an example, usage of other scripts is very similar.

All scripts was debugged with Saxon processor. It is available for free on the adress:

http://saxon.sourceforge.net/

You can choose between two platforms: Java and .NET. Suppose we have Java version of Saxon 8.8 in directory C:\saxon8-8j\ and Java is in directory C:\Java\jre1.6.0\bin\. Now we can easy start generating of graph by command:

C:\Java\jre1.6.0\bin\java.exe -jar c:\saxon8-8j\saxon8.jar -o pic.svg gr.xml use_msgr2svg.xsl

Of course, you must be in the same directory as files gr.xml and use_msgr2svg.xsl. If everything past off without error the final picture is pic.svg file.