XML Data Format Example

XML allows the same data to be used for multiple presentation media. In Figure XML Data File XML data file is shown formatted for printing with PPFA's XML support.

XML Data File

<?xml version="1.0" ?>
<?xml:stylesheet type="text/xsl" href=bbbank.xsl"?>
<!--                                                -->
<!-- Data for XML Example                           -->
<!--                                                -->
<document>
<bankstatement>
 <customer>
  <acctno>026-257311</acctno>
  <name>Justin Case</name>
  <street>123 Redlight Lane</street>
  <cityst>Twistnshout, MA 02345</cityst>
 </customer>
 <begindate>JAN 02, 2002</begindate>
 <enddate>FEB 01, 2002</enddate>
<!--                                                -->
<!-- Page number generator                          -->
<!--                                                -->
 <pagenumber>
<!--                                                -->
<!-- New account type = Super Checking Account      -->
<!--                                                -->
 <supercheckingactivity type="superchk">
  <balance>
   <begin>2591.24</begin>
   <credit>1946.93</credit>
   <debit>1956.43</debit>
   <svchg>0.00</svchg>
   <end>0.00</end>
  </balance>
<!--                                                -->
<!-- Credit                                         -->
<!--                                                -->
  <credits>
   <transaction>
    <type>DEPOSIT</type>
    <date>01/05/2002</date>
    <amt> 26.90</amt>
   </transaction>
   <transaction>
    <type>AUTO DEPOSIT</type>
    <date>01/05/2002</date>
    <amt> 954.27</amt>
   </transaction>
   <transaction>
    <type>AUTO DEPOSIT</type>
    <date>01/30/2002</date>
    <amt> 954.27</amt>
   </transaction>
   <transaction>
    <type>INTEREST</type>
    <date>01/31/2002</date>
    <amt>  11.49</amt>
   </transaction>
   <total>
  </credits>
<!--                                                -->
<!-- Checks                                         -->
<!--                                                -->
  <checks>
   <transa