In close collaboration with Seoul National University's Structural Complexity Laboratory

 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

research:trees [2010/10/29 16:39] (current)
rim created
Line 1: Line 1:
 +====== XSL Tree Plotting ====== 
 +This is based on [[http://​www.xml.com/​pub/​a/​2004/​09/​08/​tree.html?​page=1|Jirka Kosek'​s tools]], built in a way that is easy to install and use. By omitting the first stage, it can be readily adapted to directly plot trees from a known XML file, which would be useful for our GP output processing project. Steps to use: 
 +  - Download {{:​research:​example.tar.gz|this tarball}} containing example files and the xsl script 
 +  - Create an XML file in (a variant of) Kosek'​s format 
 +  - Place htotree.xsl in a suitable location 
 +  - Download and install [[http://​saxon.sourceforge.net/​|Saxon]]. Please note: you must either use Saxon 6 (an old version that incorporates EXSLT), or install EXSLT into later versions yourself, or upgrade the whole system to use XSL 2 
 +  - Create a shell script to call saxon (you can adapt this one to point to the right places on your machine) 
 +  - Run the script, and point your browser at the resulting output file (firefox, safari and opera all work, I gather internet explorer has some bugs in its svg implementation which may call it to fail, though there are patches around on the web to adapt the xslt to work with explorer als)