Download

PDF is built with this XML Data structure:


<doc>
  <category>letter</category>
  <recipient>
    <field1>Max Maier</field1>
    <field2>Bahnstraße 99</field2>
    <field3>12312 Musterhausen</field3>
    <field4>Deutschland</field4>
  </recipient>
  <subject>Bestellung vom  01.07.2014</subject>
  <description>
    <order>Ihre telefonische Bestellung ..</order>
    <contact>Max Meier</contact>
    <date>30.09.2010</date>
    <invoice>PSY_1012</invoice>
 </description>
 
 
<purchase>
 <title>
  <nr>#</nr>
  <id>Artikelnr.</id>
  <name>Produkt</name>
  <quantity>Menge</quantity>
  <price>Preis</price>
  <total>Total</total>
  <sumcosts>Summe:</sumcosts>
 </title>
 <products>
   <product>
    <nr>1</nr>
    <id>A1B2C3</id>
    <name>Pizza</name>
    <quantity>2</quantity>
    <price>4.99 €</price>
    <total>8.98 €</total>
   </product>
...
</products>
   <summary>
      <subtotal>16.48 €</subtotal>
      <tax>3.13 €</tax>
      <globalsum>19.61 €</globalsum>
   </summary>
</purchase>
<text>....</text>
</doc>