: © Automated Extensible XML Tree Diagrams John Lumley HP Laboratories HPL-2009-137 XSLT, SVG, XML trees, Functional programming XML is a tree-oriented meta-language and visual description of XML structures often involves the construction of visual trees. These trees may use a variety of graphics for chosen elements and often condense or elide sections of the tree to aid focus, as well as adding extra explanatory graphical material such as callouts and cross-tree links. We outline an automated approach for building such trees with great flexibility, based on the use of XSLT, SVG and a functional layout package. This paper concentrates on techniques to declare and implement such flexible decoration, rather than the layout of the tree itself. External Posting Date: October 21, 2009 [Fulltext] Approved for External Publication Internal Posting Date: June 21, 2009 [Fulltext] Copyright 2009 Hewlett-Packard Development Company, L.P.