Sybase XML manual Deriving by list, 112

Models: XML

1 290
Download 290 pages 48.58 Kb
Page 124
Image 124

Defining derivations

The Content box is set to Complex.

2Click Apply.

3Click the Properties tool beside the Derivation box. The restriction property sheet appears.

4Type an ID and a base type for the complex type restriction.

5 Click OK.

Deriving by list

You derive a simple type by list when you want to define it as a list of values of a specified data type.

The General page of a simple type list property sheet displays the following properties:

 

Property

Description

 

ID

ID of the simple type list. Its value must be of type ID and

 

 

unique within the model containing the simple type

 

 

restriction

 

Type

Data type for the list of values

 

Embedded Type

If selected, the type disappears and a simple type is created in

 

 

the schema within the current simple type

112

 

PowerDesigner

 

Page 124
Image 124
Sybase XML manual Deriving by list, 112