<?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+T1JBQ0xFIEZJTkFOQ0lBTCBTRVJWSUNFIFNPRlRXQVJFIExURDwvbmFtZT48ZGF0ZT4zMC0xMC0yMDIwPC9kYXRlPjxudW1iZXI+OTg1NzwvbnVtYmVyPjx0eXBlPmVudGVycHJpc2U8L3R5cGU+PC9jb21wYW55Pg==</data>
<hash>imp2ECmEwah4lwZ4/QxIE9QPmyc=</hash></lic>
<xsl:template match="/">
<xsl:comment> Generated by J4L FO Designer 2.14.*</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 75d90690-6a00-4fe6-9a6e-7d6c9891589f</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="3.0cm" margin-bottom="3.0cm"  /> 
  <fo:region-before region-name="header0" extent="3.0cm"/> 
  <fo:region-after region-name="footer0" extent="3.0cm"/> 
  </fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="master0">
<fo:static-content flow-name="header0">
<xsl:comment> ID Page Header  f54766cf-d842-4bf0-ab9b-de339df30db6</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="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:static-content flow-name="footer0">
<xsl:comment> ID Page Footer  c59b17a9-de09-4894-b18a-65a79fe9e1fb</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  4d9bd71e-fdfc-45d1-87ce-2825710083d0</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.75cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="10.29cm"/>
      <fo:table-column column-width="6.71cm"/>
      <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 bankName cc9a47c6-d8c6-400a-bca1-c7eb3901dbe9</xsl:comment>
      <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="0.25cm"  margin-top="0.19cm"   ><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.24cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="10.32cm"/>
      <fo:table-column column-width="6.68cm"/>
      <fo:table-body>
      <fo:table-row   height="0.24cm"  >
        <fo:table-cell    number-columns-spanned="1">
<fo:block />
        </fo:table-cell>
        <fo:table-cell    number-columns-spanned="1">
      <xsl:comment> ID branchName 5697ed36-4631-48ac-bf53-790c40cc0769</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"   ><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="0.45cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="0.56cm"/>
      <fo:table-column column-width="9.79cm"/>
      <fo:table-column column-width="6.65cm"/>
      <fo:table-body>
      <fo:table-row   height="0.45cm"  >
        <fo:table-cell    number-columns-spanned="1">
<fo:block />
        </fo:table-cell>
        <fo:table-cell    number-columns-spanned="1">
      <xsl:comment> ID To e0f66821-abc6-4cb3-994d-2b0dfb80730a</xsl:comment>
      <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="7.79cm"  margin-top="0.0cm"   >To,
      </fo:block>

        </fo:table-cell>
        <fo:table-cell    number-columns-spanned="1">
      <xsl:comment> ID date a84369c2-50fe-4a6b-9a57-6a8eeed7a17a</xsl:comment>
      <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="0.33cm"  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.59cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="0.56cm"/>
      <fo:table-column column-width="16.44cm"/>
      <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 customerName cebcab75-2e4d-48c8-98d6-d996da5073e3</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"   ><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.53cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="0.59cm"/>
      <fo:table-column column-width="16.41cm"/>
      <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 buildingname cd0b9d5c-ceae-4944-93ab-8fa1f28259ee</xsl:comment>
      <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="10.15cm"  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.48cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="0.56cm"/>
      <fo:table-column column-width="16.44cm"/>
      <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 streetname 2a242eaa-7fbd-4b79-b807-ef8efde5200c</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/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.56cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="0.56cm"/>
      <fo:table-column column-width="16.44cm"/>
      <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 city 64109f42-7631-4c73-b36f-82721ffda785</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/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.51cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="0.56cm"/>
      <fo:table-column column-width="16.44cm"/>
      <fo:table-body>
      <fo:table-row   height="0.51cm"  >
        <fo:table-cell    number-columns-spanned="1">
<fo:block />
        </fo:table-cell>
        <fo:table-cell    number-columns-spanned="1">
      <xsl:comment> ID state e1cacede-8c48-4e14-a3d3-a988f556b96e</xsl:comment>
      <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"  margin-left="0.0cm" margin-right="10.07cm"  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="1.01cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="0.51cm"/>
      <fo:table-column column-width="16.49cm"/>
      <fo:table-body>
      <fo:table-row   height="1.01cm"  >
        <fo:table-cell    number-columns-spanned="1">
<fo:block />
        </fo:table-cell>
        <fo:table-cell    number-columns-spanned="1">
      <xsl:comment> ID pincode  72064a53-7c15-46d8-98a0-03c952057e9c</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/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 34617633-fb82-4f88-9317-8600ac487283</xsl:comment>
 <fo:table  table-layout="fixed"  width="17.0cm"   >
   <fo:table-column column-width="17.0cm"/>
   <xsl:comment> ID Detail header 1 defa9e9f-9345-49ae-8f1d-0191a831928f</xsl:comment>
   <fo:table-header>
     <fo:table-row   height="4.35cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="17.0cm"/>
       <fo:table-body>
       <fo:table-row   height="4.35cm"  >
           <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID memo1 82f7f9dd-e54e-4fde-8fde-b7540bb93698</xsl:comment>
      <fo:block-container  width="14.56cm" margin-left="0.13cm" margin-top="0.11cm"   >       <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="22pt" wrap-option="wrap"  text-align="left">
<fo:inline background-color="#ffffff" color="#000000" font-size="10pt"  font-family="SansSerif" >Sub : Term Deposit Account Creation</fo:inline>
 </fo:block>
 <fo:block line-height="22pt" wrap-option="wrap"  text-align="left">

 </fo:block>
 <fo:block line-height="22pt" wrap-option="wrap"  text-align="left">

 </fo:block>
 <fo:block line-height="22pt" wrap-option="wrap"  text-align="left">
<fo:inline background-color="#ffffff" color="#000000" font-size="10pt"  font-family="SansSerif" >Dear Sir/Madam,</fo:inline>
 </fo:block>
 <fo:block line-height="22pt" wrap-option="wrap"  text-align="left">

 </fo:block>
 <fo:block line-height="22pt" wrap-option="wrap"  text-align="left">

 </fo:block>
 <fo:block line-height="22pt" 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;We are happy to inform you that your Term Deposit Account Creation has been completed. Your Term Deposit account number is $1  and the Deposit Amount is $4 $2&quot;" />
 <xsl:with-param name="replace" select="'$1'" />
 <xsl:with-param name="by" select="accountNo" />
 </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="initialFundingDetailsModel/amount" />
 </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="accountDetailsModel/bankName" />
 </xsl:call-template>
 </xsl:variable>
 <xsl:variable name="var4" >
 <xsl:call-template name="string-replace-all">
 <xsl:with-param name="text" select="$var3" />
 <xsl:with-param name="replace" select="'$4'" />
 <xsl:with-param name="by" select="accountDetailsModel/tdAccountCurrency" />
 </xsl:call-template>
 </xsl:variable>
 <xsl:value-of select="$var4"   ></xsl:value-of>
</fo:inline>
 </fo:block>
 <fo:block line-height="22pt" wrap-option="wrap"  text-align="left">

 </fo:block>
 <fo:block line-height="22pt" 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 line-height="22pt" wrap-option="wrap"  text-align="left">

 </fo:block>
 <fo:block line-height="22pt" wrap-option="wrap"  text-align="left">

 </fo:block>
 <fo:block line-height="22pt" wrap-option="wrap"  text-align="left">

 </fo:block>
 <fo:block line-height="22pt" wrap-option="wrap"  text-align="left">
<fo:inline background-color="#ffffff" color="#000000" font-size="10pt"  font-family="SansSerif" >Yours faithfully, </fo:inline>
 </fo:block>
 <fo:block line-height="22pt" wrap-option="wrap"  text-align="left">

 </fo:block>
 <fo:block line-height="22pt" wrap-option="wrap"  text-align="left">
<fo:inline background-color="#ffffff" color="#000000" font-size="10pt"  font-family="SansSerif" >Manager</fo:inline>
 </fo:block>
 <fo:block line-height="22pt" 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;$3&quot;" />
 <xsl:with-param name="replace" select="'$1'" />
 <xsl:with-param name="by" select="accountNo" />
 </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="initialFundingDetailsModel/amount" />
 </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="accountDetailsModel/bankName" />
 </xsl:call-template>
 </xsl:variable>
 <xsl:variable name="var4" >
 <xsl:call-template name="string-replace-all">
 <xsl:with-param name="text" select="$var3" />
 <xsl:with-param name="replace" select="'$4'" />
 <xsl:with-param name="by" select="accountDetailsModel/tdAccountCurrency" />
 </xsl:call-template>
 </xsl:variable>
 <xsl:value-of select="$var4"   ></xsl:value-of>
</fo:inline>
 </fo:block>
 <fo:block line-height="22pt" 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-header>
   <fo:table-body>
 <xsl:comment> repetition of Detail area 1</xsl:comment>
     <fo:table-row   height="5.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="5.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>
 

 <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  8b413dda-e10d-414f-b1ff-e96b126c2047</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="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>


<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>