Transforming a UML class model into an XSD model¶
The XSD Designer module enables you to transform a UML class model into an XSD model. To do this, carry out the following operations:
- Select the root class of your UML class model.
- Run the “Set As XSD Model” command.
The selected class and all the classes linked to it through associations or attributes are transformed into XSD model elements. The table below describes the transformation rules implemented during this process.
|UML Model||XSD Model|
|Class linked to the root class through an association||ComplexType|
|DataType linked to the root class through an association||SimpleType|