LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   XML to UML (https://www.linuxquestions.org/questions/programming-9/xml-to-uml-709783/)

dayalan_cse 03-07-2009 01:52 AM

XML to UML
 
Hello All,

I am new user for XML (extended markup language). I have XML file which contains the "data about classes and properties of my class", I need to represent the "XML" data as "UML" unified module language. Can any body help me to understand how to do that (Please note that, i want to use the existing content present in XML file and convert to UML data).

Please point me some basics of "XML" and "UML" tutorials.

Thanks for the help.

Thanks,
Deenadayalan

hedgy102 03-07-2009 08:10 PM

Hi,
Netbeans http://www.netbeans.org
already does UML http://www.netbeans.org/features/uml/index.html

It saves the data on disk in XML :)

graemef 03-08-2009 04:12 AM

There is a standard for storing UML diagrams in XML format. These days this is used by most programs that generate UML diagrams. Check out the Umbrello project.

dayalan_cse 03-08-2009 11:06 PM

Quote:

Originally Posted by graemef (Post 3468443)
There is a standard for storing UML diagrams in XML format. These days this is used by most programs that generate UML diagrams. Check out the Umbrello project.

Hi graemef,

My question is,

i have a c++ code, a perl script is reading this c++ code and capturing class and inheritence information in to hash variable, i want to write this data in to "xml" file and use this "xml file content" to directly convert in to "UML diagrams".

Is it possible? if so how can i do that?

Please let me know your suggestions.

Thanks,
Deenadayalan

graemef 03-08-2009 11:23 PM

Well Umbrello (and probably other UML projects as well) will do all of that for you.
If you just want UML diagrams reuse what already exists.
If you are doing this as an academic exercise then you can't display it as true UML diagram without writing more code to represent the classes as images.


All times are GMT -5. The time now is 10:08 AM.