Difference between XML and XMI?

zengr picture zengr · Apr 9, 2010 · Viewed 20.2k times · Source

Can some one shed some light on the difference between XML and XMI? Can XMI be used in place of XML?

Answer

Robert Harvey picture Robert Harvey · Apr 9, 2010

The XML Metadata Interchange (XMI) is an Object Management Group (OMG) standard for exchanging metadata information via Extensible Markup Language (XML).

XMI integrates four industry standards:

XML - eXtensible Markup Language, a W3C standard. 
UML - Unified Modeling Language, an OMG modeling standard. 
MOF - Meta Object Facility, an OMG language for specifying metamodels. 
MOF Mapping to XMI 

http://en.wikipedia.org/wiki/XML_Metadata_Interchange

So XMI is a specific application of XML.