Chapter 3 Building an XML model


Defining selector general properties

The General page of a selector property sheet displays the following properties:

Property Description
XPath An XPath expression relative to the parent element being declared. It identifies the child elements to which the identity constraint applies
Stereotype Sub-classification used to extend the semantics of an object without changing its structure. It can be predefined or user-defined
ID ID of the selector. Its value must be of type ID and unique within the model containing the selector

Steps To display a selector property sheet:

  1. Type an XPath expression in the Selector groupbox of an identity constraint (unique, key or keyRef) property sheet.
  2. Click Apply.
  3. Click the Properties tool beside the XPath box.

    The selector property sheet appears.
  4. Define the selector properties in the different pages of the property sheet.
  5. Click OK.

 


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