Exemplary Data Structure and Data
Exemplary Data Structure
As you can see, every invoice has an invoice header, the recipient's address and one or several items. Every item again has a header and may contain several data sets of detail or additional information. In the node Sums the sum of all item totals is calculated.
|
|
|
|
Whole structure, top level. |
Expanded nodes Header and Address. |
Expanded nodes ItemHeader, ItemDetail and ItemAddition. |
Expanded node Sums. |
Exemplary Data
RK;R2006-100;C0815;20.02.2006;A2006-98;23.02.2006;L2006-98
AD;Miller;Peter;10 Main Street;CM19 6EA;Anytown;Mr
RP;1;4711;1;"Hard Disc Drive Turbo 300";149.99;149.99
PD;"Internal Hard Disc Drive Turbo 300, EIDE, 300 GB"
RP;2;4712;1;"DVD Burner";89.99;89.99
PD;"External DVD Burner, USB2"
RP;3;4713;5;"Blank DVD Discs";2.99;14.95
PD;"Blank DVD-RW Discs"
RP;4;4714;2;"Toner";129.99;259.89
PD;"Toner Cartridge for Laser Printer"
PD;"Suitable for HP Laserjet"
RK;R2006-101;C0300;21.02.2006;A2006-102;23.02.2006;L2006-102
AD;Brown;Mary;77 Royal Terrace;CM18 6EB;Greattown;Mrs
RP;1;8810;1;"All-in-One System";499.99;499.99
PD;"All-in-One Desktop PC"
PD;"Processor: Athlon 3,2 GHz"
PD;"1 GB RAM"
PZ;"Special offer"
RP;2;8820;1;"USB Flash Drive";49.98;49.98
PD;"USB Flash Drive, 1 GB, USB2"
RP;3;8830;1;"SUSE";39.95;39.95
PD;"SUSE Linux Professional"
PD;"Version 10.0"