Book a Demo
Prev Next

Merge with XMI

You have two options for importing a Package into a model from XMI, where that Package already exists in the model:

  • Merging the Package directly, as documented here, where Enterprise Architect simply merges the differences between the XMI file and the existing Package in the model
  • Using a Merge File, as documented in the Merge Package with XMI Using Merge File Help topic, where Enterprise Architect deletes the existing Package from the model and imports the new Package information from XMI


Select your target Package in the Browser window, then use one of the methods outlined here to open the 'Import Package from Native/XMI File' dialog.

On the 'Import Package from Native/XMI File' dialog, click on the Merge XMI button, then choose the option 'Direct Merge'.


Publish > Model Exchange > Import > Native File (or Import > XMI File) : Merge XMI > Direct Merge

Keyboard Shortcuts

Ctrl+Alt+I : Merge XMI > Direct Merge

Merge Package Options



See also


Displays the name of the currently-selected Package, the contents of which will be merged with the imported XMI file.

If this is not the required Package, click on the Browse package button and select the correct Package.

XMI File

Type in the directory path and filename of the XMI file, or click on the Browse. button and locate the file.

Baseline Package before Merge

Select this checkbox to open the 'Create Baseline' dialog, to create a baseline of the selected Package before merging the XMI file.

You can use this baseline to roll back to the content of the pre-merged Package, if necessary.

Manage Baselines in Model

Compare Baseline with Package after Merge

Select this checkbox to automatically compare the Package with the Baseline once the merge is complete.

The checkbox is enabled when the 'Baseline Package before Merge' checkbox is selected.


Click on this button to begin the merge of the Package content with the XMI file content.


Click on this button to close the 'Merge Package with XMI' dialog.


Click on this button to display this Help page.

Learn more