Sybase XML Impact Driver User Manual


 
Chapter 2 Building an XML model
XSM User's Guide 113
To define a simple type derivation by list:
1 Select List in the Derivation dropdown listbox of a simple type property
sheet.
2 Click Apply.
3 Click the Properties tool beside the Derivation box.
The simple type list property sheet appears.
4 Enter an ID and a type for the simple type list.
If you select Embedded type, the type disappears and a simple type is
created in the schema within the current simple type. Click Apply, and
then the Properties tool beside the Embedded type box, to define a
derivation and a type for the embedded simple type.
5 Click OK.
Deriving by union
You derive a simple type by union when you want to define it as a collection
of built-in and simple data types.