• Interesting, Very interesting... In addition to the comments above I'd also take issue with your xml implementation.

    <Product>

    <ProductID>1</ProductID>

    <ProductName>Chai</ProductName>

    <CompanyName>Lehmanns Marktstand</CompanyName>

    <ShippersName>Speedy Express</ShippersName>

    <OrderDate>12/07/2013</OrderDate>

    <UnitPrice>18.0000</UnitPrice>

    <Quantity>40</Quantity>

    <Discount>0.15</Discount>

    </Product>

    XML also supports attributes, If you use attributes, then you XML will be half the string size,

    e.g. <Product ProductID="1" ProductName="Chai" />

    Also you should have a user defined function to escape the four XML sequences

    also you should alias the Attribute Names

    e.g. <Prod ID="1" PN="Chai" /> shorter again....