Up Previous Next Title Page Index Contents

7.5.1 Exporting types to XML

You can export a single model in XML format directly from an editor: choose Graph | Export to | MetaEdit+ XML Models File. If you want to export multiple models, you can use the Graph Manager:
1)Open the Type Manager (Figure 7–2) by selecting Metamodel | Type Manager from the MetaEdit+ menu bar.

Figure 7–2. The Type Manager.

2)In the Graph Manager, select the graph types you want to export from the list on the left. You can select them individually or by using the Select All or Unselect All buttons, and the Show Full Hierarchy checkbox if the types are in an inheritance hierarchy.
3)Press the Export to XML button at the bottom of the window. You will be then prompted for the name of the XML file to which the data is to be exported. The extension for the exported XML file will be .mxt, for MetaEdit+ XML Types.
4)Once the XML file has been written, MetaEdit+ will show a dialog reporting the success of the operation. Close this dialog.

Unlike when saving as patch files, you do not need to press the arrow button in the middle of the window. The graph types chosen on the left will be exported along with all their referred types. This may include types which you have not chosen on the left, e.g. if they are supertypes, decompositions, explosions or property values of chosen types.

Up Previous Next Title Page Index Contents