plantuml-doc

XML Metadata Interchange (XMI)

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 theoretically 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

Imagine that you can have a XMI file that can be imported successfully on several UML tools. It would be nice.

Unfortunately, having the very same file is difficult. For example,

So, they are actually 3 flags:

Update: now this feature is in production and is invoked as follows: