The nice thing about standards is that there are so many of them to choose from.Andrew S. Tanenbaum
Many users ask for XMI support in PlantUML. So the -xmi
flag has been added in the command line (and in the ANT task also), for betatesting. This is only working with class diagrams.
As explain on the Modeling Portal, XMI theorically allows to interchange data between programs.
So let's have a very simple example, with three classes:
@startuml
class class1 {
field
}
class1 - class2
class2 - class3
@enduml
Unfortunately, having the very same file is difficult. For example,
So, they are actually 3 flags:
-xmi
: only classes are exported, without any relationship. This is very basic but should work with on many tools-xmi:argo
: to be read by ArgoUML-xmi:star
: to be read by StarUML