<?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.24cm">
      <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.24cm"  >
        <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.61cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="13.33cm"/>
      <fo:table-column column-width="3.67cm"/>
      <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 BankName d45ab911-5ef4-4db1-b49f-528cfc5e9901</xsl:comment>
      <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="1.67cm"  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.61cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="13.36cm"/>
      <fo:table-column column-width="3.64cm"/>
      <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 461b78cf-c492-46cb-86c1-e8ecd23b3205</xsl:comment>
      <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="0.52cm"  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.15cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="13.31cm"/>
      <fo:table-column column-width="3.69cm"/>
      <fo:table-body>
      <fo:table-row   height="1.15cm"  >
        <fo:table-cell    number-columns-spanned="1">
<fo:block />
        </fo:table-cell>
        <fo:table-cell    number-columns-spanned="1">
      <xsl:comment> ID date 8558f219-afc4-4b1e-9aeb-430e3a751907</xsl:comment>
      <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="1.11cm"  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="17.0cm"/>
      <fo:table-body>
      <fo:table-row   height="0.72cm"  >
        <fo:table-cell    number-columns-spanned="1">
      <xsl:comment> ID To 33090125-fb76-439d-843d-b534c3ce6060</xsl:comment>
      <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"  margin-left="0.19cm" margin-right="14.81cm"  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.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">
      <xsl:comment> ID CustomerName a86ed6a0-3c6a-4f56-8b24-6899a4ac1ea1</xsl:comment>
      <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"  margin-left="0.13cm" margin-right="10.36cm"  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.61cm">
      <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.61cm"  >
        <fo:table-cell    number-columns-spanned="1">
      <xsl:comment> ID AddressLine1 cd2c38a8-3787-450f-9c5c-7960ca1fd9bd</xsl:comment>
      <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"  margin-left="0.11cm" margin-right="10.47cm"  margin-top="0.0cm"   ><xsl:value-of select="primaryApplicantDetails/address/addressLine1"  ></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.56cm">
      <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.56cm"  >
        <fo:table-cell    number-columns-spanned="1">
      <xsl:comment> ID AddressLine2 3eae6a83-5971-4429-b837-5662900b1f20</xsl:comment>
      <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"  margin-left="0.16cm" margin-right="10.44cm"  margin-top="0.0cm"   ><xsl:value-of select="primaryApplicantDetails/address/addressLine2"  ></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.64cm">
      <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.64cm"  >
        <fo:table-cell    number-columns-spanned="1">
      <xsl:comment> ID State 7f646ad2-139b-4dd1-86dd-1a47ddd63834</xsl:comment>
      <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"  margin-left="0.13cm" margin-right="10.55cm"  margin-top="0.0cm"   ><xsl:value-of select="primaryApplicantDetails/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.61cm">
      <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.61cm"  >
        <fo:table-cell    number-columns-spanned="1">
      <xsl:comment> ID City 92a19f75-f1d7-4013-b6fc-9855ad9f8688</xsl:comment>
      <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"  margin-left="0.16cm" margin-right="10.44cm"  margin-top="0.0cm"   ><xsl:value-of select="primaryApplicantDetails/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.8cm">
      <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.8cm"  >
        <fo:table-cell    number-columns-spanned="1">
      <xsl:comment> ID Pincode 5804c29c-f254-4f8b-a748-6823fc68ad3a</xsl:comment>
      <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"  margin-left="0.16cm" margin-right="10.44cm"  margin-top="0.0cm"   ><xsl:value-of select="primaryApplicantDetails/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>
 <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>
 <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="1.12cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="0.51cm"/>
      <fo:table-column column-width="1.2cm"/>
      <fo:table-column column-width="15.29cm"/>
       <fo:table-body>
       <fo:table-row   height="1.12cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID Atten 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.0cm"  margin-top="0.11cm"   > Atten :
       </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="2.33cm"  margin-top="0.13cm"   > <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.85cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="0.99cm"/>
      <fo:table-column column-width="16.01cm"/>
       <fo:table-body>
       <fo:table-row   height="0.85cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID memo1 dcc284cb-c080-4a91-9cf5-052eaa04cf95</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;Re : Rejection of loan for $1 $2 under $3&quot;" />
 <xsl:with-param name="replace" select="'$1'" />
 <xsl:with-param name="by" select="loanDetails/loanCurrencyCode" />
 </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="loanDetails/loanAmount" />
 </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.59cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="0.35cm"/>
      <fo:table-column column-width="16.65cm"/>
       <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 dear 8ba8baa5-956f-4b87-b628-d2d303650b86</xsl:comment>
       <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="13.61cm"  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 1</xsl:comment>
     <fo:table-row   height="0.27cm">
       <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.27cm"  >
           <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="2.11cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="0.37cm"/>
      <fo:table-column column-width="16.63cm"/>
       <fo:table-body>
       <fo:table-row   height="2.11cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID memo2 59c58973-800d-4a65-a78c-19c9e2f612a9</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" 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;Please be informed that your request dated $1 with application number $2 has been rejected, due to following reasons. &quot;" />
 <xsl:with-param name="replace" select="'$1'" />
 <xsl:with-param name="by" select="loanDetails/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:value-of select="$var2"   ></xsl:value-of>
</fo:inline>
 </fo:block>
 <fo:block line-height="18pt" wrap-option="wrap"  text-align="left">

 </fo:block>
 <fo:block line-height="18pt" 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-row   height="1.79cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="1.47cm"/>
      <fo:table-column column-width="15.53cm"/>
       <fo:table-body>
       <fo:table-row   height="1.79cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID reasons 59b69c42-fff5-4d07-87d1-c353b221edf7</xsl:comment>
      <fo:block-container  width="12.96cm" 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:block>
 <fo:list-block>
 <fo:list-item>
 <fo:list-item-label end-indent="label-end()">
 <fo:block>&#x2022; </fo:block>
 </fo:list-item-label>
 <fo:list-item-body  start-indent="body-start()">
 <fo:block line-height="18pt" white-space="pre"  wrap-option="wrap"  text-align="left">
<fo:inline background-color="#ffffff" color="#000000" font-size="10pt"  font-family="SansSerif"  font-weight="bold" >Insufficient credit Score</fo:inline>
 </fo:block>
 </fo:list-item-body>
 </fo:list-item>
 <fo:list-item>
 <fo:list-item-label end-indent="label-end()">
 <fo:block>&#x2022; </fo:block>
 </fo:list-item-label>
 <fo:list-item-body  start-indent="body-start()">
 <fo:block line-height="18pt" white-space="pre"  wrap-option="wrap"  text-align="left">
<fo:inline background-color="#ffffff" color="#000000" font-size="10pt"  font-family="SansSerif"  font-weight="bold" >Lack of KYC documents</fo:inline>
 </fo:block>
 </fo:list-item-body>
 </fo:list-item>
 <fo:list-item>
 <fo:list-item-label end-indent="label-end()">
 <fo:block>&#x2022; </fo:block>
 </fo:list-item-label>
 <fo:list-item-body  start-indent="body-start()">
 <fo:block line-height="18pt" white-space="pre"  wrap-option="wrap"  text-align="left">
<fo:inline background-color="#ffffff" color="#808080" font-size="10pt"  font-family="SansSerif" >Insufficient document for On-boarding</fo:inline>
 </fo:block>
 </fo:list-item-body>
 </fo:list-item>
 <fo:list-item>
 <fo:list-item-label end-indent="label-end()">
 <fo:block>&#x2022; </fo:block>
 </fo:list-item-label>
 <fo:list-item-body  start-indent="body-start()">
 <fo:block line-height="18pt" white-space="pre"  wrap-option="wrap"  text-align="left">
<fo:inline background-color="#ffffff" color="#808080" font-size="10pt"  font-family="SansSerif" >Insufficient credit availability</fo:inline>
 </fo:block>
 </fo:list-item-body>
 </fo:list-item>
 <fo:list-item>
 <fo:list-item-label end-indent="label-end()">
 <fo:block>&#x2022; </fo:block>
 </fo:list-item-label>
 <fo:list-item-body  start-indent="body-start()">
 <fo:block line-height="18pt" white-space="pre"  wrap-option="wrap"  text-align="left">
<fo:inline background-color="#ffffff" color="#808080" font-size="10pt"  font-family="SansSerif" >Insufficient/Incorrect information </fo:inline>
 </fo:block>
 </fo:list-item-body>
 </fo:list-item>
 <fo:list-item>
 <fo:list-item-label end-indent="label-end()">
 <fo:block>&#x2022; </fo:block>
 </fo:list-item-label>
 <fo:list-item-body  start-indent="body-start()">
 <fo:block line-height="18pt" white-space="pre"  wrap-option="wrap"  text-align="left">
<fo:inline background-color="#ffffff" color="#808080" font-size="10pt"  font-family="SansSerif" >Legal/Regulatory Reason</fo:inline>
 </fo:block>
 </fo:list-item-body>
 </fo:list-item>
 <fo:list-item>
 <fo:list-item-label end-indent="label-end()">
 <fo:block>&#x2022; </fo:block>
 </fo:list-item-label>
 <fo:list-item-body  start-indent="body-start()">
 <fo:block line-height="18pt" white-space="pre"  wrap-option="wrap"  text-align="left">
<fo:inline background-color="#ffffff" color="#808080" font-size="10pt"  font-family="SansSerif" >Acceptance received after due date</fo:inline>
 </fo:block>
 </fo:list-item-body>
 </fo:list-item>
 <fo:list-item>
 <fo:list-item-label end-indent="label-end()">
 <fo:block>&#x2022; </fo:block>
 </fo:list-item-label>
 <fo:list-item-body  start-indent="body-start()">
 <fo:block line-height="18pt" white-space="pre"  wrap-option="wrap"  text-align="left">
<fo:inline background-color="#ffffff" color="#808080" font-size="10pt"  font-family="SansSerif" >Lack Approved Plan</fo:inline>
 </fo:block>
 </fo:list-item-body>
 </fo:list-item>
 </fo:list-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="10pt"  font-family="SansSerif" >Please feel free to contact us if you need further clarifications.</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-body>
 </fo:table>
 

 <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 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.83cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="0.43cm"/>
      <fo:table-column column-width="16.57cm"/>
      <fo:table-body>
      <fo:table-row   height="0.83cm"  >
        <fo:table-cell    number-columns-spanned="1">
<fo:block />
        </fo:table-cell>
        <fo:table-cell    number-columns-spanned="1">
      <xsl:comment> ID yours fcec24fb-9429-45d1-960b-6de331e28eea</xsl:comment>
      <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="10.09cm"  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.56cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="0.43cm"/>
      <fo:table-column column-width="16.57cm"/>
      <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 bankName 285e8df0-7af0-4f54-b219-14d1cbd50320</xsl:comment>
      <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="1.11cm"  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="1.29cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="0.43cm"/>
      <fo:table-column column-width="16.57cm"/>
      <fo:table-body>
      <fo:table-row   height="1.29cm"  >
        <fo:table-cell    number-columns-spanned="1">
<fo:block />
        </fo:table-cell>
        <fo:table-cell    number-columns-spanned="1">
      <xsl:comment> ID branchName b04ec10a-9321-4b3f-aeef-d3bd1cf54a58</xsl:comment>
      <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="1.05cm"  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-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>