Export/Import XMI with Business Process Diagram and Textual Analysis
What is XMI
XMI(XML Metadata Interchange) is a kind of the OMG modeling specification, which is used to represent objects (Metadata) in XML. Through XMI, the UML model can be represented as an XML file.
By following the XMI Schema and convert the UML Model into an XML file, it is possible to exchange the UML Model bewteen different UML Tools. However, the same model may possess different properties in different tools. Even for the same property, different tools may present it in a different fashion (e.g. id and identifier), which results in conflicts when importing an XMI into a UML tools. Moreover, some models may not be covered in the XMI schema, it makes model lost upon Export/Import of XMI.
Supports Business Process Diagram and Textual Analysis within VP-UML
The models of Business Process Diagram and Textual Analysis are not covered by the XMI schema. VP-UML exports the Business Process Diagram and Textual Analysis in the extension XML Nodes (out of the XMI Schema). It makes the Business Process Diagram and Textual Analysis can be imported into VP-UML without any loss.
However, it is impossible to import the Business Process Diagram or Textual Analysis into other UML Tools, because the elements of Business Process Diagram and Textual Analysis are not following the XMI Schema.
Export to XMI
Use either of the following methods to launch XMI Exporter.
Select
File |
Export |
XMI... from main menu.
Click on the
Export XMI button on the toolbar.
(If button is not there, right-click on the toolbar and select Import and Export. The buttons will then be shown)
From the XMI Exporter, specify the output file path in the
File path field. This can be done by pressing the
... button and choosing the path from the file chooser, or simply by entering the path directly to the field. The
XMI Version option is provided to specify which version of XMI schema the
XML file should follow. VP-UML only supports Business Process Diagram or Textual Analysis in XMI 2.1.
Press OK to start exporting.
Wait until the process has been finished, then you can locate the XMI file from the specified output file path.

XMI Output
The XML is generated in XMI Version 2.1. But the model uml:BPPool (uml:BPLane, uml:BPTask, etc...) is out of the XMI Schema. It is unable to be imported into other tools.
Import from XMI
Use either of the following methods to launch XMI Importer.
Select
File |
Import |
XMI... from main menu.
Click on the
Import XMI button on the toolbar.
(If the button is not there, right-click on the toolbar and select Import and Export. The buttons will then be shown)
From the XMI Importer, specify the xmi file path in the
File path field. This can be done by pressing the
... button and choosing the path from the file chooser, or simply by entering the path directly to the field.
(It is unnecessary to select the XMI version because the XMI version is specified in the XMI file.)
Press OK to start importing.
Wait until the process has been finished, then you can locate the Business Process Diagrams or Textual Analysis that are imported into the current VP-UML Project.


Samples
Click on the link below to download:
Resources