Chapter 3 Building XML Models


Specifying the type of content of a complex type

A complex type can contain either:

Steps To specify the type of content of a complex type:

  1. Open the property sheet of a complex type and select either simple or complex in the Content list.
  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.
  4. Click OK to return to the diagram.

Content property sheet General tab

The General tab contains the following properties:

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.

 


Copyright (C) 2007. Sybase Inc. All rights reserved.