Aggregated data types must reference existing core data types or other aggregated data types or both. Before you begin developing an aggregated data type in the ES Repository you must decide on the structure and which core data types or other aggregated data types are required, already exist, or need to be created. The procedure below does not provide any design guidelines, and mainly describes how to use the data type editor.
Create a data type of classification aggregated data type in the ES Builder. More information: Creating Objects.
Choose the Type Definition tab page. The XSD editor automatically selects the category Simple Type when you create a data type.
To insert a subnode, call the context menu for the root element and in the (Insert) menu, choose either Insert Subelement or Insert Lines.
The type then automatically changes to Complex Type. Using the context menu, insert further elements and attributes to build up the structure of your new complex type. Note the following:
Unlike elements, attributes cannot have subnodes. Therefore, you can build up structures using elements, but you use attributes to specify additional information for an element. You can only define attributes for elements that do not have a type.
Subelements can only be inserted for elements that do not have a type.
If a single substructure becomes too complicated, you are recommended to use multiple smaller data types instead, especially when these can then be used elsewhere. To reference other data types, choose Data Types in the list box for the Type column. You can only reference core data types and other aggregated data types.
Depending on whether you are assigning an existing data type or not, you can set the following values in the XSD editor columns:
Column: | Occurrence | Default | Details | Description | UI Text Object |
---|---|---|---|---|---|
Subelement Without Type | Yes | No | No | Yes | No |
Attribute with or Without Reference to Core Data Type | Yes | Yes (for optional attributes) | No | Yes | Yes |
Element that references core data type | Yes | Yes | No | Yes | Yes |
Element that references aggregated data type | Yes | No | No | Yes | No |
Subnode (element or attribute) of elements with type | No | No | No | No | No |
As long as the element concerned is not the root element, you can change the field name by clicking it.