Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Import from XMI

You can import a package from an XMI (XML-based) file in any of the following formats:

  • UML 1.3 (XMI 1.0)
  • UML 1.3 (XMI 1.1)
  • UML 1.4 (XMI 1.2)
  • UML 2.0 (XMI 2.1)
  • UML 2.1 (XMI 2.1)
  • MOF 1.3 (XMI 1.1)
  • MOF 1.4 (XMI 1.2)

You can also import the *.emx and *.uml2 files generated by tools such as Rational Software Architect (RSA) and Rational Software Modeler (RSM) as well as XML files exported by ArcGIS.

Access:    Click on target package in Project Browser, then:

         Project | Model Import/Export | Import Package From XMI File or
         Right-click | Import/Export | Import Package From XMI

Use to:

  • Move Enterprise Architect Model elements between models, for distributed development, manual version control and other benefits

Reference:

On The Import Package From XMI dialog:

Field/Option/Button

Action

See also

Filename

Type the directory path and filename from which to import the XMI file

 

Import diagrams

Select the checkbox to import diagrams

 

Strip GUIDs

Select the checkbox to remove Universal Identifier information from the file on import

This enables the import of a package twice into the same model; the second import requires new GUIDs to avoid element collisions

 

Write log file

Select the checkbox to write a log of import activity (recommended)

The log file is saved in the directory from which the file is being imported, with the same name as that of the imported file plus the suffix _import.log

 

Import using single transaction

Defaults to selected

If the import encounters locking issues, or if you are importing a large XMI file, deselect the checkbox to import the data items separately and identify problem items without blocking the whole import

 

Treat Imported Datatypes

If you are importing from Rose XMI 1.1, click on the drop-down arrow and select the datatypes to add to the model

 

Import

Click to start the import

 

Close

Click to close the dialog

 

Help

Click to display this Help page

 

Import Progress

Indicates the progress of the import

 

Notes:

  • In the Corporate, Business and Software Engineering, System Engineering and Ultimate editions of Enterprise Architect, if security is enabled you must have Import XMI permission to import packages from XMI
  • When you import an XML file over an existing package, ALL information in the current package is deleted first; before you import the XML file, please make sure you do not have important changes that you do not want to lose
  • If you are importing an XMI 1.1 file that was previously exported with a UML_EA.DTD file, the UML_EA.DTD file must be present in the directory into which the XMI file is being written; an error occurs if the UML_EA.DTD file is absent

Learn More: