XMI enables the exchange of UML models across different UML modeling applications. For example, if you have a UML model created with another tool, you can import it as an XMI file into the Modeling for extension of your project or as the basis of a new project. Likewise, you can export RAD Studio modeling projects for use in other applications. The result in each case is a single, portable .XMI file.

On the XMI encoding drop-down combo box, click the drop-down arrow to select an appropriate character encoding. The default encoding is UTF-8.

In the Select the Export Destination, specify the export destination file. You can enter the file name (with the .XMI extension) and the path to the file to create or you can accept the default:

project_root_folder\out\xmi\project_name.xmi

Click Export. If the destination directory does not exist, a confirmation dialog asks if you want to create it.

Click Yes.

The wizard creates the specified XMI file and saves in it the selected modeling project in the selected XMI type format.

To import a UML model, stored in XMI format, into an existing project

You need to have an .XMI file storing a UML model in the XMI format. For example, you can export the UML model, from the third-party UML modeling tool, using the XMI format. When exporting from Rational Rose, choose XMI version 1.1, using the Unisys extension.

In the Model View, right-click the root node of an implementation or a design project. (The design project must comply to the UML 1.5 specification.)

On the context menu, choose Import Project from XMI.Alternatively, in the Model View, select the root node of an implementation or a design project. Then, on the main menu, choose File > Import Project from XMI.

The XMI Import dialog box opens. Browse for the .xmi file containing a UML model to import. This file can store, in the XMI format, a UML model or a modeling project.

Click Import.

The UML model stored in the selected .xmi XMI format file is imported into the selected project.