You can use the XSD template model as the basis for your UML-to-XSD
transformation source model. The advantage of using the XSD template model
is that it contains the imported XSD model library so that you do not have
to import the library and its data types. In addition, the XSD profile is
already applied to the template model so that you do not have to apply the
profile to the source model and the stereotypes of the profile are available
for you to use.
Before you use the UML-to-XSD template model, you should read the
UML-to-XSD transformation information that is available at . From the
Transformations/Configurations list,
select
UML to XSD. On the
Transformation
Description page, click
View Transformation Documentation.
You
must be in the Modeling perspective.
To apply the UML-to-XSD transformation template model:
- Click .
- In the New Project window, from the Wizards list,
expand Modeling, and click UML Project.
- In the Project name field, type a name.
- Click Next.
- From the Templates list, select XSD
Model.
- In the File name field, type a name and
click Finish The new project is displayed
in the Model Explorer view.
- To explore the template model and read the information that is
included with it, in the Model Explorer view, double-click
the UML project that you created.