Free plugin to generate a class diagram from a XML file?
REQ1
) Free plugin
REQ2
) I have a huge model that I must understand it's hierarchy
REQ3
) I just have a sample XML file, populated with data, and I'd like to generate a graphic model from it
REQ4
) graphic model, which I think would be the class diagram
REQ5
) Generate from the VO's would be awesome
I have no idea what does REQ5
mean and I don't know what would actually satisfy the REQ1
, but it does not matter much as recommending any tool is actually Stack Overflow off-topic #4
It looks like you need to divide the problem into
-
infer
XML Schema
from providedXML
data file, by reverse engineering (if you can't obtain the originalXSD
definition from the data provider). Some options are listed in Stack Overflow: Any tools to generate an XSD schema from an XML instance document? -
visualize a
XML Schema
. SeriousXSD
editors can visualize the schema somehow. Some options are listed in Stack Overflow: How to visualize an XML schema? -
convert
XML Schema
intoUML class
model and use an UML modeling tool to visualize it. Some options are listed in Stack Overflow: XSD to UML command line tool
The easiest path to solve the REQ2
(which seems to be the core) might be to contact the data provider, make him/her to give you the XSD
schema and use your IDE
's features to navigate, understand it by whatever means it provides
Paper & pencil looks indispensable as well
The answer may look patronizing and abstractly useless, but I'm really not aware of any cannon handling this job painlessly
Lipe
Updated on June 04, 2022Comments
-
Lipe almost 2 years
I've search google and here, but still can't find a solution for my need. I've download a few plugins and softwares, like UmlGraph, UMLet and Java2Uml, and StarUml and ArgoUml, but it seems I still can't find a way to generate a class diagram from a XML file.
I have a huge model that I must understand it's hierarchy, and I think a good way to reach this would be to dinamically generate a class diagram from the model XML file. Generate from the VO's would be awesome too.
I've read here that StarUml have a reverse engineering feature, but I can't find it inside the software. Anyone knows how to make it?