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:
  1. Launch the New Model Wizard.
  2. Specify a unique model name.
  3. Select XML Schema (XSD) option from Model Class drop-down menu.
  4. Select Datatype Model from Model Type drop-down menu.
  5. 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:
  1. 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.
  2. Select an existing relational model from the workspace using the browse button.
  3. Select the Copy all descriptions option if desired. Click Finish.