
Generation basics
Generation basics
You can generate an XML model from an XML model.
There are two options to generate an XML model from an XML model:
Generation option | Description |
Generate new XML model | It creates a copy of the source XML model, |
| converting the source language (DTD, XSD or |
| XDR) into the target language |
Update existing XML model | It creates a default model with the objects |
| translated from the XML model that is merged |
| with an existing XML model. You can update, |
| delete or add objects in the existing XML model |
| (right pane) based on modifications made in the |
| default model (left pane) |
|
|
Caution
The option Update existing XML model only works with an XML model as source model.
You can only merge models of the same type.
For more information on merging two models, see chapter Comparing and Merging Models in the General Features Guide.
Target models parameters
An external shortcut depends on a target object in a different model. External shortcuts allow you to share objects between different models.
When you generate models into other models, you can preserve the link between an external shortcut and its target model through generation.
You can use the Target Models tab to select generated models to retrieve the corresponding target objects of external shortcuts. External shortcuts can then be correctly linked to target objects in the correct target model.
The Target Models page displays the following columns:
| Column | Description |
| Target Models | Original target model of the shortcut (not editable) |
| Generated Models | It lets you select the model that will be used as the target for |
|
| the generated shortcut |
256 |
| PowerDesigner |
|