XMI

From HaFrWiki
Jump to: navigation, search

XML Metadata Interchange (XMI) is an OMG standard showing how to save any Meta Object Facility (MOF) - based models in XML. OMG uses the following description for the metamodel architecture:

Meta-Model MOF Example
M3 meta-metamodel "MOF Model"
M2 meta metadata
metamodel
UML metamodel
M1 metadata
model
UML Models
M0 data Modelled systems

So XMI is an attempt to take advantage of

  • UML's world dominance
  • UML's definition in MOF
  • XML's world dominance

and produce a standard way to save UML models in XML, in order to provide modelers with the ability to move UML models between tools.

VBA and DOM

You can use Visual Basic (for Applications) (VBA) and DOM to create XMI. Here are some examples:

VBA MMM IAA

MMM can also create an XMI export (later also an import).
More...

See also

XMI Schemas