Home for a grand experiment in software visualization for XSLT
View a demo of the XSLT visualizer (or read the paper and view the slides)
Here are the steps to visualizing a transformation:
- Install Saxon-HE or better.
- Trace-enable your XSLT (using trace-enable.xsl).
- Apply the trace-enabled XSLT to a source document of your choice.
- Render the resulting transformation metadata to HTML/JavaScript (using render.xsl).
- View the HTML in your browser.
Some very rudimentary shell scripts (respectively corresponding to steps 1, 2, and 3 above) are provided to show examples of how to do this.
./prepare.sh example
./trace.sh example
./render.sh example
Or you can run this:
./run-all.sh example
to run all three steps with one command.
To view the results (step 4), open build/example/visualized/example.html in your browser.
You will likely need to change something in the shell scripts; they currently assume the Saxon-HE .jar file is installed at "C:/saxon/saxon9he.jar". Update them as necessary to conform to your environment.
For now, it may be best to inspect these shell scripts directly to better understand the steps; each is only a few lines long.