Sybase XML manual Defining an identity constraint selector

Models: XML

1 290
Download 290 pages 48.58 Kb
Page 82
Image 82

Defining identity constraints

™To create an identity constraint from an element property sheet:

1 Click the Constraints tab of an element property sheet.

2Click the Add Unique, Add Key or Add KeyRef Constraint tool in the Constraints page.

An identity constraint appears in the list with predefined name and code (a unique constraint in the example).

3Modify the name and the code of the identity constraint.

4Click OK.

Defining an identity constraint selector

An identity constraint selector specifies an XPath expression that selects a set of elements for an identity constraint (unique, key or keyRef).

An XPath expression is limited to a subset of the full XPath language defined in the W3C Recommendation XML Path Language 1.0.

An XPath expression allows you to locate a node (an element with its ramifications) in the hierarchical tree structure of an XML document.

70

PowerDesigner

Page 82
Image 82
Sybase XML manual Defining an identity constraint selector