<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:j4lif="http://java4less.com/fop/iform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:j4lext="xalan://com.java4less.xreport.fop.XLSTExtension"  extension-element-prefixes="j4lext j4luserext" xmlns:j4luserext="xalan://com.java4less.xreport.fop.XLSTDummyExtension"  >

<lic xmlns="com.java4less.xreport.fop.lic" >
<data>PGNvbXBhbnk+PG5hbWU+T3JhY2xlIEZpbmFuY2lhbCBTZXJ2aWNlcyBTb2Z0d2FyZSBMaW1pdGVkPC9uYW1lPjxkYXRlPjI1LTA1LTIwMjE8L2RhdGU+PG51bWJlcj45OTIzPC9udW1iZXI+PHR5cGU+ZW50ZXJwcmlzZTwvdHlwZT48L2NvbXBhbnk+</data>
<hash>6vOnZgr+qYx1kllEmnDhI0hkBnY=</hash></lic>
<xsl:template match="/">
<xsl:comment> Generated by J4L FO Designer 2.15.*</xsl:comment>
<xsl:comment> Apex Encoding: false</xsl:comment>
<xsl:comment> Target environment: cloud</xsl:comment>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:fox="http://xmlgraphics.apache.org/fop/extensions">
<fo:layout-master-set>
<xsl:comment> ID Master1 033d9b42-157f-436d-8ca6-0feddf9c4be3</xsl:comment>
<fo:simple-page-master master-name="master0" page-width="21.0cm" page-height="29.7cm" margin-top="2.0cm"   margin-bottom="2.0cm" margin-left="2.0cm"  margin-right="2.0cm"  > 
  <fo:region-body  region-name="body0" margin-top="0.43cm" margin-bottom="3.0cm"  /> 
  <fo:region-before region-name="header0" extent="0.43cm"/> 
  <fo:region-after region-name="footer0" extent="3.0cm"/> 
  </fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="master0">

<xsl:comment> START Page sequence Master1 </xsl:comment>
<fo:static-content flow-name="header0">
<xsl:comment> ID Page Header  fa970071-0bbc-487e-bc4c-4cd42f090b03</xsl:comment>
<fo:table  table-layout="fixed"  width="17.0cm"   >
  <fo:table-column column-width="17.0cm"/>
  <fo:table-body>
<xsl:comment> repetition of Page Header </xsl:comment>
    <fo:table-row   height="0.43cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="17.0cm"/>
      <fo:table-body>
      <fo:table-row   height="0.43cm"  >
        <fo:table-cell    number-columns-spanned="1">
<fo:block />
        </fo:table-cell>
    </fo:table-row>
    </fo:table-body>
    </fo:table>
    </fo:table-cell>
    </fo:table-row>
  </fo:table-body>
</fo:table>


</fo:static-content>
<fo:static-content flow-name="footer0">
<xsl:comment> ID Page Footer  ea496f34-b98d-4511-86f3-44d34db3280c</xsl:comment>
<fo:table  table-layout="fixed"  width="17.0cm"   >
  <fo:table-column column-width="17.0cm"/>
  <fo:table-body>
<xsl:comment> repetition of Page Footer </xsl:comment>
    <fo:table-row   height="3.0cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="17.0cm"/>
      <fo:table-body>
      <fo:table-row   height="3.0cm"  >
        <fo:table-cell    number-columns-spanned="1">
<fo:block />
        </fo:table-cell>
    </fo:table-row>
    </fo:table-body>
    </fo:table>
    </fo:table-cell>
    </fo:table-row>
  </fo:table-body>
</fo:table>

</fo:static-content>
<fo:flow flow-name="body0"> 

<xsl:comment> START Area Report Header  </xsl:comment>
<xsl:if test="data" >
  <xsl:for-each select="data">
<xsl:comment> repetition of Report Header </xsl:comment>
<xsl:comment> ID Report Header  2756126b-88d2-41f9-a9e0-e52088a5f035</xsl:comment>
<fo:table table-layout="fixed"  width="17.0cm"  >
  <fo:table-column column-width="17.0cm"/>
  <fo:table-body>
    <fo:table-row   height="0.0cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="17.0cm"/>
      <fo:table-body>
      <fo:table-row   height="0.0cm"  >
        <fo:table-cell    number-columns-spanned="1">
<fo:block />
        </fo:table-cell>
    </fo:table-row>
    </fo:table-body>
    </fo:table>
    </fo:table-cell>
    </fo:table-row>
 <fo:table-row>
 <fo:table-cell number-columns-spanned="1">
 <fo:block>
 
<xsl:comment> START Area Detail area 1 </xsl:comment>
 <xsl:comment> ID Detail area 1 2faceac1-81de-49f5-9830-62e22b576378</xsl:comment>

<xsl:comment> ID ifcasa start 075bff95-de98-45b4-9502-82ddfe4a3657</xsl:comment>
<xsl:variable name="Ifcasa" select="/data/accountDetailsModel/processRefNo" />
 <xsl:choose>
<xsl:when test="$Ifcasa != ''"> <fo:table  table-layout="fixed"  width="17.0cm"   >
   <fo:table-column column-width="17.0cm"/>
   <xsl:comment> ID Detail header 1 60609424-5e10-4d7f-9b53-b360d3a66bec</xsl:comment>
   <fo:table-header>
     <fo:table-row   height="0.43cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="17.0cm"/>
       <fo:table-body>
       <fo:table-row   height="0.43cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
     <fo:table-row   height="0.72cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="13.25cm"/>
      <fo:table-column column-width="3.75cm"/>
       <fo:table-body>
       <fo:table-row   height="0.72cm"  >
           <fo:table-cell    number-columns-spanned="1">
         <fo:block></fo:block>

         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID bankName 857929f8-6df2-4bbe-8118-6788d4f6dfcf</xsl:comment>
       <fo:block   font-size="10pt"  font-family="Times"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="0.6cm"  margin-top="0.08cm"   > <xsl:value-of select="accountDetailsModel/bankName"  ></xsl:value-of>
       </fo:block>

         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
     <fo:table-row   height="0.61cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="13.25cm"/>
      <fo:table-column column-width="3.75cm"/>
       <fo:table-body>
       <fo:table-row   height="0.61cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID branchName ecd1e0bb-cfc2-4f36-984f-7950d89c6044</xsl:comment>
       <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="0.5cm"  margin-top="0.0cm"   > <xsl:value-of select="branchName"  ></xsl:value-of>
       </fo:block>

         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
     <fo:table-row   height="1.49cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="13.25cm"/>
      <fo:table-column column-width="3.75cm"/>
       <fo:table-body>
       <fo:table-row   height="1.49cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID date e563ad49-d3a3-48e8-aa79-41093b57d6d1</xsl:comment>
       <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="0.42cm"  margin-top="0.0cm"   > <xsl:value-of select="applicantDetails/applicationDate"  ></xsl:value-of>
       </fo:block>

         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
     <fo:table-row   height="0.75cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="0.45cm"/>
      <fo:table-column column-width="16.55cm"/>
       <fo:table-body>
       <fo:table-row   height="0.75cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID Copy of To 815bd9bc-7d01-452d-afdc-006f1f5740dc</xsl:comment>
       <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="14.55cm"  margin-top="0.0cm"   > To,
       </fo:block>

         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
     <fo:table-row   height="0.6cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="0.45cm"/>
      <fo:table-column column-width="16.55cm"/>
       <fo:table-body>
       <fo:table-row   height="0.6cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID CustomerName ac951008-af61-432b-945e-c57c2d21b9e6</xsl:comment>
       <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="10.04cm"  margin-top="0.0cm"   > <xsl:value-of select="applicantDetails/applicantDetailsModel/fullName"  ></xsl:value-of>
       </fo:block>

         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
     <fo:table-row   height="0.6cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="0.45cm"/>
      <fo:table-column column-width="16.55cm"/>
       <fo:table-body>
       <fo:table-row   height="0.6cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID buildingName 976a4a60-4fe3-4b6a-b134-d98696789e59</xsl:comment>
       <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="10.12cm"  margin-top="0.0cm"   > <xsl:value-of select="applicantDetails/applicantDetailsModel/address/buildingName"  ></xsl:value-of>
       </fo:block>

         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
     <fo:table-row   height="0.6cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="0.45cm"/>
      <fo:table-column column-width="16.55cm"/>
       <fo:table-body>
       <fo:table-row   height="0.6cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID streetName 8527a7e0-b246-4619-a915-4d706c82a8df</xsl:comment>
       <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="9.62cm"  margin-top="0.0cm"   > <xsl:value-of select="applicantDetails/applicantDetailsModel/address/streetName"  ></xsl:value-of>
       </fo:block>

         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
     <fo:table-row   height="0.6cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="0.45cm"/>
      <fo:table-column column-width="16.55cm"/>
       <fo:table-body>
       <fo:table-row   height="0.6cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID city a9d93d15-437a-4513-bc0d-179bf9bd6372</xsl:comment>
       <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="9.67cm"  margin-top="0.0cm"   > <xsl:value-of select="applicantDetails/applicantDetailsModel/address/city"  ></xsl:value-of>
       </fo:block>

         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
     <fo:table-row   height="0.6cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="0.45cm"/>
      <fo:table-column column-width="16.55cm"/>
       <fo:table-body>
       <fo:table-row   height="0.6cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID state e84478de-05c0-4fa3-b9f3-b3febf3dba1d</xsl:comment>
       <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="9.67cm"  margin-top="0.0cm"   > <xsl:value-of select="applicantDetails/applicantDetailsModel/address/state"  ></xsl:value-of>
       </fo:block>

         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
     <fo:table-row   height="0.89cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="0.45cm"/>
      <fo:table-column column-width="16.55cm"/>
       <fo:table-body>
       <fo:table-row   height="0.89cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID pincode 3e7507a4-2eda-4c73-8b33-3914ebf13e84</xsl:comment>
       <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="11.0cm"  margin-top="0.0cm"   > <xsl:value-of select="applicantDetails/applicantDetailsModel/address/pinCode"  ></xsl:value-of>
       </fo:block>

         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
     <fo:table-row   height="0.75cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="0.43cm"/>
      <fo:table-column column-width="1.77cm"/>
      <fo:table-column column-width="14.8cm"/>
       <fo:table-body>
       <fo:table-row   height="0.75cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID Attent 970250a3-bd91-44d2-a069-c28f89730427</xsl:comment>
       <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="0.23cm"  margin-top="0.0cm"   > Attention :
       </fo:block>

         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID mrmrs 4346c66c-add6-45db-9dd6-1cb81d75ff9f</xsl:comment>
       <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="1.84cm"  margin-top="0.03cm"   > <xsl:value-of select="applicantDetails/applicantDetailsModel/fullName"  ></xsl:value-of>
       </fo:block>

         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
     <fo:table-row   height="1.65cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="0.45cm"/>
      <fo:table-column column-width="16.55cm"/>
       <fo:table-body>
       <fo:table-row   height="1.65cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID Copy of Re CASA 91390293-d126-4015-abe2-4ef41bfd9c92</xsl:comment>
      <fo:block-container  width="13.68cm" margin-left="0.0cm" margin-top="0.0cm"   >       <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"  margin-right="0cm" margin-left="0cm"  margin-top="0cm" >  <fo:block-container>
 <fo:block  wrap-option="wrap"  text-align="left">
<fo:inline background-color="#ffffff" color="#000000" font-size="10pt"  font-family="SansSerif" > 
<xsl:variable name="var1" >
 <xsl:call-template name="string-replace-all">
 <xsl:with-param name="text" select="&quot;Rejection of $1 $2 for $3&quot;" />
 <xsl:with-param name="replace" select="'$1'" />
 <xsl:with-param name="by" select="issueOfferDetailsModel/approvedAmountCurrency" />
 </xsl:call-template>
 </xsl:variable>
 <xsl:variable name="var2" >
 <xsl:call-template name="string-replace-all">
 <xsl:with-param name="text" select="$var1" />
 <xsl:with-param name="replace" select="'$2'" />
 <xsl:with-param name="by" select="issueOfferDetailsModel/approvedAmount" />
 </xsl:call-template>
 </xsl:variable>
 <xsl:variable name="var3" >
 <xsl:call-template name="string-replace-all">
 <xsl:with-param name="text" select="$var2" />
 <xsl:with-param name="replace" select="'$3'" />
 <xsl:with-param name="by" select="issueOfferDetailsModel/businessProductName" />
 </xsl:call-template>
 </xsl:variable>
 <xsl:value-of select="$var3"   ></xsl:value-of>
</fo:inline>
 </fo:block>
 </fo:block-container>
</fo:block>
       </fo:block-container>

         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
     <fo:table-row   height="0.53cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="0.29cm"/>
      <fo:table-column column-width="16.71cm"/>
       <fo:table-body>
       <fo:table-row   height="0.53cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
         <fo:block></fo:block>

         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
   </fo:table-header>
   <fo:table-body>
 <xsl:comment> repetition of Detail area 1</xsl:comment>
     <fo:table-row   height="0.43cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="17.0cm"/>
       <fo:table-body>
       <fo:table-row   height="0.43cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
    </fo:table-body>
 </fo:table>
 

<xsl:comment> ID ifcasaEnd fd7669e0-f275-45c7-be55-a90d55ba0001</xsl:comment>
</xsl:when>
</xsl:choose>
 <xsl:comment> END Area Detail area 1 </xsl:comment>
 </fo:block>
 </fo:table-cell>
 </fo:table-row>
 <fo:table-row>
 <fo:table-cell number-columns-spanned="1">
 <fo:block>
 
<xsl:comment> START Area Detail area 3 </xsl:comment>
 <xsl:comment> ID Detail area 3 cfc7b436-1946-4f4f-891e-f5cf3ff57bf7</xsl:comment>

<xsl:comment> ID ifloans start 7d414f06-f3bf-49c7-bddb-78e5bc48f9f5</xsl:comment>
<xsl:variable name="Ifloans" select="/data/loanDetails/loanAmount" />
 <xsl:choose>
<xsl:when test="$Ifloans != ''"> <fo:table  table-layout="fixed"  width="17.0cm"   >
   <fo:table-column column-width="17.0cm"/>
   <xsl:comment> ID Detail header 3 d26a4dba-c4bf-4af4-a1ee-37f38e674a61</xsl:comment>
   <fo:table-header>
     <fo:table-row   height="0.48cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="17.0cm"/>
       <fo:table-body>
       <fo:table-row   height="0.48cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
   </fo:table-header>
   <fo:table-body>
 <xsl:comment> repetition of Detail area 3</xsl:comment>
     <fo:table-row   height="0.59cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="17.0cm"/>
       <fo:table-body>
       <fo:table-row   height="0.59cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
     <fo:table-row   height="0.8cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="13.87cm"/>
      <fo:table-column column-width="3.13cm"/>
       <fo:table-body>
       <fo:table-row   height="0.8cm"  >
           <fo:table-cell    number-columns-spanned="1">
         <fo:block></fo:block>

         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID BankName 68fd65ac-c147-4d32-8a9a-6afbfd3b8e73</xsl:comment>
       <fo:block   font-size="10pt"  font-family="Times"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="1.13cm"  margin-top="0.19cm"   > <xsl:value-of select="loanDetails/bankName"  ></xsl:value-of>
       </fo:block>

         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
     <fo:table-row   height="0.59cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="13.87cm"/>
      <fo:table-column column-width="3.13cm"/>
       <fo:table-body>
       <fo:table-row   height="0.59cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID BranchName e71ecf63-05b6-4a10-913d-144a29adb64b</xsl:comment>
       <fo:block   font-size="10pt"  font-family="Times"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="0.6cm"  margin-top="0.0cm"   > <xsl:value-of select="loanDetails/branchName"  ></xsl:value-of>
       </fo:block>

         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
     <fo:table-row   height="1.33cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="13.84cm"/>
      <fo:table-column column-width="3.16cm"/>
       <fo:table-body>
       <fo:table-row   height="1.33cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID date 60a9b2bb-ab7a-4cb6-9319-2d2ace81632e</xsl:comment>
       <fo:block   font-size="10pt"  font-family="Times"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="0.57cm"  margin-top="0.0cm"   > <xsl:value-of select="loanDetails/applicationDate"  ></xsl:value-of>
       </fo:block>

         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
     <fo:table-row   height="0.72cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="0.45cm"/>
      <fo:table-column column-width="16.55cm"/>
       <fo:table-body>
       <fo:table-row   height="0.72cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID Copy of To 73d3099c-738b-414f-864a-8f1a533d17cb</xsl:comment>
       <fo:block   font-size="10pt"  font-family="Times"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="14.55cm"  margin-top="0.0cm"   > To,
       </fo:block>

         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
     <fo:table-row   height="0.56cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="0.45cm"/>
      <fo:table-column column-width="16.55cm"/>
       <fo:table-body>
       <fo:table-row   height="0.56cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID customerName fcc7323a-b1bc-485e-8e7f-46e70efebb30</xsl:comment>
       <fo:block   font-size="10pt"  font-family="Times"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="11.11cm"  margin-top="0.0cm"   > <xsl:value-of select="applicantDetails/applicantDetailsModel/fullName"  ></xsl:value-of>
       </fo:block>

         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
     <fo:table-row   height="0.59cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="0.45cm"/>
      <fo:table-column column-width="16.55cm"/>
       <fo:table-body>
       <fo:table-row   height="0.59cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID buildingName ae8ff9c2-16ad-4842-a854-c5e42cb62d7e</xsl:comment>
       <fo:block   font-size="10pt"  font-family="Times"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="10.12cm"  margin-top="0.0cm"   > <xsl:value-of select="applicantDetails/applicantDetailsModel/address/buildingName"  ></xsl:value-of>
       </fo:block>

         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
     <fo:table-row   height="0.53cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="0.45cm"/>
      <fo:table-column column-width="16.55cm"/>
       <fo:table-body>
       <fo:table-row   height="0.53cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID streetName 7ace71ee-c4e3-42c9-ae96-61454339dd5e</xsl:comment>
       <fo:block   font-size="10pt"  font-family="Times"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="9.62cm"  margin-top="0.0cm"   > <xsl:value-of select="applicantDetails/applicantDetailsModel/address/streetName"  ></xsl:value-of>
       </fo:block>

         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
     <fo:table-row   height="0.61cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="0.45cm"/>
      <fo:table-column column-width="16.55cm"/>
       <fo:table-body>
       <fo:table-row   height="0.61cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID city e0cd3d82-4ba3-4455-863b-c2a2f58922eb</xsl:comment>
       <fo:block   font-size="10pt"  font-family="Times"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="9.67cm"  margin-top="0.0cm"   > <xsl:value-of select="applicantDetails/applicantDetailsModel/address/city"  ></xsl:value-of>
       </fo:block>

         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
     <fo:table-row   height="0.67cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="0.45cm"/>
      <fo:table-column column-width="16.55cm"/>
       <fo:table-body>
       <fo:table-row   height="0.67cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID state 68336e0d-21ff-4abf-bfe2-7aee0eec32f9</xsl:comment>
       <fo:block   font-size="10pt"  font-family="Times"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="9.67cm"  margin-top="0.0cm"   > <xsl:value-of select="applicantDetails/applicantDetailsModel/address/state"  ></xsl:value-of>
       </fo:block>

         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
     <fo:table-row   height="0.77cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="0.45cm"/>
      <fo:table-column column-width="16.55cm"/>
       <fo:table-body>
       <fo:table-row   height="0.77cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID pincode 02ec7a32-491f-43d7-ab9e-9d9e8b759828</xsl:comment>
       <fo:block   font-size="10pt"  font-family="Times"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="11.0cm"  margin-top="0.0cm"   > <xsl:value-of select="applicantDetails/applicantDetailsModel/address/pinCode"  ></xsl:value-of>
       </fo:block>

         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
     <fo:table-row   height="0.96cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="0.45cm"/>
      <fo:table-column column-width="1.75cm"/>
      <fo:table-column column-width="14.8cm"/>
       <fo:table-body>
       <fo:table-row   height="0.96cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID casa Atten d177958f-f4ff-437c-a4b6-469759b1e89b</xsl:comment>
       <fo:block   font-size="10pt"  font-family="Times"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="0.47cm"  margin-top="0.0cm"   > Attention :
       </fo:block>

         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID casa mrmrs f54123f6-e335-4aac-b368-54faf3790c50</xsl:comment>
       <fo:block   font-size="10pt"  font-family="Times"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="1.84cm"  margin-top="0.0cm"   > <xsl:value-of select="applicantDetails/applicantDetailsModel/fullName"  ></xsl:value-of>
       </fo:block>

         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
     <fo:table-row   height="1.57cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="0.45cm"/>
      <fo:table-column column-width="16.55cm"/>
       <fo:table-body>
       <fo:table-row   height="1.57cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID Copy of loans re 7577e7c6-9cf9-4c3e-8d3e-11d49f4931f9</xsl:comment>
      <fo:block-container  width="13.173333333333334cm" margin-left="0.0cm" margin-top="0.0cm"   >       <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"  margin-right="0cm" margin-left="0cm"  margin-top="0cm" >  <fo:block-container>
 <fo:block  wrap-option="wrap"  text-align="left">
<fo:inline background-color="#ffffff" color="#000000" font-size="10pt"  font-family="SansSerif" > 
<xsl:variable name="var1" >
 <xsl:call-template name="string-replace-all">
 <xsl:with-param name="text" select="&quot;Rejection of $1 $2 for $3&quot;" />
 <xsl:with-param name="replace" select="'$1'" />
 <xsl:with-param name="by" select="accountDetails/accountCurrency" />
 </xsl:call-template>
 </xsl:variable>
 <xsl:variable name="var2" >
 <xsl:call-template name="string-replace-all">
 <xsl:with-param name="text" select="$var1" />
 <xsl:with-param name="replace" select="'$2'" />
 <xsl:with-param name="by" select="offerissueDetails/approvedLoanAmount" />
 </xsl:call-template>
 </xsl:variable>
 <xsl:variable name="var3" >
 <xsl:call-template name="string-replace-all">
 <xsl:with-param name="text" select="$var2" />
 <xsl:with-param name="replace" select="'$3'" />
 <xsl:with-param name="by" select="loanDetails/productName" />
 </xsl:call-template>
 </xsl:variable>
 <xsl:value-of select="$var3"   ></xsl:value-of>
</fo:inline>
 </fo:block>
 </fo:block-container>
</fo:block>
       </fo:block-container>

         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
     <fo:table-row   height="0.51cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="17.0cm"/>
       <fo:table-body>
       <fo:table-row   height="0.51cm"  >
           <fo:table-cell    number-columns-spanned="1">
         <fo:block></fo:block>

         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
    </fo:table-body>
 </fo:table>
 

<xsl:comment> ID ifloans End 012d5643-fb81-4feb-841c-95afad81795d</xsl:comment>
</xsl:when>
</xsl:choose>
 <xsl:comment> END Area Detail area 3 </xsl:comment>
 </fo:block>
 </fo:table-cell>
 </fo:table-row>
 <fo:table-row>
 <fo:table-cell number-columns-spanned="1">
 <fo:block>
 
<xsl:comment> START Area Detail area 6 </xsl:comment>
 <xsl:comment> ID Detail area 6 e9a4724e-bb4a-4bd0-91b3-e32eaa601652</xsl:comment>
 <fo:table  table-layout="fixed"  width="17.0cm"   >
   <fo:table-column column-width="17.0cm"/>
   <xsl:comment> ID Detail header 6 b90017b6-5bb2-4953-925a-c077e4789990</xsl:comment>
   <fo:table-header>
     <fo:table-row   height="0.57cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="17.0cm"/>
       <fo:table-body>
       <fo:table-row   height="0.57cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
     <fo:table-row   height="0.71cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="0.45cm"/>
      <fo:table-column column-width="16.55cm"/>
       <fo:table-body>
       <fo:table-row   height="0.71cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID Copy of casa dear dcc2e532-1213-48d6-bb38-f61037159403</xsl:comment>
       <fo:block   font-size="11pt"  font-family="Times"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="13.11cm"  margin-top="0.0cm"   > Dear Sir/Madam,
       </fo:block>

         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
   </fo:table-header>
   <fo:table-body>
 <xsl:comment> repetition of Detail area 6</xsl:comment>
     <fo:table-row   height="0.59cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="17.0cm"/>
       <fo:table-body>
       <fo:table-row   height="0.59cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
     <fo:table-row   height="3.52cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="0.45cm"/>
      <fo:table-column column-width="16.55cm"/>
       <fo:table-body>
       <fo:table-row   height="3.52cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID as per body 8a37f9a6-a931-4234-908d-294cee5d132f</xsl:comment>
      <fo:block-container  width="16.373333333333335cm" margin-left="0.0cm" margin-top="0.0cm"   >       <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"  margin-right="0cm" margin-left="0cm"  margin-top="0cm" >  <fo:block-container>
 <fo:block line-height="18pt" white-space="pre"  wrap-option="wrap"  text-align="left">
<fo:inline background-color="#ffffff" color="#000000" font-size="12pt"  font-family="Times" > 
<xsl:variable name="var1" >
 <xsl:call-template name="string-replace-all">
 <xsl:with-param name="text" select="&quot;As per your communication we have hereby terminated the request for Loan / Overdraft vide your application number $2  dated $1.  &quot;" />
 <xsl:with-param name="replace" select="'$1'" />
 <xsl:with-param name="by" select="applicantDetails/applicationDate" />
 </xsl:call-template>
 </xsl:variable>
 <xsl:variable name="var2" >
 <xsl:call-template name="string-replace-all">
 <xsl:with-param name="text" select="$var1" />
 <xsl:with-param name="replace" select="'$2'" />
 <xsl:with-param name="by" select="applicationNumber" />
 </xsl:call-template>
 </xsl:variable>
 <xsl:variable name="var3" >
 <xsl:call-template name="string-replace-all">
 <xsl:with-param name="text" select="$var2" />
 <xsl:with-param name="replace" select="'$3'" />
 <xsl:with-param name="by" select="applicantDetails/applicationDate" />
 </xsl:call-template>
 </xsl:variable>
 <xsl:value-of select="$var3"   ></xsl:value-of>
</fo:inline>
 </fo:block>
 <fo:block line-height="18pt" white-space="pre"  wrap-option="wrap"  text-align="left">

 </fo:block>
 <fo:block line-height="18pt" white-space="pre"  wrap-option="wrap"  text-align="left">
<fo:inline background-color="#ffffff" color="#000000" font-size="12pt"  font-family="Times" >Please feel free to contact us if you need further clarifications.</fo:inline>
 </fo:block>
 <fo:block line-height="18pt" white-space="pre"  wrap-option="wrap"  text-align="left">

 </fo:block>
 </fo:block-container>
</fo:block>
       </fo:block-container>

         </fo:table-cell>
     </fo:table-row>
     </fo:table-body>
     </fo:table>
     </fo:table-cell>
     </fo:table-row>
    </fo:table-body>
 </fo:table>
 

 <xsl:comment> END Area Detail area 6 </xsl:comment>
 </fo:block>
 </fo:table-cell>
 </fo:table-row>
<fo:table-row>
<fo:table-cell number-columns-spanned="1">
<fo:block>

<xsl:comment> START Area Report Footer  </xsl:comment>
<xsl:comment> ID Report Footer  2f480ad7-b23c-4a37-ae63-2a8a2c9a69dd</xsl:comment>
<fo:table  table-layout="fixed"  width="17.0cm"   >
  <fo:table-column column-width="17.0cm"/>
  <fo:table-body>
<xsl:comment> repetition of Report Footer </xsl:comment>
    <fo:table-row   height="0.32cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="17.0cm"/>
      <fo:table-body>
      <fo:table-row   height="0.32cm"  >
        <fo:table-cell    number-columns-spanned="1">
<fo:block />
        </fo:table-cell>
    </fo:table-row>
    </fo:table-body>
    </fo:table>
    </fo:table-cell>
    </fo:table-row>
    <fo:table-row   height="0.72cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="0.45cm"/>
      <fo:table-column column-width="16.55cm"/>
      <fo:table-body>
      <fo:table-row   height="0.72cm"  >
        <fo:table-cell    number-columns-spanned="1">
<fo:block />
        </fo:table-cell>
        <fo:table-cell    number-columns-spanned="1">
      <xsl:comment> ID yours f fcec24fb-9429-45d1-960b-6de331e28eea</xsl:comment>
      <fo:block   font-size="10pt"  font-family="Times"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="10.07cm"  margin-top="0.0cm"   >Yours Faithfully,
      </fo:block>

        </fo:table-cell>
    </fo:table-row>
    </fo:table-body>
    </fo:table>
    </fo:table-cell>
    </fo:table-row>
    <fo:table-row   height="0.25cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="0.45cm"/>
      <fo:table-column column-width="16.55cm"/>
      <fo:table-body>
      <fo:table-row   height="0.25cm"  >
        <fo:table-cell    number-columns-spanned="1">
<fo:block />
        </fo:table-cell>
        <fo:table-cell    number-columns-spanned="1">
      <xsl:comment> ID bankName-loan 285e8df0-7af0-4f54-b219-14d1cbd50320</xsl:comment>
      <fo:block   font-size="10pt"  font-family="Times"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="1.08cm"  margin-top="0.0cm"   ><xsl:value-of select="loanDetails/bankName"  ></xsl:value-of>
      </fo:block>

        </fo:table-cell>
    </fo:table-row>
    </fo:table-body>
    </fo:table>
    </fo:table-cell>
    </fo:table-row>
    <fo:table-row   height="0.23cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="0.45cm"/>
      <fo:table-column column-width="16.55cm"/>
      <fo:table-body>
      <fo:table-row   height="0.23cm"  >
        <fo:table-cell    number-columns-spanned="1">
<fo:block />
        </fo:table-cell>
        <fo:table-cell    number-columns-spanned="1">
      <xsl:comment> ID bankName-casa 4dbeef6a-4e3d-459c-b232-a1c99ef301f0</xsl:comment>
      <fo:block   font-size="10pt"  font-family="Times"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="1.08cm"  margin-top="0.0cm"   ><xsl:value-of select="accountDetailsModel/bankName"  ></xsl:value-of>
      </fo:block>

        </fo:table-cell>
    </fo:table-row>
    </fo:table-body>
    </fo:table>
    </fo:table-cell>
    </fo:table-row>
    <fo:table-row   height="0.48cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="0.45cm"/>
      <fo:table-column column-width="16.55cm"/>
      <fo:table-body>
      <fo:table-row   height="0.48cm"  >
        <fo:table-cell    number-columns-spanned="1">
<fo:block />
        </fo:table-cell>
        <fo:table-cell    number-columns-spanned="1">
      <xsl:comment> ID branchName-loan b04ec10a-9321-4b3f-aeef-d3bd1cf54a58</xsl:comment>
      <fo:block   font-size="10pt"  font-family="Times"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="1.03cm"  margin-top="0.0cm"   ><xsl:value-of select="loanDetails/branchName"  ></xsl:value-of>
      </fo:block>

        </fo:table-cell>
    </fo:table-row>
    </fo:table-body>
    </fo:table>
    </fo:table-cell>
    </fo:table-row>
    <fo:table-row   height="3.36cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="0.45cm"/>
      <fo:table-column column-width="16.55cm"/>
      <fo:table-body>
      <fo:table-row   height="3.36cm"  >
        <fo:table-cell    number-columns-spanned="1">
<fo:block />
        </fo:table-cell>
        <fo:table-cell    number-columns-spanned="1">
      <xsl:comment> ID branchName-casa f05a4572-1a73-4742-ab37-c693dc80000b</xsl:comment>
      <fo:block   font-size="10pt"  font-family="Times"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="1.03cm"  margin-top="0.0cm"   ><xsl:value-of select="branchName"  ></xsl:value-of>
      </fo:block>

        </fo:table-cell>
    </fo:table-row>
    </fo:table-body>
    </fo:table>
    </fo:table-cell>
    </fo:table-row>
  </fo:table-body>
</fo:table>


<xsl:comment> END Area Report Footer  </xsl:comment>
</fo:block>
</fo:table-cell>
</fo:table-row>
  </fo:table-body>
</fo:table>
  </xsl:for-each>

</xsl:if>

<xsl:comment> END Area Report Header  </xsl:comment>
<fo:block id="last-page"/></fo:flow>
</fo:page-sequence>
</fo:root>
</xsl:template>
<xsl:template name="string-replace-all">
    <xsl:param name="text" />
    <xsl:param name="replace" />
    <xsl:param name="by" />
    <xsl:choose>
        <xsl:when test="$text = '' or $replace = ''or not($replace)" >
            <!-- Prevent this routine from hanging -->
            <xsl:value-of select="$text" />
        </xsl:when>
        <xsl:when test="contains($text, $replace)">
            <xsl:value-of select="substring-before($text,$replace)" />
            <xsl:value-of select="$by" />
            <xsl:call-template name="string-replace-all">
                <xsl:with-param name="text" select="substring-after($text,$replace)" />
                <xsl:with-param name="replace" select="$replace" />
                <xsl:with-param name="by" select="$by" />
            </xsl:call-template>
        </xsl:when>
        <xsl:otherwise>
            <xsl:value-of select="$text" />
        </xsl:otherwise>
    </xsl:choose>
</xsl:template></xsl:stylesheet>