My question is: is there a document or other that explains how to represent the elements of uml diagram in universal xmi format ( for example in the class diagram how te represent a class, attribute.... in xmi format)?
Asked
Active
Viewed 2,870 times
2 Answers
1
Diagram definition and diagram interchange are separate specifications from the usual XMI. You can find them here: http://www.omg.org/spec/DD/1.0/ .

Jim L.
- 6,177
- 3
- 21
- 47
-
Diagram definition it is for the graphical representation I think!! – mira Jun 02 '15 at 12:56
-
That's the only way to transfer diagrams between tools. If that's not what you asked for, please clarify your question. – Jim L. Jun 02 '15 at 12:58
-
I search the standard structure of XMI file representing uml diagrams (example :how to represent a class, attribute .... in an XMI file) – mira Jun 02 '15 at 13:03
-
You cannot represent diagrams in normal XMI. You need to look at those links. – Jim L. Jun 02 '15 at 13:06
1
Just adding my 2 cent: XMI has been defined by OMG which is a consortium of companies. Though one might think that it is some kind of standard it actually lets lots of freedom to tool vendors implementing their own flavor of XMI. And as can be seen in practice each vendor took that freedom so model exchange is something non-trivial.

qwerty_so
- 35,448
- 8
- 62
- 86