September 2002
Intermediate to advanced
1008 pages
22h 3m
English
The examples in this section provide a fairly condensed, but complete XML schema and a corresponding XML instance. Listing 13.1 demonstrates more than one example of each type of identity constraint (unique, key, and keyref). The remaining sections of this chapter reiterate excerpts from this schema to emphasize specific characteristics of the identity constraints.
<xsd:complexType name="compressedOrderType"> <xsd:sequence> <xsd:element name="order" minOccurs="1" maxOccurs="unbounded"> <xsd:complexType> <xsd:sequence> <xsd:element name="customerID" type="xsd:token"/> <xsd:element name="item" minOccurs="1" maxOccurs="unbounded"> <xsd:complexType> ... |
Read now
Unlock full access