Jeremy Rayner on java and other stuff.

All | AudioDrama | Chatter | Fun | Groovy | Java | Life

xwork: visualising flow of control with XSLT and SVG
Posted on 17 Dec 2003
 I've been fiddling around trying to visualize the xwork flow of control, and have come up with an XSLT based stylesheet which will transform your xwork.xml into a SVG graphic.

i.e.
xwork.xml
 XLST>  SVG

  • here is the XSLT stylesheet - xwork2svg.xslt
  • to use with Xalan: java org.apache.xalan.xslt.Process -in xwork.xml -xsl xwork2svg.xslt -out xwork.svg

I think lots of things could be improved with the stylesheet, such as:

  • arrows to indicate chained actions
  • standard order for success/error/input etc...
  • other transformations such as HTML

I think it is quite useful, as it allows the flow of control to be quickly groked, and can be generated as part of the build, for documentation purposes.
Let me know what you think...

17 Dec 2003 |

 

 
December 2003
SunMonTueWedThuFriSat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
Prev | Today | Next

rss:subscribe (All)



What I'm reading
my feed aggregator ->box

My websites
London Java Meetups
Programming Projects
Elite in Java
megg
Blogmento
Jez's Photos
Fantasy Stock Market
Cool Saxophonist
Doctor Who Audios
Pisces Audios

Other Blogs
Mike Cannon-Brookes
James Strachan
Joe Walnes
Sam Dalton
Simon Brown
Cameron Purdy
Mike Roberts
Erik C. Thauvin
John Martin
Manfred Riem

B5 d++ t++ k s+ u- f
i+ o+ x-- e+ l- c--

powered by blogmento