<?xml version="1.0" encoding="UTF-8"?>

<idConstraintDemo
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xsi:noNamespaceSchemaLocation="http://www.XMLSchemaReference.com/examples/Ch13/idConstraintsDemo.xsd">

<compressedOrder>
    <order orderID="X012532"
           shipmentID="X012432-S"
           totalQuantity="3">
        <customerID>AW132E57</customerID>
        <item>
            <partNumber>ASM9001</partNumber>
            <quantity>3</quantity>
        </item>
    </order>
    <order orderID="X012533"
           totalQuantity="2">
        <customerID>AW220A38</customerID>
        <item>
            <partNumber>UX001</partNumber>
            <quantity>1</quantity>
        </item>
        <item>
            <partNumber>UX002</partNumber>
            <quantity>1</quantity>
        </item>
    </order>
</compressedOrder>

<shippedOrderSummary>
    <shipped shipmentID="X012432-S" custID="AW132E57" qty="3"/>
</shippedOrderSummary>

<customerList>
    <businessCustomer customerID="SAM132E57">
        <name>Cliff Binstock</name>
        <phoneNumber>503-555-0000</phoneNumber>
        <address>
            <street>123 Gravel Road</street>
            <city>Nowheresville</city>
            <state>OR</state>
            <country>US</country>
            <zip>97000</zip>
            <effectiveDate>2001-11-08</effectiveDate>
        </address>
    </businessCustomer>
</customerList>

<catalog>
    <unitPart>
        <unitID>10327</unitID>
        <partName>Unit 1</partName>
        <partNumber>UX001</partNumber>
        <partOption>
            <color>magenta</color>
        </partOption>
        <description>Unit 1 is the thing to buy</description>
        <fullPrice>28.00</fullPrice>
        <includedQuantity>1</includedQuantity>
    </unitPart>
    <unitPart>
        <unitID>10329</unitID>
        <partName>Unit 2</partName>
        <partNumber>UX002</partNumber>
        <partOption>
            <color>Pink Grapefruit</color>
        </partOption>
        <description>Unit 2 lasts longer than Unit 1</description>
        <fullPrice>28.01</fullPrice>
        <includedQuantity>1</includedQuantity>
    </unitPart>
    <assemblyPart>
        <assemblyID>40004788</assemblyID>
        <partName>Assembly 1</partName>
        <partNumber>ASM9001</partNumber>
        <description>
            This is made up of both
            <partList>UX002 UX003</partList>
            pieces which makes this assembly
            better than the competition.
        </description>
        <fullPrice>3200.00</fullPrice>
        <includedQuantity>1</includedQuantity>
        <customerReview>
            <customerName>I. M. Happy</customerName>
            <customerFeedback>This is the most
awesome phat product in the entire.
    world.</customerFeedback>
        </customerReview>
        <partList>UX002 UX003</partList>
        <status>3</status>
    </assemblyPart>
</catalog>

</idConstraintDemo>
