User manual

Chapter 6 Generating from an XML model
XSM User's Guide 259
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
You must indicate the following parameters when you generate a new XML
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
Model Options
It lets you define the model options for the new XML model
Generate new XML
model