To transform a logical data model into an XML schema, select a
logical data model and run a transformation.
Before you begin
Prerequisites:- You must be in the Data perspective.
- You should analyze your logical data model to ensure that it is valid
before you transform it.
About this task
To transform a logical data model into an XML Schema:
- Open a logical data model in the Project Explorer. You can transform
from any package in the model.
- Click File > New > Transformation
Configuration from the main menu.
- On the Name and Transformation page, select Logical
Data Model to XML Schema from the Data Model Transformations list,
enter the name of the transformation, and click Next.
- On the Source and Target page, complete the following steps:
- Select a package or diagram in the Select a Source field.
- Select a project in the Select a Target field.
- Click Next.
- Optional: On the Properties page, specify the following
parameters:
- Base Target Namespace
- Target Namespace and Target Namespace
Prefix
- Optional: Change the default values for the following fields:
- Convert space in names to
- Generate nested Elements for relationship ends
- Overwrite files without warning
- Click Next.
- On the Common page, specify whether you want to generate a log
for the transformation, and click Finish.
- Click Run Logical Data Model to XML Schema from
the toolbar.
Results
The XML schema is created and displayed in the
XML Schemas folder
of your target project. The new XML schema files are named after your source
packages.