All Projects → evanlenz → xslt-visualizer

evanlenz / xslt-visualizer

Licence: BSL-1.0 License
Home for a grand experiment in software visualization for XSLT.

Programming Languages

javascript
184084 projects - #8 most used programming language
PHP
23972 projects - #3 most used programming language
XSLT
1337 projects
CSS
56736 projects
Less
1899 projects
HTML
75241 projects
shell
77523 projects

xslt-visualizer

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:

  1. Install Saxon-HE or better.
  2. Trace-enable your XSLT (using trace-enable.xsl).
  3. Apply the trace-enabled XSLT to a source document of your choice.
  4. Render the resulting transformation metadata to HTML/JavaScript (using render.xsl).
  5. 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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].