UML to XML representation

10,534

Solution 1

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

step1 step2 step3

Solution 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 ...

Share:
10,534
Carlos
Author by

Carlos

Updated on July 16, 2022

Comments

  • Carlos
    Carlos almost 2 years

    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?

    • amitesh
      amitesh over 11 years
      If you want to export UML diagram to XML format you can use XML Spy's Schema Editor.
    • Carlos
      Carlos over 11 years
      hello amitesh ,do you have other solution?i dont seek for editor
    • amitesh
      amitesh over 11 years
      you can use microsoft visio if you want.. if that help you then let me know.
    • Carlos
      Carlos over 11 years
      dear amitesh, i cant use microsoft visio because i intented to use MARTE so Papyrus support MARTE but microsoft visio not support MARTE
    • amitesh
      amitesh over 11 years
      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.
    • Carlos
      Carlos over 11 years
      hello @amitesh thank you so much for your efforts
    • amitesh
      amitesh over 11 years
      tell me link provided by me is helpful for you??? @safa Eng
    • Carlos
      Carlos over 11 years
      hello @amitesh 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?
  • Carlos
    Carlos over 11 years
    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?
  • shavindip
    shavindip about 5 years
    What is the name of this software?