Looking for a simple way to draw tree structures, I came across this old xml.com article Automated Tree Drawing: XSLT and SVG by Jirka Kosek. This uses some EXSLT extensions. I am sure it could have been rewritten in XSLT2 but I thought it would be interesting to try it in XQuery ( and add a RESTXQ web interface). Demo and source.
No comments:
Post a Comment