XMI
Jump to navigation
Jump to 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
- IBM Resources:
- IBM XMI Toolkit
- XMI Cameron Laird
- [1], Working XML: UML, XMI, and code generation, Part 1 by Benoit Marchal.
- [2], Working XML: UML, XMI, and code generation, Part 2 by Benoit Marchal.
- [3], Working XML: UML, XMI, and code generation, Part 3 by Benoit Marchal.
- [4], Working XML: UML, XMI, and code generation, Part 4 by Benoit Marchal.
- Developers works on XML
- Object by Design
- XMI Hackers page
- XMI.eu is a good starting point for investigation. It has a lot of links to XMI resources.
XMI Schemas
- All OMG Specifications, BPDM, IFR, LSR, MOF, PLM, SBVR, SWRadio, UML and XMI.
- Version 2.0, contains the xsd and xmi model.
- Version 2.1, contains the specification MOF 2.0/XMI Mapping Specification, v2.1.