Fun XSLT stylesheet (1 of a series...)
Here is a stylesheet to create an SVG representation of the structure of an XML document. Don't have an SVG engine? Adobe has a nice one (make sure you are logged into the machine as Admin to install it - not the domain).
Caveat: unsupported - I haven't tested these in years.