Chapter 4 Working with an XML model


Generating a new XML model from an OOM

You can generate an XML model from an OOM or from a package in an OOM. PowerDesigner creates a new XML model containing all the objects that you selected to generate in the XML model. The newly created XML model appears in the browser and the corresponding diagram opens in the work area.

You can only generate an XML model from the active OOM diagram.

Steps To generate a new XML model from an OOM:

  1. Select Tools→Generate XML Model to display the XML Model Generation Options dialog box.
  2. Select Generate new XML Model radio button.
  3. Type a name and a code for the new XML model, otherwise it will have the same name and code as the OOM.
  4. <optional> Click Configure Model Options to define the options of the generated XML model.
  5. Click the Detail tab to define options and generation parameters.
  6. Click the Target Models tab to select the target models of shortcuts in the current model.
  7. Click the Selection tab to display the Selection page.
  8. Select the name of an OOM from the Select Location dropdown listbox.

    Note   Generating an XML model from a package
    To generate an XML model from a package, select the package name from the dropdown listbox in the upper left corner of the dialog box. To generate an XML model from a sub-package, select a sub-package from the dropdown listbox in the upper left corner of the dialog box, or select a package name and click the Include Sub-packages tool next to this dropdown listbox.

  9. Select the check boxes for the objects you want to generate, and clear the check boxes for the objects you do not want to generate.
  10. Click OK.

    The Output window shows the progress of the generation process. The new XML model diagram appears in the work area.

 


Copyright (C) 2005. Sybase Inc. All rights reserved.