How do I render DotML into a chart? According to the website here:
Getting graphs from your data is a three-step process. First, generate or manually type a >XHTML (or any other XML) file that contains DotML elements.
Use "http://www.martin-loetzsch.de/DOTML" as the namespace identifier for DotML elements. >If you want to validate your DotML elements, use the DotML Schema.
Second, apply the script "generate-svg-graphics.bash" on the input file. It applies the >dotml2dot.xsl stylesheet and generates a SVG chart and a CSS file containing the size of >the SVG chart for each DotML graph element. Please have a look into "generate-svg->graphics.bash" for required environment variables and parameters.
Third, if the DotML graph is embedded into an XHTML document, the XSLT stylesheet "embed->svg-graphics.xsl" replaces the DotML graph elements by the inclusion of the generated >SVGs. Please look into "embed-svg-graphics.xsl" for details.
I have the typed XML already, but I do not know what the rest of the steps mean. If anyone could explain how to do this at a very simple level that would be fantastic.
DotML is an alternative XML-based syntax for the dot language used to drive the GraphViz program. The normal way of using it is to convert the DotML to dot, and then run GraphViz to generate SVG. The way I do it (from Ant) is here:
My case is a bit different because I'm starting with a document that contains multiple diagrams in an XML vocabulary that first needs to be transformed to DotML.