Sybase XML manual Restriction on a complex type, Enumeration and Pattern facets, 111

Models: XML

1 290
Download 290 pages 48.58 Kb
Page 123
Image 123

Chapter 2 Building an XML model

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.

Restriction on a complex type

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:

1Select Restriction in the Derivation dropdown listbox of a complex type property sheet.

XSM User's Guide

111

Page 123
Image 123
Sybase XML Restriction on a complex type, Enumeration and Pattern facets, ™ To create a restriction on a complex type, 111