Chapter 6 Generating from an XML model
Generating an XML model from an XML model
This section explains how to generate an XML model from an XML model.
Why generate an XML model from an XML model?
You can generate an XML model from an XML model when you need to keep two models synchronized during the design process.
This kind of generation allows you to create a copy of a given model and define generation links between objects in the source XML model and their equivalent in the generated XML model. When changes are made to the source model, they can then be easily propagated to the generated models using the Update Existing Model generation mode.
The generated model is the one that usually contains more information.
Generating and updating an XML model
The General page of the XML Model Generation Options dialog box displays the following options:
♦Generate new XML model
♦Update existing XML model
Generate new XML | You must indicate the following parameters when you generate a new XML | ||
model | model: |
|
|
| Parameter |
| Description |
|
| ||
|
|
|
|
| XML language |
| Target XML language |
| Share |
| XML language for the resulting XML model. It uses a shared |
|
|
| XML language stored in the XML Languages library |
| Copy |
| XML language for the resulting XML model. It uses a copy of |
|
|
| the XML language stored in the XML Languages library |
| Name |
| File name for the resulting XML model |
| Code |
| Reference code for the resulting XML model |
| Configure |
| It lets you define the model options for the new XML model |
| Model Options |
|
|
|
|
|
|
XSM User's Guide | 259 |