UML to XML representation
Asked Answered
A

2

13

I build a class diagram using Eclipse modeling tool-Papyrus. how can i export UML diagram to XML format to see the class, attribute, and generalization, etc. relationships represented in XML? How can I do this?

Avens answered 1/11, 2012 at 19:47 Comment(8)
If you want to export UML diagram to XML format you can use XML Spy's Schema Editor.Peers
hello amitesh ,do you have other solution?i dont seek for editorAvens
you can use microsoft visio if you want.. if that help you then let me know.Peers
dear amitesh, i cant use microsoft visio because i intented to use MARTE so Papyrus support MARTE but microsoft visio not support MARTEAvens
hi @safa Eng i search alot for this may be this link will help you eclipse.org/forums/index.php/t/308606 or try google search and sry for not helping you futher.Peers
hello @Peers thank you so much for your effortsAvens
tell me link provided by me is helpful for you??? @safa EngPeers
hello @Peers and thank you so much for help .yes your link shed some light on but there is still something like url and technical stuff information in xmi file of my diagram?i wonder whether or not this is the right way or there is an other?Avens
A
6

I have solved my question using Eclipse and posted the solution as series of steps

step1 step2 step3

Avens answered 8/11, 2012 at 16:16 Comment(1)
What is the name of this software?Murtagh
S
2

According to the Papyrus website:

http://www.papyrusuml.org/scripts/home/publigen/content/templates/show.asp?P=130&L=EN&ITEMID=4

they do have: "Full respect of the DI2 (Diagram Interchange ) standard" see

http://www.omg.org/cgi-bin/doc?formal/2006-04-04.pdf

You'll find an example at:

since I do not use Papyrus myself and the tutorials I browsed have no hint on how to actually do the export these are my two cents for a start ...

Samathasamau answered 3/11, 2012 at 16:56 Comment(1)
thank you @Wolfgang Fahl for your efforts but i am asking about how to convert UML to XML using Papyrus on condition every element of diagram represented in XML.because when i view the di in XML editor i only found it meaningless as it contains only technical stuff.Any other advice or suggestion?Avens

© 2022 - 2024 — McMap. All rights reserved.