Defining complex types

Complex type detail properties

The Detail page of a complex type property sheet displays the following properties:

Property

Description

Final

Property to prevent derivation of the current complex type

Block

Property to prevent another complex type with the specified type

 

of derivation from being used in place of the current complex

 

type

Mixed

If selected, this property indicates that character data is allowed to

 

appear between the child elements of the current complex type.

 

Select Mixed only if the current complex type has a complex

 

content (See general properties)

Abstract

If selected, this property indicates that the complex type can be

 

used in the instance document

ID

ID of the complex type. Its value must be of type ID and unique

 

within the model containing this complex type

 

 

Complex type attributes properties

Attributes are used to give additional information about complex types.

The Attributes page of a complex type property sheet allows you to add attributes to a complex type declaration:

Tool

Tooltip

Description

 

Add Attribute

Creates a local attribute

 

Add Attribute Group with

Adds an attribute group with a reference

 

Reference to Attribute

to an attribute group defined in the current

 

Group

model. Select a name in the Reference

 

 

dropdown listbox. You can also type a

 

 

new name in the Reference column and

 

 

then define a new attribute group in the

 

 

Attribute Groups list (See Model menu)

 

Add Attribute with

Adds one or several attributes with a

 

Reference to Attribute

reference to global attributes defined in

 

from a Selection

the current model. Select one or several

 

 

global attributes in the Selection dialog

 

 

box

 

 

 

94

PowerDesigner

Page 106
Image 106
Sybase XML manual Complex type detail properties, Complex type attributes properties