[xhtml]

Groups, Keys, and Redefine

R. Alexander Milowski

milowski at sims.berkeley.edu

#1

Re-usable Definitions

#2

Attribute Groups

#3

Attribute Groups - Syntax

#4

Attribute Groups - Example - Part 1

#5

Attribute Groups - Example - Part 2

#6

Using Attribute Groups

#7

Model Groups

#8

Model Group Syntax

#9

Model Group Example - Part 1

#10

Model Group Example - Part 2

#11

Identity Constraints

#12

Kinds of Identity Constraints

  1. Uniqueness constraints: A combination of values is unique within a scope when present.

  2. Key constraints: A uniqueness constraint where the values must be present.

  3. Key references: A reference to some key value.

#13

Selectors

#14

Fields

#15

XPath Subset

#16

Uniqueness Constraints

#17

Uniqueness Example

#18

Key Constraints

#19

Key Example

#20

Key References

#21

Key Reference Example

#22

Redefine

#23

Like an Include

#24

Redefining Simple Types

#25

Redefining Simple Types - Example

#26

Redefining Complex Types

#27

Redefining Complex Types - Example

#28

Redefining a Model Group

#29

Redefining a Model Group - Example

#30

Redefining an Attribute Group

#31

Redefining an Attribute Group - Example