Specifying the Type of Content of a Complex Type

A complex type can contain either:

  1. Open the property sheet of a complex type and select a type in the Content field:
    • simple content – character data or a simple type (but no elements), or

    • complex content – elements or elements and character data

  2. Click Apply to make available the Properties tool to the right of the list.
  3. [optional] Click the Properties tool to open the property sheet of the content, and specify an ID and, in the case of complex content, whether the content can be mixed:

    Property

    Description

    ID

    ID for the complex content. Its value must be of type ID and unique within the model containing the complex content

    Mixed [complex content only]

    Specifies that character data is allowed to appear between child elements of the complex type.

  4. Click OK to return to the diagram.