summaryrefslogtreecommitdiff
path: root/lib/xmerl/test/xmerl_xsd_SUITE_data/complexTypes2.xml
blob: 80687b9c1c96cb15fce83edd955f0dfcabcb2430 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
<?xml version="1.0"?>
<apo:purchaseOrder2 xmlns:apo="http://www.example.com/ComplexTypes"
                   orderDate="1999-10-20">
  <shipTo country="US">
    <name>Alice Smith</name>
    <street>123 Maple Street</street>
    <!-- etc. -->
      <city>Mill Valley</city>
      <state>CA</state>
      <zip>90952</zip>
      <contact>
          <phone>081234567</phone>
          <e-mail>alice.smith@home.us</e-mail>
          <cell-phone>070122345</cell-phone>
          <prefCont>
               <cell-phone>070122345</cell-phone>
          </prefCont>
      </contact>
  </shipTo>
  <billTo country="US">
    <name>Robert Smith</name>
    <street>8 Oak Avenue</street>
    <!-- etc. -->
      <city>Old Town</city>
      <state>PA</state>
      <zip>95819</zip>
  </billTo>
  <apo:comment>Hurry, my lawn is going wild!</apo:comment>
  <!-- etc. -->
   <items>
      <item partNum="872-AA">
         <productName>Lawnmower</productName>
         <quantity>1</quantity>
         <USPrice>148.95</USPrice>
         <comment>Confirm this is electric</comment>
      </item>
      <item partNum="926-AA">
         <productName>Baby Monitor</productName>
         <quantity>1</quantity>
         <USPrice>39.98</USPrice>
         <shipDate>1999-05-21</shipDate>
      </item>
   </items>
</apo:purchaseOrder2>