Restriction on a complex type
XSM User's Guide
10 Type an ID and select the Fixed box, if needed.
11 Click OK.
Enumeration and Pattern facets
For Enumeration and Pattern facets, click their corresponding tabs in the
restriction property sheet and double-click the arrow left of an
enumeration or a pattern value to display its property sheet.
The General page of a complex type restriction property sheet displays the
following properties:
Property
Description
ID
ID of the complex type restriction. Its value must be of type ID
and unique within the model containing the complex type
restriction
Base Type
Data type on which the restriction is based
To create a restriction on a complex type:
1
Select Restriction in the Derivation dropdown listbox of a complex type
property sheet.
Chapter 2 Building an XML model
111