The Artima Developer Community
Sponsored Link

Java Buzz Forum
xwork: visualising flow of control with XSLT and SVG

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Jeremy Rayner

Posts: 111
Nickname: j6wbs
Registered: Sep, 2003

jez codes stuff
xwork: visualising flow of control with XSLT and SVG Posted: Dec 20, 2003 5:58 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Jeremy Rayner.
Original Post: xwork: visualising flow of control with XSLT and SVG
Feed Title: javanicus
Feed URL: http://www.javanicus.com/blog2/subjects/java-rss.xml
Feed Description: Jeremy Rayner on java and other stuff.
Latest Java Buzz Posts
Latest Java Buzz Posts by Jeremy Rayner
Latest Posts From javanicus

Advertisement
 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...

Read: xwork: visualising flow of control with XSLT and SVG

Topic: stupidpeoplemakemylifehard.com Previous Topic   Next Topic Topic: Morning Coffee Links

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use