RAD Studio (Common)
ContentsIndex
PreviousUpNext
Importing and Exporting a Model Using XML Metadata Interchange (XMI)

RAD Studio supports XMI version 1.1. Please see the link to the OMG website at the end of this document for more information on XMI or to download the complete specification.

To import a model in XMI format

  1. Export the model from the modeling tool, using the XMI format. When exporting from Rational Rose, choose XMI version 1.1, using the Unisys extension.
  2. In RAD Studio, choose FileNewVCL Forms Application - Delphi.
  3. Open the Model View Window, right-click the top-level project node in the tree, and choose Import Project from XMI.
  4. In the XMI Import dialog box, click the Browse button to navigate to the XMI file you exported in step one.
  5. Click the Import button in the XMI Import dialog box.
RAD Studio will generate Delphi source code for the model elements on the class diagrams in the XMI file.

To export a model in XMI format

  1. Open the Model View Window, right-click the top-level project node in the tree, and choose Export Project to XMI.
  2. In the XMI Export dialog box, select the XMI version and XMI encoding appropriate for the tool you will ultimately use to open the model file.
  3. Click the Browse button to navigate to the destination folder.
  4. Enter a target file name for the exported file.
  5. Click the Export button in the XMI Export dialog box.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!