<?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+T3JhY2xlIEZpbmFuY2lhbCBTZXJ2aWNlcyBTb2Z0d2FyZSBMaW1pdGVkPC9uYW1lPjxkYXRlPjAyLTA4LTIwMjI8L2RhdGU+PG51bWJlcj4xMDAzMC0yPC9udW1iZXI+PHR5cGU+cmVndWxhcjwvdHlwZT48L2NvbXBhbnk+</data>
<hash>yOYvrWHsYif8qqqrp7IY9hv9Q/Q=</hash></lic>
<xsl:template match="/">
<xsl:comment> Generated by J4L FO Designer 2.16.*</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 478a4e13-aaaa-4235-9fe3-7167ddced86a</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="1.28cm" margin-bottom="2.88cm"  /> 
  <fo:region-before region-name="header0" extent="1.28cm"/> 
  <fo:region-after region-name="footer0" extent="2.88cm"/> 
  </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  7bc61b0a-34cb-4c72-8651-006944a54f90</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  >
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="17.0cm"/>
      <fo:table-body>
      <fo:table-row   >
        <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  7428bd38-8d50-4ebd-96f4-2969337d93d0</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="2.88cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="17.0cm"/>
      <fo:table-body>
      <fo:table-row   height="2.88cm"  >
        <fo:table-cell    number-columns-spanned="1">
      <xsl:comment> ID sDocTypeId 801877ab-e220-408e-9eae-a60abcc639a2</xsl:comment>
     <fo:block-container  reference-orientation="90"  margin-left="0.0cm" margin-top="0.07cm"  margin-right="16.47cm"   >      <fo:block   font-size="10pt"  font-family="SansSerif"  color="#000000"   text-align="left"   >Approval_Letter_Out
      </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>

</fo:static-content>
<fo:flow flow-name="body0"> 

<xsl:comment> START Area Report Header -/data </xsl:comment>
<xsl:comment> repetition of Report Header -/data</xsl:comment>
<xsl:comment> ID Report Header -/data d545d669-d7cc-4af3-a9ea-6bddce08a8e5</xsl:comment>
<fo:table table-layout="fixed"  width="17.0cm"  >
  <fo:table-column column-width="17.0cm"/>
  <fo:table-body>
    <fo:table-row  keep-with-next="always"  keep-together.within-page="always"  height="1.52cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="0.5cm"/>
      <fo:table-column column-width="16.5cm"/>
      <fo:table-body>
      <fo:table-row   height="1.52cm"  >
        <fo:table-cell    number-columns-spanned="1">
<fo:block />
        </fo:table-cell>
        <fo:table-cell    number-columns-spanned="1">
      <xsl:comment> ID ApplicationDate 0db12c3b-a9f8-4075-b628-ebade521ca29</xsl:comment>
     <fo:block-container keep-together.within-column="always"  width="3.7866666666666666cm" margin-left="0.0cm" margin-top="0.08cm"   >      <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="Times" >
<xsl:variable name="var1" >
<xsl:call-template name="string-replace-all">
<xsl:with-param name="text" select="&quot;$1&quot;" />
<xsl:with-param name="replace" select="'$1'" />
<xsl:with-param name="by" select="data/offerissueDetails/applicationDate" />
</xsl:call-template>
</xsl:variable>
<xsl:value-of select="$var1"   ></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  keep-with-next="always"  keep-together.within-page="always"  height="1.68cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="0.48cm"/>
      <fo:table-column column-width="16.52cm"/>
      <fo:table-body>
      <fo:table-row   height="1.68cm"  >
        <fo:table-cell    number-columns-spanned="1">
<fo:block />
        </fo:table-cell>
        <fo:table-cell    number-columns-spanned="1">
      <xsl:comment> ID ToMemo ac3228b5-2188-4dae-8b0a-cee4dc882092</xsl:comment>
     <fo:block-container keep-together.within-column="always"  width="3.84cm" 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="15pt" 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;$1&quot;" />
<xsl:with-param name="replace" select="'$1'" />
<xsl:with-param name="by" select="data/applicantDetails/applicantDetailsModel/fullName" />
</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="data/applicantDetails/applicantDetailsModel/address/buildingName" />
</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="data/applicantDetails/applicantDetailsModel/address/localityName" />
</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="data/applicantDetails/applicantDetailsModel/address/city" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="var5" >
<xsl:call-template name="string-replace-all">
<xsl:with-param name="text" select="$var4" />
<xsl:with-param name="replace" select="'$5'" />
<xsl:with-param name="by" select="data/applicantDetails/applicantDetailsModel/address/pinCode" />
</xsl:call-template>
</xsl:variable>
<xsl:value-of select="$var5"   ></xsl:value-of>
</fo:inline>
</fo:block>
<fo:block line-height="15pt" 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;$2 $3,&quot;" />
<xsl:with-param name="replace" select="'$1'" />
<xsl:with-param name="by" select="data/applicantDetails/applicantDetailsModel/fullName" />
</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="data/applicantDetails/applicantDetailsModel/address/buildingName" />
</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="data/applicantDetails/applicantDetailsModel/address/localityName" />
</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="data/applicantDetails/applicantDetailsModel/address/city" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="var5" >
<xsl:call-template name="string-replace-all">
<xsl:with-param name="text" select="$var4" />
<xsl:with-param name="replace" select="'$5'" />
<xsl:with-param name="by" select="data/applicantDetails/applicantDetailsModel/address/pinCode" />
</xsl:call-template>
</xsl:variable>
<xsl:value-of select="$var5"   ></xsl:value-of>
</fo:inline>
</fo:block>
<fo:block line-height="15pt" 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;$4 - $5,&quot;" />
<xsl:with-param name="replace" select="'$1'" />
<xsl:with-param name="by" select="data/applicantDetails/applicantDetailsModel/fullName" />
</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="data/applicantDetails/applicantDetailsModel/address/buildingName" />
</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="data/applicantDetails/applicantDetailsModel/address/localityName" />
</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="data/applicantDetails/applicantDetailsModel/address/city" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="var5" >
<xsl:call-template name="string-replace-all">
<xsl:with-param name="text" select="$var4" />
<xsl:with-param name="replace" select="'$5'" />
<xsl:with-param name="by" select="data/applicantDetails/applicantDetailsModel/address/pinCode" />
</xsl:call-template>
</xsl:variable>
<xsl:value-of select="$var5"   ></xsl:value-of>
</fo:inline>
</fo:block>
<fo:block line-height="15pt" 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  keep-with-next="always"  keep-together.within-page="always"  height="1.39cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="0.48cm"/>
      <fo:table-column column-width="16.52cm"/>
      <fo:table-body>
      <fo:table-row   height="1.39cm"  >
        <fo:table-cell    number-columns-spanned="1">
<fo:block />
        </fo:table-cell>
        <fo:table-cell    number-columns-spanned="1">
      <xsl:comment> ID PinCode 41fb8ea1-5aa2-4263-97d8-379fe5a1df04</xsl:comment>
     <fo:block-container keep-together.within-column="always"  width="4.4cm" 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;$1.&quot;" />
<xsl:with-param name="replace" select="'$1'" />
<xsl:with-param name="by" select="data/applicantDetails/applicantDetailsModel/individualDetailsModel/countryResidenceDesc" />
</xsl:call-template>
</xsl:variable>
<xsl:value-of select="$var1"   ></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  keep-with-next="always"  keep-together.within-page="always"  height="0.87cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="0.5cm"/>
      <fo:table-column column-width="16.5cm"/>
      <fo:table-body>
      <fo:table-row   height="0.87cm"  >
        <fo:table-cell    number-columns-spanned="1">
<fo:block />
        </fo:table-cell>
        <fo:table-cell    number-columns-spanned="1">
      <xsl:comment> ID Hello 33544873-0137-45e2-bbd6-70981d6eb764</xsl:comment>
     <fo:block-container keep-together.within-column="always"  width="6.8533333333333335cm" 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" >Hello</fo:inline><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; $1&quot;" />
<xsl:with-param name="replace" select="'$1'" />
<xsl:with-param name="by" select="data/applicantDetails/applicantDetailsModel/individualDetailsModel/firstName" />
</xsl:call-template>
</xsl:variable>
<xsl:value-of select="$var1"   ></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   keep-together.within-page="always"  height="2.3cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="0.5cm"/>
      <fo:table-column column-width="16.5cm"/>
      <fo:table-body>
      <fo:table-row   height="2.3cm"  >
        <fo:table-cell    number-columns-spanned="1">
<fo:block />
        </fo:table-cell>
        <fo:table-cell    number-columns-spanned="1">
      <xsl:comment> ID ApprovedMemo 50669ab2-43e1-4dfd-9fc4-e97f6407fed9</xsl:comment>
     <fo:block-container keep-together.within-column="always"  width="16.186666666666667cm" 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="33pt" wrap-option="wrap"  text-align="center">
<fo:inline background-color="#ffffff" color="#000000" font-size="12pt"  font-family="Times" >             </fo:inline><fo:inline background-color="#ffffff" color="#d93528" font-size="14pt"  font-family="SansSerif"  font-weight="bold" >Your application&apos;s been approved</fo:inline>
</fo:block>
<fo:block line-height="33pt" wrap-option="wrap"  text-align="left">
<fo:inline background-color="#ffffff" color="#000000" font-size="10pt"  font-family="SansSerif" >Congratulations - we’ve had a look over your application, and we’re excited to offer you:</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>
 <fo:table-cell number-columns-spanned="1">
 <fo:block>
 
<xsl:comment> START Area Detail area1 </xsl:comment>
 <xsl:if test="data/applicantDetails/applicantDetailsModel" >
 <xsl:comment> ID Detail area1 2eddfaed-36f5-40b8-ad76-70c45d3ff503</xsl:comment>
 <fo:table  table-layout="fixed"  width="17.0cm"   >
   <fo:table-column column-width="17.0cm"/>
   <xsl:comment> ID Detail header 1 69482266-2522-4973-b2ce-0993f529ef0e</xsl:comment>
   <fo:table-header>
     <fo:table-row  >
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="17.0cm"/>
       <fo:table-body>
       <fo:table-row   >
           <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>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="0.5cm"/>
      <fo:table-column column-width="16.5cm"/>
       <fo:table-body>
       <fo:table-row   >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID Borrowerslabel e81f58cc-a6ca-4125-832a-b63c5e9b5cc3</xsl:comment>
      <fo:block-container  width="4.0cm" 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"  font-weight="bold" >Borrowers</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-header>
   <fo:table-body>
   <xsl:for-each select="data/applicantDetails/applicantDetailsModel">
 <xsl:comment> repetition of Detail area1</xsl:comment>
     <fo:table-row   keep-together.within-page="always"  height="1.07cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="10.0cm"/>
      <fo:table-column column-width="7.0cm"/>
       <fo:table-body>
       <fo:table-row   height="1.07cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID BorrowersDtls c35111a3-6220-493f-92d7-5d4bc7189dfb</xsl:comment>
      <fo:block-container keep-together.within-column="always"  width="6.053333333333334cm" margin-left="0.0cm" margin-top="0.06cm"   >       <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="13pt" 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;: $1&quot;" />
 <xsl:with-param name="replace" select="'$1'" />
 <xsl:with-param name="by" select="fullName" />
 </xsl:call-template>
 </xsl:variable>
 <xsl:value-of select="$var1"   ></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>
    </xsl:for-each>
   </fo:table-body>
 </fo:table>
 
 </xsl:if>

 <xsl:comment> END Area Detail area1 </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 1450bd33-3b74-4c24-aca5-f9cd537fe657</xsl:comment>
 <fo:table  table-layout="fixed"  width="17.0cm"   >
   <fo:table-column column-width="17.0cm"/>
   <xsl:comment> ID Detail header 3 53974300-f74a-49a2-b21a-503016618231</xsl:comment>
   <fo:table-header>
     <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-header>
   <fo:table-body>
 <xsl:comment> repetition of Detail area 3</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="1.87cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="0.5cm"/>
      <fo:table-column column-width="9.5cm"/>
      <fo:table-column column-width="7.0cm"/>
       <fo:table-body>
       <fo:table-row   height="1.87cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID ProductDtlsLabel 70578641-e238-4fda-a5fe-ffc0b76efa03</xsl:comment>
      <fo:block-container  width="6.56cm" 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="22pt" wrap-option="wrap"  text-align="left">
<fo:inline background-color="#ffffff" color="#000000" font-size="10pt"  font-family="SansSerif"  font-weight="bold" >Product </fo:inline><fo:inline background-color="#ffffff" color="#000000" font-size="10pt"  font-family="SansSerif" >                                             </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"  font-weight="bold" >Amount Approved</fo:inline><fo:inline background-color="#ffffff" color="#000000" font-size="10pt"  font-family="SansSerif" >                            </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"  font-weight="bold" >Application Number</fo:inline><fo:inline background-color="#ffffff" color="#000000" font-size="10pt"  font-family="SansSerif" >   </fo:inline><fo:inline background-color="#ffffff" color="#000000" font-size="10pt"  font-family="SansSerif" >                     </fo:inline>
 </fo:block>
 </fo:block-container>
</fo:block>
       </fo:block-container>

         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID ProductDtlsMemo 08a151f3-f05f-46e3-b184-a943e1d85615</xsl:comment>
      <fo:block-container  width="6.506666666666667cm" 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="20pt" 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;: $1&quot;" />
 <xsl:with-param name="replace" select="'$1'" />
 <xsl:with-param name="by" select="data/loanDetails/productName" />
 </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="data/offerissueDetails/approvedLoanAmountCurrency" />
 </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="data/offerissueDetails/approvedLoanAmount" />
 </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="data/offerissueDetails/applicationNumber" />
 </xsl:call-template>
 </xsl:variable>
 <xsl:value-of select="$var4"   ></xsl:value-of>
</fo:inline>
 </fo:block>
 <fo:block line-height="20pt" 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;: $2 $3&quot;" />
 <xsl:with-param name="replace" select="'$1'" />
 <xsl:with-param name="by" select="data/loanDetails/productName" />
 </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="data/offerissueDetails/approvedLoanAmountCurrency" />
 </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="data/offerissueDetails/approvedLoanAmount" />
 </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="data/offerissueDetails/applicationNumber" />
 </xsl:call-template>
 </xsl:variable>
 <xsl:value-of select="$var4"   ></xsl:value-of>
</fo:inline>
 </fo:block>
 <fo:block line-height="20pt" 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;: $4&quot;" />
 <xsl:with-param name="replace" select="'$1'" />
 <xsl:with-param name="by" select="data/loanDetails/productName" />
 </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="data/offerissueDetails/approvedLoanAmountCurrency" />
 </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="data/offerissueDetails/approvedLoanAmount" />
 </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="data/offerissueDetails/applicationNumber" />
 </xsl:call-template>
 </xsl:variable>
 <xsl:value-of select="$var4"   ></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.56cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="0.5cm"/>
      <fo:table-column column-width="16.5cm"/>
       <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 New 6a6f6a8a-ffc6-4dc1-b65d-9d7a1882cd81</xsl:comment>
      <fo:block-container  width="8.4cm" 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"  font-weight="bold" >Your documents are ready</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="2.13cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="0.5cm"/>
      <fo:table-column column-width="16.5cm"/>
       <fo:table-body>
       <fo:table-row   height="2.13cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID OfferAcceptanceMemo 0b3e57c2-e383-495f-8376-3a9b1fd1bb2a</xsl:comment>
      <fo:block-container  width="16.48cm" 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="15pt" wrap-option="wrap"  text-align="left">
<fo:inline background-color="#ffffff" color="#000000" font-size="10pt"  font-family="SansSerif" >We know you’re probably ready to get your loan underway, but make sure you read over everything first. There are number of important documents, including your contract – which consists of a letter of offer and General Terms.</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="1.18cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="0.5cm"/>
      <fo:table-column column-width="16.5cm"/>
       <fo:table-body>
       <fo:table-row   height="1.18cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID New 91971320-799c-4d45-99a5-5caab5460373</xsl:comment>
      <fo:block-container  width="16.5cm" 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="15pt" wrap-option="wrap"  text-align="left">
<fo:inline background-color="#ffffff" color="#000000" font-size="10pt"  font-family="SansSerif" >If there’s anything you don’t understand, feel free to give us a call. We’d also recommend getting independent legal and financial advice before you accept the offer.</fo:inline>
 </fo:block>
 <fo:block line-height="15pt" 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="0.8cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="0.5cm"/>
      <fo:table-column column-width="16.5cm"/>
       <fo:table-body>
       <fo:table-row   height="0.8cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID New 27c4e465-b28a-4c0c-a944-773c94d4e7c1</xsl:comment>
      <fo:block-container  width="16.5cm" 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" >There’s a number of places in the pack you’ll need to sign.</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="1.83cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="0.5cm"/>
      <fo:table-column column-width="16.5cm"/>
       <fo:table-body>
       <fo:table-row   height="1.83cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID New 9b9c915f-d81f-4d74-a9a8-556c627ab148</xsl:comment>
      <fo:block-container  width="16.5cm" 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="15pt" wrap-option="wrap"  text-align="left">
<fo:inline background-color="#ffffff" color="#000000" font-size="10pt"  font-family="SansSerif"  font-weight="bold" >What accepting our offer means</fo:inline>
 </fo:block>
 <fo:block line-height="15pt" wrap-option="wrap"  text-align="left">
<fo:inline background-color="#ffffff" color="#000000" font-size="10pt"  font-family="SansSerif" >By accepting our offer you agree to enter into a credit contract with us for the loan described above.</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="2.43cm">
       <fo:table-cell>
       <fo:table  table-layout="fixed" width="100%">
       <fo:table-column column-width="0.5cm"/>
      <fo:table-column column-width="16.5cm"/>
       <fo:table-body>
       <fo:table-row   height="2.43cm"  >
           <fo:table-cell    number-columns-spanned="1">
<fo:block />
         </fo:table-cell>
         <fo:table-cell    number-columns-spanned="1">
       <xsl:comment> ID New d4d00a96-c1c6-4196-8027-6c984d637ffc</xsl:comment>
      <fo:block-container  width="16.266666666666666cm" 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="15pt" wrap-option="wrap"  text-align="left">
<fo:inline background-color="#ffffff" color="#000000" font-size="10pt"  font-family="SansSerif"  font-weight="bold" >How to accept our offer</fo:inline>
 </fo:block>
 <fo:block line-height="15pt" 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;There’s a couple of ways you can do this, whichever you choose make sure we’ve received your acceptance by $1&quot;" />
 <xsl:with-param name="replace" select="'$1'" />
 <xsl:with-param name="by" select="data/offerissueDetails/applicationDate" />
 </xsl:call-template>
 </xsl:variable>
 <xsl:value-of select="$var1"   ></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-body>
 </fo:table>
 

 <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 Report Footer  </xsl:comment>
<xsl:comment> ID Report Footer  1f6e17c7-d15a-491b-ab3a-4788539e26ef</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.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: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.5cm"/>
      <fo:table-column column-width="16.5cm"/>
      <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 New cf884230-e593-47b0-a114-4ce684391e92</xsl:comment>
     <fo:block-container  width="7.44cm" 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"  font-weight="bold" >Through Internet Banking:</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.99cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="0.5cm"/>
      <fo:table-column column-width="16.5cm"/>
      <fo:table-body>
      <fo:table-row   height="0.99cm"  >
        <fo:table-cell    number-columns-spanned="1">
<fo:block />
        </fo:table-cell>
        <fo:table-cell    number-columns-spanned="1">
      <xsl:comment> ID New 28f1c766-ef62-415b-b0b0-cf51796ed095</xsl:comment>
     <fo:block-container  width="16.186666666666667cm" 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;Just head to $1 Internet Banking and follow the instructions in the Application section.&quot;" />
<xsl:with-param name="replace" select="'$1'" />
<xsl:with-param name="by" select="data/loanDetails/bankName" />
</xsl:call-template>
</xsl:variable>
<xsl:value-of select="$var1"   ></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.67cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="0.5cm"/>
      <fo:table-column column-width="16.5cm"/>
      <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 PostMemo 08daba03-7572-4541-96df-47944d5a0aa3</xsl:comment>
     <fo:block-container  width="6.213333333333333cm" 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"  font-weight="bold" >Through the post:</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="2.4cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="0.5cm"/>
      <fo:table-column column-width="16.5cm"/>
      <fo:table-body>
      <fo:table-row   height="2.4cm"  >
        <fo:table-cell    number-columns-spanned="1">
<fo:block />
        </fo:table-cell>
        <fo:table-cell    number-columns-spanned="1">
      <xsl:comment> ID New c62020b4-6188-4942-a5f9-52cf93d314b5</xsl:comment>
     <fo:block-container  width="16.72cm" 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="14pt" wrap-option="wrap"  text-align="justify">
<fo:inline background-color="#ffffff" color="#000000" font-size="10pt"  font-family="SansSerif" >If you’ve received a paper version of the contract and other documents, it’s because you or one of the other borrowers has asked for these to be sent in the post. If this happens:</fo:inline>
</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="14pt" wrap-option="wrap"  text-align="left">
<fo:inline background-color="#ffffff" color="#000000" font-size="10pt"  font-family="SansSerif" >all of you can still accept the contract electronically if you’d prefer; or			</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="14pt" 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;all of you can also sign the bank copy pack that’s been sent to $1&quot;" />
<xsl:with-param name="replace" select="'$1'" />
<xsl:with-param name="by" select="data/applicantDetails/applicantDetailsModel/fullName" />
</xsl:call-template>
</xsl:variable>
<xsl:value-of select="$var1"   ></xsl:value-of>
</fo:inline>
</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-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.75cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="0.5cm"/>
      <fo:table-column column-width="16.5cm"/>
      <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 SignDescMemo 8daf33c5-bee3-4e2a-a755-c9695fe26dcf</xsl:comment>
     <fo:block-container  width="15.013333333333334cm" 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" >There’s a number of places  in the pack you’ll need to sign.  </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="1.04cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="0.5cm"/>
      <fo:table-column column-width="16.5cm"/>
      <fo:table-body>
      <fo:table-row   height="1.04cm"  >
        <fo:table-cell    number-columns-spanned="1">
<fo:block />
        </fo:table-cell>
        <fo:table-cell    number-columns-spanned="1">
      <xsl:comment> ID footerMemo 5411e246-c4a9-4542-8b1f-e4a87c6ca986</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  wrap-option="wrap"  text-align="left">
<fo:inline background-color="#ffffff" color="#000000" font-size="10pt"  font-family="SansSerif" >Each of you has a customer copy pack of the documents to hang on to as well.</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="1.81cm">
      <fo:table-cell>
      <fo:table  table-layout="fixed" width="100%">
      <fo:table-column column-width="0.5cm"/>
      <fo:table-column column-width="16.5cm"/>
      <fo:table-body>
      <fo:table-row   height="1.81cm"  >
        <fo:table-cell    number-columns-spanned="1">
<fo:block />
        </fo:table-cell>
        <fo:table-cell    number-columns-spanned="1">
      <xsl:comment> ID ThanksMemo 218abb99-393e-44e9-8163-c4845a2c7079</xsl:comment>
     <fo:block-container  width="5.653333333333333cm" 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="31pt" white-space="pre"  wrap-option="wrap"  text-align="left">
<fo:inline background-color="#ffffff" color="#000000" font-size="10pt"  font-family="SansSerif" >Thanks,</fo:inline>
</fo:block>
<fo:block line-height="31pt" white-space="pre"  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;$1&quot;" />
<xsl:with-param name="replace" select="'$1'" />
<xsl:with-param name="by" select="data/loanDetails/bankName" />
</xsl:call-template>
</xsl:variable>
<xsl:value-of select="$var1"   ></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-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:comment> END Area Report Header -/data </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>