summaryrefslogtreecommitdiffstats
path: root/sca-cpp/tags/cpp-stable-20060304/sdo/runtime/core/test/47293Customer.xsd
blob: 9f09b17244a921254e1ae3b35f340ae9e9cf1712 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
 xmlns:cust="customerNS" targetNamespace="customerNS">
  <element name="customer" type="cust:CustomerType">
    <complexType name="CustomerType">
      <sequence>
        <element name="customerId" type="ID"/>
        <element name="name" type="string"/>
        <element name="shipping" type="cust:AddressType">
          <complexType name="AddressType">
            <element name="street" type="string"/>
            <element name="city" type="string"/>
            <element name="state" type="string"/>
            <element name="zip" type="string"/>
          </complexType>
        </element>
		<element name="payment" ref="cust:payment"/>
      </sequence>
    </complexType>
  </element>

  <element name="payment" type="cust:PaymentType">
    <complexType name="PaymentType">
      <element name="paymentId" type="ID"/>
      <element name="accountNo" type="string"/>
      <element name="bank" type="string"/>
      <element name="securityCode" type="string"/>
      <element name="amount" type="string"/>
    </complexType>
  </element>
</schema>