LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 03-07-2009, 01:52 AM   #1
dayalan_cse
Member
 
Registered: Oct 2006
Posts: 122

Rep: Reputation: 15
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
 
Old 03-07-2009, 08:10 PM   #2
hedgy102
Member
 
Registered: Mar 2009
Distribution: Debian,Centos
Posts: 30

Rep: Reputation: 16
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
 
Old 03-08-2009, 04:12 AM   #3
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,376

Rep: Reputation: 147Reputation: 147
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.
 
Old 03-08-2009, 11:06 PM   #4
dayalan_cse
Member
 
Registered: Oct 2006
Posts: 122

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by graemef View Post
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
 
Old 03-08-2009, 11:23 PM   #5
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,376

Rep: Reputation: 147Reputation: 147
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
checking for XML::Parser... configure: error: XML::Parser perl module is required for kornerr Linux - General 11 11-16-2008 07:24 AM
LXer: Thinking XML: Firefox 3.0 and XML LXer Syndicated Linux News 0 07-30-2008 06:50 PM
no xml, convert tvtime stationlist to xml for mythtv/freevo... frenchn00b Linux - General 8 11-03-2007 11:35 PM
LXer: StAX’ing up XML: Streaming API for XML LXer Syndicated Linux News 0 11-30-2006 07:54 AM
configure: error: could not find DocBook XML DTD V4.1.2 in XML catalog Fadoksi Linux - Software 1 07-16-2006 06:41 AM


All times are GMT -5. The time now is 01:14 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration