I've got so many questions about different aspects and if I'm doing it right or not, but maybe I'll just post my attempt at writing an XML database and hopefully someone will be kind enough to come along and tell me if there are some things that need changing before it can be called a good example of XML:
<?xml version="1.0" encoding="iso-8859-1"?>
<Customers>
<Customer>
<CustomerID="CID-0001">
<FName>John</FName>
<LName>Drake</LName>
<Add1>14221 Eagle St.</Add1>
<Add2>Anaheim, CA 94738</Add2>
<Add3></Add3>
<Email>thedrakester@bunghole.com</Email>
<Phone>714-797-7453</Phone>
<TypicalAmountDue></TypicalAmountDue>
<Notes></Notes>
<Current>No</Current>
</Customer>
<Customer>
<CustomerID="CID-0002">
<FName>Shiela</FName>
<LName>Simpson</LName>
<Add1>924 Monterry St.</Add1>
<Add2>Homerville, FL 43792</Add2>
<Add3></Add3>
<Email>shielas@nowhere.com</Email>
<Phone>526-426-8563,526-426-4921</Phone>
<TypicalAmountDue></TypicalAmountDue>
<Notes></Notes>
<Current>Yes</Current>
</Customer>
<Customer>
<CustomerID="CID-0003">
<FName>David</FName>
<LName>Blaine</LName>
<Add1>40401 Starvation Rd.</Add1>
<Add2>Apt. 101</Add2>
<Add3>Weirdoton, AL 39412</Add3>
<Email>davidb@maninabox.com</Email>
<Phone>no phone</Phone>
<TypicalAmountDue>$5,000</TypicalAmountDue>
<Notes>needs a cheeseburger</Notes>
<Current>Yes</Current>
</Customer>
</Customers>
<BillPeriods>
<BillPeriod>
<BPName>January 2004</BPName>
<BPStart>2004/01/01</BPStart>
<BPEnd>2004/01/31</BPEnd>
<BillSent>2004/01/01</BillSent>
</BillPeriod>
<BillPeriod>
<BPName>February 2004</BPName>
<BPStart>2004/02/01</BPStart>
<BPEnd>2004/02/29</BPEnd>
<BillSent>2004/02/02</BillSent>
</BillPeriod>
<BillPeriod>
<BPName>March 2004</BPName>
<BPStart>2004/03/01</BPStart>
<BPEnd>2004/03/31</BPEnd>
<BillSent>2004/03/01</BillSent>
</BillPeriod>
</BillPeriods>
<InvoiceItems>
<InvoiceItem>
<InvoiceItemID="II-0001">
<ItemPrice>$80.00</ItemPrice>
<ItemDescription>Comprehensive Monthly Pool Service<ItemDescription>
</InvoiceItem>
<InvoiceItem>
<InvoiceItemID="II-0002">
<ItemPrice>$80.00</ItemPrice>
<ItemDescription>Monthly Spa Service<ItemDescription>
</InvoiceItem>
</InvoiceItems>
<InvoiceRecords>
<InvoiceRecord>
<InvoiceBP>January 2004</InvoiceBP>
<InvoiceCustomerID>CID-0001</InvoiceCustomerID>
<InvoiceItem1>II-0001<InvoiceItem1>
<InvoiceItem2>II-0002<InvoiceItem2>
<InvoiceItem3><InvoiceItem3>
<InvoiceItem4><InvoiceItem4>
<InvoiceItem5><InvoiceItem5>
</InvoiceRecord>
</InvoiceRecords>
<?xml version="1.0" encoding="iso-8859-1"?>
<Customers>
<Customer>
<CustomerID="CID-0001">
<FName>John</FName>
<LName>Drake</LName>
<Add1>14221 Eagle St.</Add1>
<Add2>Anaheim, CA 94738</Add2>
<Add3></Add3>
<Email>thedrakester@bunghole.com</Email>
<Phone>714-797-7453</Phone>
<TypicalAmountDue></TypicalAmountDue>
<Notes></Notes>
<Current>No</Current>
</Customer>
<Customer>
<CustomerID="CID-0002">
<FName>Shiela</FName>
<LName>Simpson</LName>
<Add1>924 Monterry St.</Add1>
<Add2>Homerville, FL 43792</Add2>
<Add3></Add3>
<Email>shielas@nowhere.com</Email>
<Phone>526-426-8563,526-426-4921</Phone>
<TypicalAmountDue></TypicalAmountDue>
<Notes></Notes>
<Current>Yes</Current>
</Customer>
<Customer>
<CustomerID="CID-0003">
<FName>David</FName>
<LName>Blaine</LName>
<Add1>40401 Starvation Rd.</Add1>
<Add2>Apt. 101</Add2>
<Add3>Weirdoton, AL 39412</Add3>
<Email>davidb@maninabox.com</Email>
<Phone>no phone</Phone>
<TypicalAmountDue>$5,000</TypicalAmountDue>
<Notes>needs a cheeseburger</Notes>
<Current>Yes</Current>
</Customer>
</Customers>
<BillPeriods>
<BillPeriod>
<BPName>January 2004</BPName>
<BPStart>2004/01/01</BPStart>
<BPEnd>2004/01/31</BPEnd>
<BillSent>2004/01/01</BillSent>
</BillPeriod>
<BillPeriod>
<BPName>February 2004</BPName>
<BPStart>2004/02/01</BPStart>
<BPEnd>2004/02/29</BPEnd>
<BillSent>2004/02/02</BillSent>
</BillPeriod>
<BillPeriod>
<BPName>March 2004</BPName>
<BPStart>2004/03/01</BPStart>
<BPEnd>2004/03/31</BPEnd>
<BillSent>2004/03/01</BillSent>
</BillPeriod>
</BillPeriods>
<InvoiceItems>
<InvoiceItem>
<InvoiceItemID="II-0001">
<ItemPrice>$80.00</ItemPrice>
<ItemDescription>Comprehensive Monthly Pool Service<ItemDescription>
</InvoiceItem>
<InvoiceItem>
<InvoiceItemID="II-0002">
<ItemPrice>$80.00</ItemPrice>
<ItemDescription>Monthly Spa Service<ItemDescription>
</InvoiceItem>
</InvoiceItems>
<InvoiceRecords>
<InvoiceRecord>
<InvoiceBP>January 2004</InvoiceBP>
<InvoiceCustomerID>CID-0001</InvoiceCustomerID>
<InvoiceItem1>II-0001<InvoiceItem1>
<InvoiceItem2>II-0002<InvoiceItem2>
<InvoiceItem3><InvoiceItem3>
<InvoiceItem4><InvoiceItem4>
<InvoiceItem5><InvoiceItem5>
</InvoiceRecord>
</InvoiceRecords>