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 . 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:
- Click .
- In the Configure Transformations window, from
the Transformations/Configurations list, select a transformation
configuration.
- Click the Properties tab.
- On the Properties page, in the Property column,
click Process UML package without stereotype or keyword.
- 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.
- Click Apply.
- Click Close.
The options are applied the next time that you run this transformation
configuration.