Export to XMI
You can export a package to an XMI (XML based) file. This enables you to move Enterprise Architect Model elements between models, for distributed development, manual version control and other benefits. It also enables limited export of Enterprise Architect model elements to Rational Rose and other tools that implement the UML 2.1 XMI 2.1 standard, the UML1.4 XMI 1.2 standard, or the UML 1.3 XMI 1.1 / XMI 1.0 standard.
For more information regarding the limitations of XMI exporting read the Limitations of XMI topic.
Notes: |
|
Export a Package to XMI
To export a package to XMI, follow the steps below:
- In the Project Browser window, select the package to export.
- Either:
- Right-click and select the Import/Export | Export Package to XMI menu option, or
- Select the Project | Import/Export | Export Package to XMI menu option.
The Export Package to XMI dialog displays.

- In the Filename field, type the directory path and filename into which to output the XMI file.
- If required, in the Stylesheet field click on the drop-down arrow and select a stylesheet to post-process XMI content before saving to the file.
- Select the Export Diagrams checkbox to export diagrams in the file.
- Select the Export Alternate Images checkbox to export the alternative images used in the diagrams.
- Select the Format XMI Output checkbox to format output into readable XML (this takes a few more seconds at the end of the run).
- Select the Write Log file checkbox to write a log of export activity (recommended); the log file is saved to the directory into which you export the XMI file.
- If using XMI 1.1, select the Use DTD checkbox to use the UML1.3 DTD (recommended). Setting this option validates the correctness of the model and checks that no syntactical errors have occurred. For more information regarding the use of DTDs, see the UML DTD topic.
- Leave the Enable full EA Roundtrip checkbox selected to keep data specific to Enterprise Architect in the XMI file.
- In the XMI Type: field, click on the drop-down arrow and select the appropriate XMI format:
- XMI 1.1, to generate output in XMI 1.1 format
- XMI 2.1, to generate output in XMI 2.1 format.
- Select the Unisys/Rose Format checkbox to export in Rose UML 1.3, XMI 1.1 format.
- Select the Exclude EA Tagged Values checkbox to exclude Enterprise Architect-specific information from the export to other tools.
- Click on the Export button.
Notes: |
|
Important: |
When exporting and importing with XMI 1.0 with Enterprise Architect, some loss of data occurs due to the limitations of XMI 1.0. |