Specifying how the UML-to-XSD transformation processes UML packages

You can specify whether the UML-to-XSD transformation generates a schema for packages that do not have the <<schema>> stereotype or schema keyword. By default, the transformation generates a schema for each package and its contents that you select in the source model. The transformation does generate schemas for nested packages.

Before you specify how the UML-to-XSD transformation processes UML packages and to learn about the UML-to-XSD transformation profile, its stereotypes and constraints, you should read the 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 specify how the UML-to-XSD transformation processes UML packages:
  1. Click Modeling > Transform > Configure Transformations.
  2. In the Configure Transformations window, from the Transformations/Configurations list, select a transformation configuration.
  3. Click the Properties tab.
  4. On the Properties page, in the Property column, click Process UML package without stereotype or keyword.
  5. In the Value column, click true or false.
    Note: If you select false for a top-level package, the transformation only processes top-level packages that have the <<schema>> stereotype or the schema keyword.
  6. Click Apply.
  7. Click Close.
The options are applied the next time that you run this transformation configuration.
Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.