Chapter 3 Building an XML model


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

Steps To create a restriction on a complex type:

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

    The Content box is set to Complex.
  2. Click Apply.
  3. Click the Properties tool beside the Derivation box.

    The restriction property sheet appears.
  4. Type an ID and a base type for the complex type restriction.
  5. Click OK.

 


Copyright (C) 2005. Sybase Inc. All rights reserved.