Red Hat Training

A Red Hat training course is available for Red Hat JBoss Data Virtualization

9.15. XSD Schema File

You can import XML Schema file (XSD) files using the steps below.
  1. In Model Explorer, click the File > Import action in the toolbar or select a project, folder or model in the tree and choose Import...
  2. Select the import option Teiid Designer > XML Schemas and click Next>.
  3. Select either Import XSD Schemas from file system or Import XSD Schemas via URL and click Next >.
    1. If importing from file system, the Import XSD Files dialog is displayed. Click the Browse button to find the directory that contains the XSD file(s) you wish to import.
      • To select all of the XSD files in the directory, click the checkbox next to the folder in the left panel.
      • To select individual XSD files, click the check boxes next to the files you want in the right panel.
        Select XSD From File System

        Figure 9.62. Select XSD From File System

    2. If importing from URL, select the Import XML Schemas via URL option and click OK to display the final Add XML Schema URLs wizard page.
      Add XML Schema URLs Dialog

      Figure 9.63. Add XML Schema URLs Dialog

  4. Click the Add XML Schema URL button . Enter a valid schema URL. Click OK. Schema will be validated and resulting entry added to the list of XML Schema URLs.
    Add XSD Schema URLs

    Figure 9.64. Add XSD Schema URLs

    The schema URL is now displayed in the XML Schema URLs list.
    Add XSD Schema URLs

    Figure 9.65. Add XSD Schema URLs

  5. Click Finish.

    Note

    XSD files may have dependent files. This importer will determine these dependencies and import these as well if Add Dependent Schema Files is selected.