I have searched and am looking for a tool which would help when working with XML files.
I’ve got to understand different XML structures and it gets quite annoying when I have to draw everything on a paper or model a diagram myself.
I would like to know if anybody has some tool to offer which would help when figuring out XML structures ?
For anyone who doesn’t understand why I need this, imagine this:
<parent id="1">
<name> ... </name>
</parent>
<parent id="2">
<name> ... </name>
</parent>
<child mother="1" father="2"></child>
In this case, mother and father are set by id in parent element.
And sometimes I have a huge structure which is connected with other nodes in this way(using ID or some string identificator). It sucks to handle this manually and I would like to know if there’s some automatic way to draw a diagram from XML(with minimal input).
Thank you
I know you’re asking for a tool, and you’re tagging your question with UML, but perhaps you’ll like the Graph::Easy module with Perl, just to get a first big view of your XML.
Here is the sample XML :
Here is the little script :
and the result :
That’s just a very simple example, but you can easily go further and add different types of lines, colors, etc. By example :