Red Hat Training
A Red Hat training course is available for Red Hat JBoss Data Virtualization
8.5. Create a New XML Schema Model
8.5.1. Create a New XML Schema Model
To create a new empty XML schema (
.xsd
) model:
- Launch the New Model Wizard.
- Specify a unique model name.
- Select XML Schema (XSD) option from Model Class drop-down menu.
- Select Datatype Model from Model Type drop-down menu.
- Click Finish.
Note
You can change the target location (i.e. project or folder) by selecting the Browse... button and selecting a project or folder within your workspace.
In addition to creating a new empty XML schema model, the following builder option is available:
- Copy from existing model of the same model class.
8.5.2. Copy an Existing XML Schema Model
This builder option performs a structural copy of the contents of an existing model to a newly defined model. You can choose a full copy or select individual model components for copy.
To create a new relational model by copying contents from another XML schema model, complete Create a New XML Schema Model section and continue with these additional steps:
- Select the model builder labeled Copy from existing model of the same model class and click Next >. The Copy Existing Model dialog will be displayed.
- Select an existing relational model from the workspace using the browse button.
- Select the Copy all descriptions option if desired. Click Finish.