26.x.XXX
An XSLT script I wrote (latest version) that converts Tree of Life (TOL) XML data into graphs, has been useful for pruning and turning database XML dumps into graph scripts for graphviz.
The graph shown here is a rendering of the first few levels of TOL. it links to my original blog entry on the XLST script, where a full size version of the image is available as well as other relevant files.

The original XML data is provided to the public on TOL's website here: TOL XML tree
In its final version the XSLT script allows the user to start the graph from any given node in the tree , as well as control the coloring of the nodes (eg, alternating colors or a color gradient for the tree).
Original version of the XSLT script can be found here: xml2dot.xsl.
More importantly this script has also been useful in pruning and converting database dumps in XML - eg "mysqldump -X" output - into graphviz graphs. This is an example output, with the scripts i wrote provided below,

Here are my script source codes for both directed and undirected graphs,
xml.mysql2dot.digraph.xsl
xml.mysql2dot.ugraph.xsl
No comments:
Post a Comment