Using the UML-to-XSD transformation template model

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 Modeling > Transform > Configure Transformations. 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:
  1. Click File > New > Project.
  2. In the New Project window, from the Wizards list, expand Modeling, and click UML Project.
  3. In the Project name field, type a name.
  4. Click Next.
  5. From the Templates list, select XSD Model.
  6. In the File name field, type a name and click Finish The new project is displayed in the Model Explorer view.
  7. 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.
Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.