Why can’t I find an XSLT file that that converts any XML file to a Graphviz DOT file that visualizes elements and attributes? It’s almost like I’m beginning to doubt my Google “skillz”! I’ve found some scripts that are specially targeted to various XML-based formats, but no generic one. Maybe it’s so simple that I could have made it myself on the time I spent searching and writing this?
Well I’m curious – did you ever find anything?? My Google “skillz” got me here!
Sorry Chris, I never found exactly that so I found some other way of visualizing the XML. Unfortunately I don’t remember what tool I used.
However, this reminds me of a a PHP class written by a friend of mine. It will “reverse engineer” an XML structure to find elements, attributes and their values used. Look at //www.dotvoid.com/2012/04/getting-to-grips-with-an-existing-xml-structure/ if this might be useful to you.