File: simple6.xml

package info (click to toggle)
libjibx1.2-java 1.2.6-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 26,260 kB
  • sloc: java: 75,013; xml: 14,068; makefile: 17
file content (34 lines) | stat: -rw-r--r-- 1,118 bytes parent folder | download | duplicates (10)
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
<customers>
  <count>4</count>
  <customerA repeat-customer="true">
    <customer-id>12345</customer-id>
    <baseA state="WA" zip="98059">
      <name first-name="John" last-name="Smith"/>
      <street1>12345 Happy Lane</street1>
      <city>Plunk</city>
    </baseA>
    <order-count>3</order-count>
  </customerA>
  <customerA repeat-customer="false">
    <customer-id>83838</customer-id>
    <baseA state="WA" zip="98059">
      <name first-name="Mary" last-name="Smith"/>
      <street1>12345 Happy Lane</street1>
      <city>Plunk</city>
    </baseA>
  </customerA>
  <customerB repeat-customer="true" state="WA" zip="98095">
    <customer-id>12346</customer-id>
    <name first-name="Larry" last-name="Adams"/>
    <street1>12345 Plunket Lane</street1>
    <city>Happy</city>
    <order-count>4</order-count>
  </customerB>
  <customerB repeat-customer="true" state="WA" zip="98095" discount="0.9">
    <customer-id>83222</customer-id>
    <name first-name="Gary" last-name="Adams"/>
    <street1>12345 Plunket Lane</street1>
    <city>Happy</city>
    <order-count>2</order-count>
  </customerB>
</customers>