Skip to content

Home for a grand experiment in software visualization for XSLT.

License

Notifications You must be signed in to change notification settings

evanlenz/xslt-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Home for a grand experiment in software visualization for XSLT.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published