Visual Paradigm Discussion Forum
Advanced Search
Login [ Register ] Username: Password: Log me on automatically each visit I lost my password  
How to model this scenarion?  XML
Forum Index » UML Questions
Author
Message
enable


Joined: 2010/05/13 09:41
Messages: 1
Offline

Hi guys,
I am a bit confused on moding this part. Lets say I have an XML code snippet like this.



Now, I modelled every xml tag as a uml class. like I have package as class which is composed of all the other
subtags like class:informationType, class: roleType which is agian composed of class:behaviour.
Now my problem is in relationshipType class which is composed of role nad it used type as specified in roleType class and behaviour?

any discussion would be heartly welcomed.
Jick


Joined: 2005/04/29 00:00
Messages: 3053
Offline

Hi enable,

Nested XML structure should be modelled by composition. Attached is an image obtained by running the Instant Reverse of XML (Tools > Instant Reverse > XML). I hope that this can help you.

Best regards,
Jick
[Thumb - instant-reverse-xml.png]
 Filename instant-reverse-xml.png [Disk] Download
 Description instant reverse XML
 Filesize 19 Kbytes
 Downloaded:  8 time(s)


Visual Paradigm International Ltd.
http://www.visual-paradigm.com

Build Quality Applications Faster, Better and Cheaper

Forum Index » UML Questions
Go to:   
Powered by JForum 2.1.8 © JForum Team