Complex Types (XSM)

You can only create complex types in a model targeted with XSD.

A complex type is a data type definition used to define attributes and child elements of a parent element. It is a template for a data type definition that can be reused and derived by extension or restriction.

A complex type has:

The following illustration shows a diagram containing a complex type:



In the example above, HighDefinition is a global complex type, reused as data type for the deluxeTV element.

The generated schema is the following:



Warning!   Global complex types appear in the model as objects, with their corresponding symbol in the diagram. Local complex types only appear in the schema (see Preview tab of an element property sheet).