Graph XML to Visual Representation

前端 未结 1 783
傲寒
傲寒 2020-12-22 02:52

I have an XML document and want a visual representation (eg. an SVG graphic). Eg.


   
      bla
      foo
   

        
相关标签:
1条回答
  • 2020-12-22 03:02

    As @Javier suggested in the comments, checkout Graphviz. Specifically:

    1. Write XSLT to map from your XML to DotML, an XML representation of the DOT graph description language. You can validate DotML against the DotML schema.
    2. Run generate-svg-graphics.bash, which uses generate-svg-graphics.xsl, to convert from DotML to SVG.

    See also: Michael Kay's DotML ant build.

    0 讨论(0)
提交回复
热议问题