Show TOC

Procedure documentationImporting XSD as Template (CCTS/Freely-Modeled) Locate this document in the navigation structure


If you have already defined a data type as an XML Schema Definition (XSD) outside the ES Builder, you can import this definition for a data type in the XSD editor. You use this as a template and can change it using the XSD editor.

If you want to define multiple data types in an XSD definition, the XSD editor can only import one of the globally-defined data types. The XSD editor does not import any other data types that the XSD data type to be imported may reference. Once imported, the references become obsolete. You can, however, import the data types into the ES Repository one after the other. The ES Builder recognizes automatically if data types for previously invalid references have been imported.


The XSD editor only imports XSD files if it supports their XSD language. In particular when you import an XSD file as a template for a core data type or an aggregated data type, the XSD editor cannot import language constructs that damage the restrictions of the data types in this classification (more information: XSD Editor (Freely-Modeled Data Types), XSD Editor (Core Data Types and Aggregated Data Types).

The targetNamespace in the XSD document must either correspond to the Repository namespace where you are creating the data type for your XSD definition, or be undefined.


  1. To import a data type from an XSD file to the ES Repository, first check whether the XSD file contains multiple global data type definitions. You must only import one definition in each import.

  2. Using the ES Builder, create a data type that has the same name as the data type you want to import from the XSD file. If there is a targetNamespace in the XSD file, it must correspond to the Repository namespace where you are creating this data type.

  3. Choose   Tools   Import XSD   and select an XSD file from the dialog that follows.

    Note Note

    If the file contains more than one global data type definition, the processing log shows that the remaining data type definitions have been ignored.

    End of the note.
  4. Any references to other data types that the imported data type contains are shown in a relevant message. You import these data types by following the procedure described in the last two steps.


You can change and enhance the imported data types by using the functions of the XSD editor. The options for changes depend on the classification of the data type. The reference to the original file is lost.