<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xsi:schemaLocation="http://www.w3.org/1999/XSL/Transform xslt.xsd"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	xmlns:fo="http://www.w3.org/1999/XSL/Format"
	xmlns:fox="http://xml.apache.org/fop/extensions"
    xmlns:LU="lookup-table"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:xalan="http://xml.apache.org/xalan"
	exclude-result-prefixes="xalan">

	<!--External XML file input sources-->
	<xsl:variable name="fee-sheet" select="document('pct-sfd-fee-sheet.xml',/)"/>
	<xsl:variable name="language" select="$fee-sheet/fee-sheet/@lang"/>
	<xsl:variable name="ro" select="$fee-sheet/fee-sheet/@ro"/>
	<xsl:decimal-format name="en" decimal-separator="." grouping-separator=" "/>

	<!-- Start reading source tree -->
	<xsl:template match="fee-sheet">

		<xsl:variable name="varFRString1">Lettre d'accompagnement relative à des pièces produites ultérieurement selon le Traité de coopération sur les brevets (PCT)</xsl:variable>
		<xsl:variable name="varFRString2">Titre de l'invention</xsl:variable>
		<xsl:variable name="varFRString3">Nom de fichier d'origine</xsl:variable>
		<xsl:variable name="varFRString4">Correction d'irrégularités (article 11)</xsl:variable>
		<xsl:variable name="varFRString5">Rectification d'erreurs évidentes (règle 91)</xsl:variable>
		<xsl:variable name="varFRString6">Absence d'unité de l'invention (règle 40)</xsl:variable>
		<xsl:variable name="varFRString7">Observations relatives à l'abrégé</xsl:variable>
		<xsl:variable name="varFRString8">Demande d'examen préliminaire international corrigée (formulaire PCT/IPEA/401) – (règle 60.1.a) à f))</xsl:variable>
		<xsl:variable name="varFRString9">Taxe d'examen préliminaire</xsl:variable>
		<xsl:variable name="varFRString10">Taxe d'examen préliminaire additionnelle</xsl:variable>
		<xsl:variable name="varFRString11">Aucune taxe n'est à acquitter</xsl:variable>
		<xsl:variable name="varFRString12">Annotations pour l'</xsl:variable>
		<xsl:variable name="varFRString13">Annotations pour l'</xsl:variable>
		<xsl:variable name="varFRString14">Absence d'unité de l'invention (règle 68)</xsl:variable>
		<xsl:variable name="varFRString15">Copie certifiée d'une demande de brevet ; document de priorité</xsl:variable>
		<xsl:variable name="varFRString16">Taxe d'examen préliminaire international payée tardivement – demande au titre du PCT (formulaire PCT/IPEA/401)</xsl:variable>
		<xsl:variable name="varFRString17">Taxes pour paiement tardif exigées par l'office</xsl:variable>
		<xsl:variable name="varFRString18">L'office établira une facture</xsl:variable>
		<xsl:variable name="varFRString19">Nombre d'inventions indépendantes:</xsl:variable>
		<xsl:variable name="varFRString20">Nombre de copies certifiées :</xsl:variable>
		<xsl:variable name="varFRString21">Instructions de reimbursement</xsl:variable>
		<xsl:variable name="varFRString22">Le remboursement éventuel doit être fait sur le compte de dépôt auprès de l'OEB:</xsl:variable>
		<xsl:variable name="varFRString23">Bureau des utilisateurs de l'OEB Bayerstr. 115, 80335 Munich, Allemagne</xsl:variable> <!-- PPGPM-611 -->
		<!-- Logo file names-->


		<!-- Office Names-->

		<xsl:variable name="varOffice">
			<xsl:choose>
				<xsl:when test="$language = 'en'">
					<xsl:choose>
						<xsl:when test="$ro='GB'">
							<xsl:value-of select="'UKIPO'"/>
						</xsl:when>
						<xsl:when test="$ro='FI'">
							<xsl:value-of select="'PRH'"/>
						</xsl:when>
						<xsl:when test="$ro='NL'">
							<xsl:value-of select="'NIPO'"/>
						</xsl:when>
						<xsl:when test="$ro='ES'">
							<xsl:value-of select="'OEPM'"/>
						</xsl:when>
						<xsl:when test="$ro='SE'">
							<xsl:value-of select="'PRV'"/>
						</xsl:when>
						<xsl:when test="$ro='IS'">
							<xsl:choose>
								<xsl:when test="substring(@date-produced, 1, 8) &gt;= '20190701'">
									<xsl:value-of select="'ISIPO'"/>
								</xsl:when>
								<xsl:otherwise>
									<xsl:value-of select="'ELS'"/>
								</xsl:otherwise>
							</xsl:choose>
						</xsl:when>
						<xsl:when test="$ro='AT'">
							<xsl:value-of select="'ÖPA'"/>
						</xsl:when>
						<xsl:when test="$ro='DK'">
							<xsl:value-of select="'DKPTO'"/>
						</xsl:when>
						<xsl:when test="$ro='XN'">
							<xsl:value-of select="'NPI'"/>
						</xsl:when>
						<xsl:when test="$ro='NO'">
							<xsl:value-of select="'NIPO'"/>
						</xsl:when>
						<xsl:when test="$ro='EP'">
							<xsl:value-of select="'EPO'"/>
						</xsl:when>
						<xsl:when test="$ro='LT'">
							<xsl:value-of select="'VPB'"/>
						</xsl:when>
						<xsl:otherwise>
							<xsl:value-of select="'Office'"/>
						</xsl:otherwise>
					</xsl:choose>
				</xsl:when>
				<xsl:when test="$language = 'de'">
					<xsl:choose>
						<xsl:when test="$ro='GB'">
							<xsl:value-of select="'UKIPO'"/>
						</xsl:when>
						<xsl:when test="$ro='FI'">
							<xsl:value-of select="'PRH'"/>
						</xsl:when>
						<xsl:when test="$ro='NL'">
							<xsl:value-of select="'NIPO'"/>
						</xsl:when>
						<xsl:when test="$ro='ES'">
							<xsl:value-of select="'OEPM'"/>
						</xsl:when>
						<xsl:when test="$ro='SE'">
							<xsl:value-of select="'PRV'"/>
						</xsl:when>
						<xsl:when test="$ro='IS'">
							<xsl:choose>
								<xsl:when test="substring(@date-produced, 1, 8) &gt;= '20190701'">
									<xsl:value-of select="'ISIPO'"/>
								</xsl:when>
								<xsl:otherwise>
									<xsl:value-of select="'ELS'"/>
								</xsl:otherwise>
							</xsl:choose>
						</xsl:when>
						<xsl:when test="$ro='AT'">
							<xsl:value-of select="'ÖPA'"/>
						</xsl:when>
						<xsl:when test="$ro='DK'">
							<xsl:value-of select="'DKPTO'"/>
						</xsl:when>
						<xsl:when test="$ro='XN'">
							<xsl:value-of select="'NPI'"/>
						</xsl:when>
						<xsl:when test="$ro='NO'">
							<xsl:value-of select="'NIPO'"/>
						</xsl:when>
						<xsl:when test="$ro='EP'">
							<xsl:value-of select="'EPA'"/>
						</xsl:when>
						<xsl:when test="$ro='LT'">
							<xsl:value-of select="'VPB'"/>
						</xsl:when>
						<xsl:otherwise>
							<xsl:value-of select="'Office'"/>
						</xsl:otherwise>
					</xsl:choose>
				</xsl:when>
				<xsl:when test="$language = 'fr'">
					<xsl:choose>
						<xsl:when test="$ro='GB'">
							<xsl:value-of select="'UKIPO'"/>
						</xsl:when>
						<xsl:when test="$ro='FI'">
							<xsl:value-of select="'PRH'"/>
						</xsl:when>
						<xsl:when test="$ro='NL'">
							<xsl:value-of select="'NIPO'"/>
						</xsl:when>
						<xsl:when test="$ro='ES'">
							<xsl:value-of select="'OEPM'"/>
						</xsl:when>
						<xsl:when test="$ro='SE'">
							<xsl:value-of select="'PRV'"/>
						</xsl:when>
						<xsl:when test="$ro='IS'">
							<xsl:choose>
								<xsl:when test="substring(@date-produced, 1, 8) &gt;= '20190701'">
									<xsl:value-of select="'ISIPO'"/>
								</xsl:when>
								<xsl:otherwise>
									<xsl:value-of select="'ELS'"/>
								</xsl:otherwise>
							</xsl:choose>
						</xsl:when>
						<xsl:when test="$ro='AT'">
							<xsl:value-of select="'ÖPA'"/>
						</xsl:when>
						<xsl:when test="$ro='DK'">
							<xsl:value-of select="'DKPTO'"/>
						</xsl:when>
						<xsl:when test="$ro='XN'">
							<xsl:value-of select="'NPI'"/>
						</xsl:when>
						<xsl:when test="$ro='NO'">
							<xsl:value-of select="'NIPO'"/>
						</xsl:when>
						<xsl:when test="$ro='EP'">
							<xsl:value-of select="'OEB'"/>
						</xsl:when>
						<xsl:when test="$ro='LT'">
							<xsl:value-of select="'VPB'"/>
						</xsl:when>
						<xsl:otherwise>
							<xsl:value-of select="'Office'"/>
						</xsl:otherwise>
					</xsl:choose>
				</xsl:when>
			</xsl:choose>
		</xsl:variable>

		<xsl:variable name="varCurrency">
			<xsl:choose>
				<xsl:when test="$ro='GB'">
					<xsl:value-of select="'GBP'"/>
				</xsl:when>
				<xsl:when test="$ro='DK' or $ro='XN'">
					<xsl:value-of select="'DKK'"/>
				</xsl:when>
				<xsl:when test="$ro='SE'">
					<xsl:value-of select="'SEK'"/>
				</xsl:when>
				<xsl:when test="$ro='IS'">
					<xsl:value-of select="'ISK'"/>
				</xsl:when>
				<xsl:when test="$ro='NO'">
					<xsl:value-of select="'NOK'"/>
				</xsl:when>
				<!--<xsl:when test="$ro='LT'">
					<xsl:value-of select="'LTL'"/>
				</xsl:when>-->
				<xsl:otherwise>
					<xsl:value-of select="'EUR'"/>
				</xsl:otherwise>
			</xsl:choose>
		</xsl:variable>



		<fo:root font-family="arialuni">
			<!--Set master layout -->
			<fo:layout-master-set>
				<fo:simple-page-master master-name="A4" page-height="297mm" page-width="210mm" margin-top="0.75cm" margin-bottom="0.75cm" margin-left="12.7mm" margin-right="12.7mm">
					<fo:region-body margin-top="3mm" margin-bottom="12mm"/>
				</fo:simple-page-master>
			</fo:layout-master-set>
			<fo:page-sequence master-reference="A4">

				<fo:flow flow-name="xsl-region-body">

					<!--++++++++++++++++++++++++++++++-->
					<!--Start of Form Section 5: Fees -->
					<!--++++++++++++++++++++++++++++++-->
					<xsl:variable name="varFeesToPay">
						<xsl:choose>
							<xsl:when test="$ro='EP'">
								<xsl:choose>
									<xsl:when test="$fee-sheet/ep-financial-data/fees/fee-total-amount='0.00'">
										<xsl:value-of select="'false'"/>
									</xsl:when>
									<xsl:otherwise>
										<xsl:value-of select="'true'"/>
									</xsl:otherwise>
								</xsl:choose>
							</xsl:when>
							<xsl:otherwise>
								<xsl:choose>
									<xsl:when test="$fee-sheet/amount-grand-total='0.00'">
										<xsl:value-of select="'false'"/>
									</xsl:when>
									<xsl:otherwise>
										<xsl:value-of select="'true'"/>
									</xsl:otherwise>
								</xsl:choose>
							</xsl:otherwise>
						</xsl:choose>
					</xsl:variable>

					<xsl:variable name="varSuppFeesToPay">
						<xsl:choose>
							<xsl:when test="$fee-sheet/fee-sheet/supplementary-fees/late-fees/grace-period-fees !='0.00' or $fee-sheet/fee-sheet/ep-financial-data/fees/additional-fee/fee/@topay='yes' or $fee-sheet/fee-sheet/supplementary-fees/late-fees/requested-fees !='0.00' ">
								<xsl:value-of select="'true'"/>
							</xsl:when>
							<xsl:otherwise>
								<xsl:value-of select="'false'"/>
							</xsl:otherwise>
						</xsl:choose>
					</xsl:variable>

					<fo:table table-layout="fixed" border="0.5pt solid black" space-before="10pt">
						<fo:table-column column-width="10mm"/>
						<fo:table-column column-width="120mm"/>
						<fo:table-column column-width="24mm"/>
						<fo:table-column column-width="30mm"/>
						<fo:table-body>
							<fo:table-row>
								<fo:table-cell number-columns-spanned="4" padding-start.length="4pt">
									<fo:block space-before="3pt" space-after="5pt" font-weight="bold" font-size="10pt">
										<xsl:choose>
											<xsl:when test="$ro='EP'">
												<xsl:choose>
													<xsl:when test="$language = 'en'">
														<xsl:value-of select="concat ('Fees ', '(', $varCurrency, ')')"/>
													</xsl:when>
													<xsl:when test="$language = 'fr'">
														<xsl:value-of select="concat ('Taxes ', '(', $varCurrency, ')')"/>
													</xsl:when>
													<xsl:when test="$language = 'de'">
														<xsl:value-of select="concat ('Gebühren ', '(', $varCurrency, ')')"/>
													</xsl:when>
													<xsl:when test="$language = 'es'">
														<xsl:value-of select="concat ('Tasas ', '(', $varCurrency, ')')"/>
													</xsl:when>
												</xsl:choose>
											</xsl:when>
											<xsl:otherwise>
												<xsl:choose>
													<xsl:when test="$language = 'en'">
														<xsl:value-of select="concat ('Fees ', '(', $varCurrency, ')')"/>
													</xsl:when>
													<xsl:when test="$language = 'fr'">
														<xsl:value-of select="concat ('Taxes ', '(', $varCurrency, ')')"/>
													</xsl:when>
													<xsl:when test="$language = 'de'">
														<xsl:value-of select="concat ('Gebühren ', '(', $varCurrency, ')')"/>
													</xsl:when>
													<xsl:when test="$language = 'es'">
														<xsl:value-of select="concat ('Tasas ', '(', $varCurrency, ')')"/>
													</xsl:when>
												</xsl:choose>
											</xsl:otherwise>
										</xsl:choose>
									</fo:block>
								</fo:table-cell>
							</fo:table-row>


							<!--
							============================
							FEES TO THE RECEIVING OFFICE
							============================
							-->

							<!--
							==============================================
							Fee for request for restoration of priority
							==============================================
							-->
							<xsl:choose>
								<xsl:when test="$varFeesToPay='true'">
									<xsl:if test="$fee-sheet/fee-sheet/fees/fee[contains(@fee-code, '001')] /@to-pay='yes'">
										<fo:table-row>
											<fo:table-cell padding-start.length="4pt">
												<fo:block text-align="left" font-weight="normal" font-size="10pt">
													<xsl:choose>
														<xsl:when test="$fee-sheet/fee-sheet/fees/fee[contains(@fee-code, '001')]/@to-pay='yes'">
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'true'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:when>
														<xsl:otherwise>
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'false'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:otherwise>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="2">
												<fo:block text-align="left" font-weight="normal" font-size="8pt">
													<xsl:choose>
														<xsl:when test="$language = 'en'">
															<xsl:value-of select="'Fee for request for restoration of priority.'"/>
														</xsl:when>
														<xsl:when test="$language = 'fr'">
															<xsl:value-of select="'Taxe pour restauration du droit de priorité'"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="'Gebühr für Wiederherstellung des Prioritätsrechts'"/>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="'Tasa para la solicitud de restauración de la prioridad.'"/>
														</xsl:when>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="1" padding-end.length="4pt">
												<fo:block text-align="right" font-weight="normal" font-size="8pt">
													<xsl:choose>
														<xsl:when test="$ro='FI'">
															<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='001FI']/amount-total, '.00')"/>
														</xsl:when>
														<xsl:when test="$ro='SE'">
															<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='001SE']/amount-total, '.00')"/>
														</xsl:when>
														<xsl:when test="$ro='NL'">
															<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='001NL']/amount-total, '.00')"/>
														</xsl:when>
														<xsl:when test="$ro='IS'">
															<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='001IS']/amount-total, '.00')"/>
														</xsl:when>
														<xsl:when test="$ro='AT'">
															<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='001AT']/amount-total, '.00')"/>
														</xsl:when>
														<xsl:when test="$ro='DK'">
															<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='001DK']/amount-total, '.00')"/>
														</xsl:when>
														<xsl:when test="$ro='LT'">
															<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='001LT']/amount-total, '.00')"/>
														</xsl:when>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
										</fo:table-row>
									</xsl:if>
									<!--
									===============================================================
									Fee for request for restoration of priority (EPO) - code=013EP
									===============================================================
									-->

									<xsl:if test="$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='013']/@topay='yes' and ($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@mode-type!='auto' or count($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment)=0)">
										<fo:table-row>
											<fo:table-cell padding-start.length="4pt">
												<fo:block text-align="left" font-weight="normal" font-size="10pt">
													<xsl:choose>
														<xsl:when test="$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='013']/@topay='yes'">
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'true'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:when>
														<xsl:otherwise>
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'false'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:otherwise>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="2">
												<fo:block text-align="left" font-weight="normal" font-size="8pt">
													<xsl:choose>
														<xsl:when test="$language = 'en'">
															<xsl:value-of select="'Fee for re-establishment, re-instatement, restoration (EPC, PCT)'"/>
														</xsl:when>
														<xsl:when test="$language = 'fr'">
															<xsl:value-of select="'Taxe de restitutio in integrum, de restauration et de rétablissement des droits (CBE, PCT)'"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="'Wiedereinsetzungsgebühr, Wiederherstellungsgebühr (EPÜ, PCT)'"/>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="'Tasa para la solicitud de restauración de la prioridad'"/>
														</xsl:when>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="1" padding-end.length="4pt">
												<fo:block text-align="right" font-weight="normal" font-size="8pt">
													<xsl:value-of select="format-number($fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='013']/fee-schedule, '### ##0.00', 'en')"/>
												</fo:block>
											</fo:table-cell>
										</fo:table-row>
									</xsl:if>

									<!--
									===============================================================
									EPO - code=019EP
									===============================================================
									-->
									<xsl:if test="$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='019']/@topay='yes' and ($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@mode-type!='auto' or count($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment)=0)">
										<fo:table-row>
											<fo:table-cell padding-start.length="4pt">
												<fo:block text-align="left" font-weight="normal" font-size="10pt">
													<xsl:choose>
														<xsl:when test="$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='019']/@topay='yes'">
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'true'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:when>
														<xsl:otherwise>
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'false'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:otherwise>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="2">
												<fo:block text-align="left" font-weight="normal" font-size="8pt">
													<xsl:choose>
														<xsl:when test="$language = 'en'">
															<xsl:value-of select="'Transmittal fee for an international application'"/>
														</xsl:when>
														<xsl:when test="$language = 'fr'">
															<xsl:value-of select="'Taxe de transmission pour demande internationale'"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="'Übermittlungsgebühr für eine int. Anmeldung'"/>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="'Transmittal fee for an international application'"/>
														</xsl:when>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="1" padding-end.length="4pt">
												<fo:block text-align="right" font-weight="normal" font-size="8pt">
													<xsl:value-of select="format-number($fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='019']/fee-schedule, '### ##0.00', 'en')"/>
												</fo:block>
											</fo:table-cell>
										</fo:table-row>
									</xsl:if>

									<!--
									===============================================================
									EPO - code=063EP
									===============================================================
									-->
									<xsl:if test="$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='063']/@topay='yes' and ($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@mode-type!='auto' or count($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment)=0)">
										<fo:table-row>
											<fo:table-cell padding-start.length="4pt">
												<fo:block text-align="left" font-weight="normal" font-size="10pt">
													<xsl:choose>
														<xsl:when test="$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='063']/@topay='yes'">
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'true'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:when>
														<xsl:otherwise>
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'false'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:otherwise>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<xsl:variable name="var063EP_PDF_fee_formula">
												<xsl:call-template name="PDF_fee_formula">
													<xsl:with-param name="fee_code">
														<xsl:value-of select="'063'"/>
													</xsl:with-param>
												</xsl:call-template>
											</xsl:variable>
											<fo:table-cell number-columns-spanned="2">
												<fo:block text-align="left" font-weight="normal" font-size="8pt">
													<xsl:choose>
														<xsl:when test="$language = 'en'">
															<xsl:value-of select="concat('Late payment fee (R.16bis.2 PCT), maximum amount  ', $var063EP_PDF_fee_formula)"/>
														</xsl:when>
														<xsl:when test="$language = 'fr'">
															<xsl:value-of select="concat('Taxe pour paiement tardif (R. 16bis.2 PCT), montant maximal  ', $var063EP_PDF_fee_formula)"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="concat('Gebühr für verspätete Zahlung (R. 16bis.2 PCT), maximaler Betrag  ', $var063EP_PDF_fee_formula)"/>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="concat('Late payment fee (R.16bis.2 PCT), maximum amount  ', $var063EP_PDF_fee_formula)"/>
														</xsl:when>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="1" padding-end.length="4pt">
												<fo:block text-align="right" font-weight="normal" font-size="8pt">
													<xsl:value-of select="format-number($fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='063']/fee-schedule, '### ##0.00', 'en')"/>
												</fo:block>
											</fo:table-cell>
										</fo:table-row>
									</xsl:if>

									<!--
									===============================================================
									EPO - code=222EP
									===============================================================
									-->
									<xsl:if test="$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='222']/@topay='yes' and ($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@mode-type!='auto' or count($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment)=0)">
										<fo:table-row>
											<fo:table-cell padding-start.length="4pt">
												<fo:block text-align="left" font-weight="normal" font-size="10pt">
													<xsl:choose>
														<xsl:when test="$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='222']/@topay='yes'">
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'true'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:when>
														<xsl:otherwise>
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'false'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:otherwise>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<xsl:variable name="var222EP_PDF_fee_formula">
												<xsl:call-template name="PDF_fee_formula">
													<xsl:with-param name="fee_code">
														<xsl:value-of select="'222'"/>
													</xsl:with-param>
												</xsl:call-template>
											</xsl:variable>
											<fo:table-cell number-columns-spanned="2">
												<fo:block text-align="left" font-weight="normal" font-size="8pt">
													<xsl:choose>
														<xsl:when test="$language = 'en'">
															<xsl:value-of select="concat('PCT charge per sheet in excess of 30  ', $var222EP_PDF_fee_formula)"/>
														</xsl:when>
														<xsl:when test="$language = 'fr'">
															<xsl:value-of select="concat('Supplément PCT par feuille à compter de la 31e  ', $var222EP_PDF_fee_formula)"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="concat('PCT Gebühr für das 31. und jedes weitere Blatt  ', $var222EP_PDF_fee_formula)"/>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="concat('PCT charge per sheet in excess of 30  ', $var222EP_PDF_fee_formula)"/>
														</xsl:when>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="1" padding-end.length="4pt">
												<fo:block text-align="right" font-weight="normal" font-size="8pt">
													<xsl:value-of select="format-number($fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='222']/fee-schedule, '### ##0.00', 'en')"/>
												</fo:block>
											</fo:table-cell>
										</fo:table-row>
									</xsl:if>

									<!--
									===============================================================
									EPO - code=225EP
									===============================================================
									-->
									<xsl:if test="$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='225']/@topay='yes' and ($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@mode-type!='auto' or count($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment)=0)">
										<fo:table-row>
											<fo:table-cell padding-start.length="4pt">
												<fo:block text-align="left" font-weight="normal" font-size="10pt">
													<xsl:choose>
														<xsl:when test="$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='225']/@topay='yes'">
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'true'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:when>
														<xsl:otherwise>
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'false'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:otherwise>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<xsl:variable name="var225EP_PDF_fee_formula">
												<xsl:call-template name="PDF_fee_formula">
													<xsl:with-param name="fee_code">
														<xsl:value-of select="'225'"/>
													</xsl:with-param>
												</xsl:call-template>
											</xsl:variable>
											<fo:table-cell number-columns-spanned="2">
												<fo:block text-align="left" font-weight="normal" font-size="8pt">
													<xsl:choose>
														<xsl:when test="$language = 'en'">
															<xsl:value-of select="concat('International filing fee  ', $var225EP_PDF_fee_formula)"/>
														</xsl:when>
														<xsl:when test="$language = 'fr'">
															<xsl:value-of select="concat('Taxe internationale de dépôt  ', $var225EP_PDF_fee_formula)"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="concat('Internationale Anmeldegebühr  ', $var225EP_PDF_fee_formula)"/>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="concat('International filing fee  ', $var225EP_PDF_fee_formula)"/>
														</xsl:when>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="1" padding-end.length="4pt">
												<fo:block text-align="right" font-weight="normal" font-size="8pt">
													<xsl:value-of select="format-number($fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='225']/fee-schedule, '### ##0.00', 'en')"/>
												</fo:block>
											</fo:table-cell>
										</fo:table-row>
									</xsl:if>

									<!--
									===============================================================
									EPO - code=316EP
									===============================================================
									-->
									<xsl:if test="$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='316']/@topay='yes' and ($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@mode-type!='auto' or count($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment)=0)">
										<fo:table-row>
											<fo:table-cell padding-start.length="4pt">
												<fo:block text-align="left" font-weight="normal" font-size="10pt">
													<xsl:choose>
														<xsl:when test="$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='316']/@topay='yes'">
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'true'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:when>
														<xsl:otherwise>
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'false'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:otherwise>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<xsl:variable name="var316EP_PDF_fee_formula">
												<xsl:call-template name="PDF_fee_formula">
													<xsl:with-param name="fee_code">
														<xsl:value-of select="'316'"/>
													</xsl:with-param>
												</xsl:call-template>
											</xsl:variable>
											<fo:table-cell number-columns-spanned="2">
												<fo:block text-align="left" font-weight="normal" font-size="8pt">
													<xsl:choose>
														<xsl:when test="$language = 'en'">
															<xsl:value-of select="concat('PCT – Web-form filing reduction  ', $var316EP_PDF_fee_formula)"/>
														</xsl:when>
														<xsl:when test="$language = 'fr'">
															<xsl:value-of select="concat('PCT - Réduction pour le dépôt par formulaire en ligne  ', $var316EP_PDF_fee_formula)"/>
															<xsl:value-of select="''"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="concat('PCT - Ermäßigung für Web-Einreichung  ', $var316EP_PDF_fee_formula)"/>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="concat('PCT – Web-form filing reduction  ', $var316EP_PDF_fee_formula)"/>
														</xsl:when>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="1" padding-end.length="4pt">
												<fo:block text-align="right" font-weight="normal" font-size="8pt">
													<xsl:value-of select="format-number($fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='316']/fee-schedule, '### ##0.00', 'en')"/>
												</fo:block>
											</fo:table-cell>
										</fo:table-row>
									</xsl:if>

									<!--
									===============================================================
									EPO - code=318EP
									===============================================================
									-->
									<xsl:if test="$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='318']/@topay='yes' and ($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@mode-type!='auto' or count($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment)=0)">
										<fo:table-row>
											<fo:table-cell padding-start.length="4pt">
												<fo:block text-align="left" font-weight="normal" font-size="10pt">
													<xsl:choose>
														<xsl:when test="$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='318']/@topay='yes'">
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'true'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:when>
														<xsl:otherwise>
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'false'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:otherwise>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<xsl:variable name="var318EP_PDF_fee_formula">
												<xsl:call-template name="PDF_fee_formula">
													<xsl:with-param name="fee_code">
														<xsl:value-of select="'318'"/>
													</xsl:with-param>
												</xsl:call-template>
											</xsl:variable>
											<fo:table-cell number-columns-spanned="2">
												<fo:block text-align="left" font-weight="normal" font-size="8pt">
													<xsl:choose>
														<xsl:when test="$language = 'en'">
															<xsl:value-of select="concat('PCT - PDF reduction  ', $var318EP_PDF_fee_formula)"/>
														</xsl:when>
														<xsl:when test="$language = 'fr'">
															<xsl:value-of select="concat('PCT - PDF réduction  ', $var318EP_PDF_fee_formula)"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="concat('PCT - PDF Ermäßigung  ', $var318EP_PDF_fee_formula)"/>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="concat('PCT - PDF reduction  ', $var318EP_PDF_fee_formula)"/>
														</xsl:when>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="1" padding-end.length="4pt">
												<fo:block text-align="right" font-weight="normal" font-size="8pt">
													<xsl:value-of select="format-number($fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='318']/fee-schedule, '### ##0.00', 'en')"/>
												</fo:block>
											</fo:table-cell>
										</fo:table-row>
									</xsl:if>

									<!--
									===============================================================
									EPO - code=319EP
									===============================================================
									-->
									<xsl:if test="$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='319']/@topay='yes' and ($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@mode-type!='auto' or count($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment)=0)">
										<fo:table-row>
											<fo:table-cell padding-start.length="4pt">
												<fo:block text-align="left" font-weight="normal" font-size="10pt">
													<xsl:choose>
														<xsl:when test="$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='319']/@topay='yes'">
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'true'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:when>
														<xsl:otherwise>
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'false'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:otherwise>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<xsl:variable name="var319EP_PDF_fee_formula">
												<xsl:call-template name="PDF_fee_formula">
													<xsl:with-param name="fee_code">
														<xsl:value-of select="'319'"/>
													</xsl:with-param>
												</xsl:call-template>
											</xsl:variable>
											<fo:table-cell number-columns-spanned="2">
												<fo:block text-align="left" font-weight="normal" font-size="8pt">
													<xsl:choose>
														<xsl:when test="$language = 'en'">
															<xsl:value-of select="concat('PCT - XML reduction  ', $var319EP_PDF_fee_formula)"/>
														</xsl:when>
														<xsl:when test="$language = 'fr'">
															<xsl:value-of select="concat('PCT - XML réduction  ', $var319EP_PDF_fee_formula)"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="concat('PCT - XML Ermäßigung  ', $var319EP_PDF_fee_formula)"/>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="concat('PCT - XML reduction  ', $var319EP_PDF_fee_formula)"/>
														</xsl:when>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="1" padding-end.length="4pt">
												<fo:block text-align="right" font-weight="normal" font-size="8pt">
													<xsl:value-of select="format-number($fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='319']/fee-schedule, '### ##0.00', 'en')"/>
												</fo:block>
											</fo:table-cell>
										</fo:table-row>
									</xsl:if>

									<!--
									===============================================================
									EPO - code=064EP
									===============================================================
									-->
									<xsl:if test="$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='064']/@topay='yes' and ($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@mode-type!='auto' or count($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment)=0)">
										<fo:table-row>
											<fo:table-cell padding-start.length="4pt">
												<fo:block text-align="left" font-weight="normal" font-size="10pt">
													<xsl:choose>
														<xsl:when test="$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='064']/@topay='yes'">
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'true'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:when>
														<xsl:otherwise>
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'false'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:otherwise>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<xsl:variable name="var064EP_PDF_fee_formula">
												<xsl:call-template name="PDF_fee_formula">
													<xsl:with-param name="fee_code">
														<xsl:value-of select="'064'"/>
													</xsl:with-param>
												</xsl:call-template>
											</xsl:variable>
											<fo:table-cell number-columns-spanned="2">
												<fo:block text-align="left" font-weight="normal" font-size="8pt">
													<xsl:choose>
														<xsl:when test="$language = 'en'">
															<xsl:value-of select="concat('Late payment fee (R.58bis.2 PCT)  ', $var064EP_PDF_fee_formula)"/>
														</xsl:when>
														<xsl:when test="$language = 'fr'">
															<xsl:value-of select="concat('Taxe pour paiement tardif (R. 58bis.2 PCT)  ', $var064EP_PDF_fee_formula)"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="concat('Gebühr für verspätete Zahlung (R. 58bis.2 PCT)  ', $var064EP_PDF_fee_formula)"/>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="concat('Late payment fee (R.58bis.2 PCT)  ', $var064EP_PDF_fee_formula)"/>
														</xsl:when>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="1" padding-end.length="4pt">
												<fo:block text-align="right" font-weight="normal" font-size="8pt">
													<xsl:value-of select="format-number($fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='064']/fee-schedule, '### ##0.00', 'en')"/>
												</fo:block>
											</fo:table-cell>
										</fo:table-row>
									</xsl:if>

									<!--
									===============================================================
									EPO - code=069EP
									===============================================================
									-->
									<xsl:if test="$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='069']/@topay='yes' and ($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@mode-type!='auto' or count($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment)=0)">
										<fo:table-row>
											<fo:table-cell padding-start.length="4pt">
												<fo:block text-align="left" font-weight="normal" font-size="10pt">
													<xsl:choose>
														<xsl:when test="$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='069']/@topay='yes'">
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'true'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:when>
														<xsl:otherwise>
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'false'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:otherwise>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="2">
												<fo:block text-align="left" font-weight="normal" font-size="8pt">
													<xsl:choose>
														<xsl:when test="$language = 'en'">
															<xsl:value-of select="'Review fee for a supplementary international search'"/>
														</xsl:when>
														<xsl:when test="$language = 'fr'">
															<xsl:value-of select="'Taxe de réexamen pour une recherche internationale supplémentaire'"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="'Überprüfungsgebühr für eine ergänzende internationale Recherche'"/>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="'Review fee for a supplementary international search'"/>
														</xsl:when>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="1" padding-end.length="4pt">
												<fo:block text-align="right" font-weight="normal" font-size="8pt">
													<xsl:value-of select="format-number($fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='069']/fee-schedule, '### ##0.00', 'en')"/>
												</fo:block>
											</fo:table-cell>
										</fo:table-row>
									</xsl:if>
									<!--
									============================
									FEES TO THE ISA
									============================
									-->
									<!--
									==========================================================================================
									Additional fee for independent inventions, after invitation (Form PCT/ISA/206) code=002xx
									Additional search fee (EPO) code=003EP
									==========================================================================================
									-->

									<xsl:if test="$fee-sheet/fee-sheet/fees/fee[contains(@fee-code, '002')]/@to-pay='yes' or $fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index='003']/@topay='yes' and ($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@mode-type!='auto' or count($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment)=0)">
										<fo:table-row>
											<fo:table-cell padding-start.length="4pt">
												<fo:block text-align="left" font-weight="normal" font-size="10pt">
													<xsl:choose>
														<xsl:when test="$fee-sheet/fee-sheet/fees/fee[contains(@fee-code, '002')]/@to-pay='yes' or $fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index='003']/@topay='yes'">
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'true'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:when>
														<xsl:otherwise>
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'false'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:otherwise>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>

											<fo:table-cell number-columns-spanned="2">
												<fo:block text-align="left" font-weight="normal" font-size="8pt">
													<xsl:choose>
														<xsl:when test="$ro='EP'">
															<xsl:variable name="var003EP_PDF_fee_formula">
																<xsl:call-template name="PDF_fee_formula">
																	<xsl:with-param name="fee_code">
																		<xsl:value-of select="'003'"/>
																	</xsl:with-param>
																</xsl:call-template>
															</xsl:variable>
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="concat('Fee for an international search  ', $var003EP_PDF_fee_formula)"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="concat('Taxe de recherche internationale   ', $var003EP_PDF_fee_formula)"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="concat('Gebühr für eine internationale Recherche   ', $var003EP_PDF_fee_formula)"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="concat('Tasa de búsqueda adicional   ', $var003EP_PDF_fee_formula)"/>
																</xsl:when>
															</xsl:choose>
														</xsl:when>
														<xsl:otherwise>
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="'Additional fee for independent inventions, after invitation (Form PCT/ISA/206)'"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="'Taxe additionnelle pour inventions indépendantes, après invitation (formulaire PCT/ISA/206)'"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="'Zusätzliche Gebühren für unabhängige Erfindungen nach Aufforderung (Formblatt PCT/ISA/206)'"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="'Tasa adicional por incumplimiento del requisito de unidad de invención (PCT/ISA/206)'"/>
																</xsl:when>
															</xsl:choose>
														</xsl:otherwise>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="1" padding-end.length="4pt">
												<fo:block text-align="right" font-weight="normal" font-size="8pt">
													<xsl:choose>
														<xsl:when test="$ro='FI'">
															<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='002FI']/amount-total, '.00')"/>
														</xsl:when>
														<xsl:when test="$ro='SE'">
															<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='002SE']/amount-total, '.00')"/>
														</xsl:when>
														<xsl:when test="$ro='ES'">
															<xsl:choose>
																<xsl:when test="contains($fee-sheet/fee-sheet/fees/fee[@fee-code ='002ES']/amount-total, '.')">
																	<xsl:value-of select="$fee-sheet/fee-sheet/fees/fee[@fee-code ='002ES']/amount-total"/>
																</xsl:when>
																<xsl:otherwise>
																	<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='002ES']/amount-total, '.00')"/>
																</xsl:otherwise>
															</xsl:choose>
														</xsl:when>
														<xsl:when test="$ro='XN'">
															<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='002XN']/amount-total, '.00')"/>
														</xsl:when>
														<xsl:when test="$ro='EP'">
															<xsl:value-of select="format-number($fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='003']/fee-schedule, '### ##0.00', 'en')"/>
														</xsl:when>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
										</fo:table-row>
										<xsl:choose>
											<xsl:when test="$ro='FI'">
												<fo:table-row>
													<fo:table-cell number-columns-spanned="4" padding-start.length="100pt">
														<fo:block text-left="right" font-weight="normal" font-size="8pt">
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="concat('Number of independent inventions: ',$fee-sheet/fee-sheet/fees/fee[@fee-code ='002FI']/@count)"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="concat($varFRString19, ' ',$fee-sheet/fee-sheet/fees/fee[@fee-code ='002FI']/@count)"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="concat('Anzahl der unabhängige Erfindungen: ',$fee-sheet/fee-sheet/fees/fee[@fee-code ='002FI']/@count)"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="concat('Número de invenciones independientes: ',$fee-sheet/fee-sheet/fees/fee[@fee-code ='002FI']/@count)"/>
																</xsl:when>
															</xsl:choose>
														</fo:block>
													</fo:table-cell>
												</fo:table-row>
											</xsl:when>
											<xsl:when test="$ro='SE'">
												<fo:table-row>
													<fo:table-cell number-columns-spanned="4" padding-start.length="100pt">
														<fo:block text-left="right" font-weight="normal" font-size="8pt">
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="concat('Number of independent inventions: ',$fee-sheet/fee-sheet/fees/fee[@fee-code ='002SE']/@count)"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="concat($varFRString19, ' ',$fee-sheet/fee-sheet/fees/fee[@fee-code ='002SE']/@count)"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="concat('Anzahl der unabhängige Erfindungen: ',$fee-sheet/fee-sheet/fees/fee[@fee-code ='002SE']/@count)"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="concat('Número de invenciones independientes: ',$fee-sheet/fee-sheet/fees/fee[@fee-code ='002SE']/@count)"/>
																</xsl:when>
															</xsl:choose>
														</fo:block>
													</fo:table-cell>
												</fo:table-row>
											</xsl:when>
											<xsl:when test="$ro='ES'">
												<fo:table-row>
													<fo:table-cell number-columns-spanned="4" padding-start.length="100pt">
														<fo:block text-left="right" font-weight="normal" font-size="8pt">
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="concat('Number of independent inventions: ',$fee-sheet/fee-sheet/fees/fee[@fee-code ='002ES']/@count)"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="concat($varFRString19, ' ',$fee-sheet/fee-sheet/fees/fee[@fee-code ='002ES']/@count)"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="concat('Anzahl der unabhängige Erfindungen: ',$fee-sheet/fee-sheet/fees/fee[@fee-code ='002ES']/@count)"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="concat('Número de invenciones independientes: ',$fee-sheet/fee-sheet/fees/fee[@fee-code ='002ES']/@count)"/>
																</xsl:when>
															</xsl:choose>
														</fo:block>
													</fo:table-cell>
												</fo:table-row>
											</xsl:when>
											<xsl:when test="$ro='XN'">
												<fo:table-row>
													<fo:table-cell number-columns-spanned="4" padding-start.length="100pt">
														<fo:block text-left="right" font-weight="normal" font-size="8pt">
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="concat('Number of independent inventions: ',$fee-sheet/fee-sheet/fees/fee[@fee-code ='002XN']/@count)"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="concat($varFRString19, ' ',$fee-sheet/fee-sheet/fees/fee[@fee-code ='002XN']/@count)"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="concat('Anzahl der unabhängige Erfindungen: ',$fee-sheet/fee-sheet/fees/fee[@fee-code ='002XN']/@count)"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="concat('Número de invenciones independientes: ',$fee-sheet/fee-sheet/fees/fee[@fee-code ='002XN']/@count)"/>
																</xsl:when>
															</xsl:choose>
														</fo:block>
													</fo:table-cell>
												</fo:table-row>
											</xsl:when>
											<!--<xsl:when test="$ro='EP' and $fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@mode-type!='auto'">
												<fo:table-row>
													<fo:table-cell number-columns-spanned="3" padding-start.length="100pt">
														<fo:block text-left="right" font-weight="normal" font-size="8pt">
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="concat('Number of independent inventions: ',$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='003']/fee-factor)"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="concat($varFRString19, ' ',$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='003']/fee-factor)"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="concat('Anzahl der unabhängige Erfindungen: ',$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='003']/fee-factor)"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="concat('Número de invenciones independientes: ',$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='003']/fee-factor)"/>
																</xsl:when>
															</xsl:choose>
														</fo:block>
													</fo:table-cell>
													<fo:table-cell number-columns-spanned="1" padding-end.length="4pt">
														<fo:block text-align="right" font-weight="normal" font-size="8pt">
															<xsl:value-of select="concat(($fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='003']/fee-factor) * ($fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='003']/fee-sub-amount), '.00')"/>
														</fo:block>
													</fo:table-cell>
												</fo:table-row>
											</xsl:when>-->
										</xsl:choose>
									</xsl:if>

									<!--
									===============================================================
									Fee for late furnishing of a sequence listing (EPO) Code=066EP
									===============================================================
									-->
									<xsl:if test="$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index='066']/@topay='yes' and ($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@mode-type!='auto' or count($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment)=0)">
										<fo:table-row>
											<fo:table-cell padding-start.length="4pt">
												<fo:block text-align="left" font-weight="normal" font-size="10pt">
													<xsl:choose>
														<xsl:when test="$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index='066']/@topay='yes'">
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'true'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:when>
														<xsl:otherwise>
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'false'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:otherwise>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="2">
												<fo:block text-align="left" font-weight="normal" font-size="8pt">
													<xsl:choose>
														<xsl:when test="$language = 'en'">
															<xsl:value-of select="'Fee for late furnishing of sequence listings (R. 13ter.1, 13ter.2 PCT)'"/>
														</xsl:when>
														<xsl:when test="$language = 'fr'">
															<xsl:value-of select="'Taxe pour remise tardive de listages des séquences - (R. 13ter.1, 13ter.2 PCT)'"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="'Gebühr für verspätete Einreichung von Sequenzprotokollen - (R. 13ter.1, 13ter.2 PCT)'"/>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="'Tasa por aportación tardía (listado de secuencias)'"/>
														</xsl:when>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="1" padding-end.length="4pt">
												<fo:block text-align="right" font-weight="normal" font-size="8pt">
													<xsl:value-of select="format-number($fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='066']/fee-schedule, '### ##0.00', 'en')"/>
												</fo:block>
											</fo:table-cell>
										</fo:table-row>
									</xsl:if>

									<!--
									==================================================
									Protest Fee (EPO) - Code=062EP
									==================================================
									-->
									<xsl:if test="$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index='062']/@topay='yes' and ($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@mode-type!='auto' or count($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment)=0)">
										<fo:table-row>
											<fo:table-cell padding-start.length="4pt">
												<fo:block text-align="left" font-weight="normal" font-size="10pt">
													<xsl:choose>
														<xsl:when test="$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index='062']/@topay='yes'">
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'true'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:when>
														<xsl:otherwise>
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'false'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:otherwise>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="2">
												<fo:block text-align="left" font-weight="normal" font-size="8pt">
													<xsl:choose>
														<xsl:when test="$language = 'en'">
															<xsl:value-of select="'Protest fee.'"/>
														</xsl:when>
														<xsl:when test="$language = 'fr'">
															<xsl:value-of select="'Taxe de réserve'"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="'Widerspruchsgebühr'"/>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="'Tasa de protesta.'"/>
														</xsl:when>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="1" padding-end.length="4pt">
												<fo:block text-align="right" font-weight="normal" font-size="8pt">
													<xsl:value-of select="format-number($fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='062']/fee-schedule, '### ##0.00', 'en')"/>
												</fo:block>
											</fo:table-cell>
										</fo:table-row>
									</xsl:if>

									<!--
									===============================================================
									Fee for addition or correction of a priority claim code=006LT
									==============================================================
									-->
									<xsl:if test="$fee-sheet/fee-sheet/fees/fee[@fee-code ='006LT']/@to-pay='yes'">
										<fo:table-row>
											<fo:table-cell padding-start.length="4pt">
												<fo:block text-align="left" font-weight="normal" font-size="10pt">
													<xsl:choose>
														<xsl:when test="$fee-sheet/fee-sheet/fees/fee[@fee-code ='006LT']/@to-pay='yes'">
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'true'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:when>
														<xsl:otherwise>
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'false'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:otherwise>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="2">
												<fo:block text-align="left" font-weight="normal" font-size="8pt">
													<xsl:choose>
														<xsl:when test="$language = 'en'">
															<xsl:value-of select="'Fee for addition or correction of a priority claim'"/>
														</xsl:when>
														<xsl:when test="$language = 'fr'">
															<xsl:value-of select="'Fee for addition or correction of a priority claim'"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="'Fee for addition or correction of a priority claim'"/>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="'Fee for addition or correction of a priority claim'"/>
														</xsl:when>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="1" padding-end.length="4pt">
												<fo:block text-align="right" font-weight="normal" font-size="8pt">
													<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='006LT']/amount-total, '.00')"/>
												</fo:block>
											</fo:table-cell>
										</fo:table-row>
									</xsl:if>

									<!--
									===============================================================
									•	Fee for later filing of a priority document code=007LT
									==============================================================
									-->
									<xsl:if test="$fee-sheet/fee-sheet/fees/fee[@fee-code ='007LT']/@to-pay='yes'">
										<fo:table-row>
											<fo:table-cell padding-start.length="4pt">
												<fo:block text-align="left" font-weight="normal" font-size="10pt">
													<xsl:choose>
														<xsl:when test="$fee-sheet/fee-sheet/fees/fee[@fee-code ='007LT']/@to-pay='yes'">
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'true'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:when>
														<xsl:otherwise>
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'false'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:otherwise>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="2">
												<fo:block text-align="left" font-weight="normal" font-size="8pt">
													<xsl:choose>
														<xsl:when test="$language = 'en'">
															<xsl:value-of select="'Fee for later filing of a priority document'"/>
														</xsl:when>
														<xsl:when test="$language = 'fr'">
															<xsl:value-of select="'Fee for later filing of a priority document'"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="'Fee for later filing of a priority document'"/>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="'Fee for later filing of a priority document'"/>
														</xsl:when>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="1" padding-end.length="4pt">
												<fo:block text-align="right" font-weight="normal" font-size="8pt">
													<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='007LT']/amount-total, '.00')"/>
												</fo:block>
											</fo:table-cell>
										</fo:table-row>
									</xsl:if>


									<!--
									============================
									FEES TO THE IPEA
									============================
									-->
									<!--
									==========================================================================================
									Preliminary examination fee (late fee for Demand) code=003
									Handling fee (late fee for Demand) (EPO) code=021EP
									==========================================================================================
									-->

									<xsl:if test="$fee-sheet/fee-sheet/fees/fee[contains(@fee-code, '003')]/@to-pay='yes' and not($fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[contains(@index, '003')]/@topay='yes') or $fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index='021']/@topay='yes' and ($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@mode-type!='auto' or count($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment)=0)">
										<fo:table-row>
											<fo:table-cell padding-start.length="4pt">
												<fo:block text-align="left" font-weight="normal" font-size="10pt">
													<xsl:choose>
														<xsl:when test="$fee-sheet/fee-sheet/fees/fee[contains(@fee-code, '003')]/@to-pay='yes' and not($fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[contains(@index, '003')]/@topay='yes') or $fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[contains(@index, '021')]/@topay='yes'">
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'true'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:when>
														<xsl:otherwise>
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'false'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:otherwise>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="2">
												<fo:block text-align="left" font-weight="normal" font-size="8pt">
													<xsl:choose>
														<xsl:when test="$ro='EP'">
															<xsl:variable name="var021EP_PDF_fee_formula">
																<xsl:call-template name="PDF_fee_formula">
																	<xsl:with-param name="fee_code">
																		<xsl:value-of select="'021'"/>
																	</xsl:with-param>
																</xsl:call-template>
															</xsl:variable>
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="concat('Fee for preliminary examination of int. application  ', $var021EP_PDF_fee_formula)"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="concat('Taxe d examen préliminaire de demande int.  ', $var021EP_PDF_fee_formula)"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="concat('Gebühr für vorläufige Prüfung einer int. Anmeldung  ', $var021EP_PDF_fee_formula)"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="concat('Fee for preliminary examination of int. application  ', $var021EP_PDF_fee_formula)"/>
																</xsl:when>
															</xsl:choose>
														</xsl:when>
														<xsl:otherwise>
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="'Later paid international preliminary examination fee - PCT Demand (Form PCT/IPEA/401)'"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="$varFRString16"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="'Verspätete Zahlung der Gebühr für die internationale vorläufige Prüfung - PCT-Antrag (Formblatt PCT/IPEA/401)'"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="'Tasa de examen preliminar internacional más, en su caso, el importe de la tasa por pago tardío - PCT Demand (Formulario PCT/IPEA/401)'"/>
																</xsl:when>
															</xsl:choose>
														</xsl:otherwise>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="1" padding-end.length="4pt">
												<fo:block text-align="right" font-weight="normal" font-size="8pt">
													<xsl:choose>
														<xsl:when test="$ro='FI'">
															<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='003FI']/amount-total, '.00')"/>
														</xsl:when>
														<xsl:when test="$ro='SE'">
															<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='003SE']/amount-total, '.00')"/>
														</xsl:when>
														<xsl:when test="$ro='EP'">
															<xsl:value-of select="format-number($fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='021']/fee-schedule, '### ##0.00', 'en')"/>
														</xsl:when>
														<xsl:when test="$ro='ES'">
															<xsl:choose>
																<xsl:when test="contains($fee-sheet/fee-sheet/fees/fee[@fee-code ='003ES']/amount-total, '.')">
																	<xsl:value-of select="$fee-sheet/fee-sheet/fees/fee[@fee-code ='003ES']/amount-total"/>
																</xsl:when>
																<xsl:otherwise>
																	<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='003ES']/amount-total, '.00')"/>
																</xsl:otherwise>
															</xsl:choose>
														</xsl:when>
														<xsl:when test="$ro='XN'">
															<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='003XN']/amount-total, '.00')"/>
														</xsl:when>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
										</fo:table-row>
									</xsl:if>
									<!--
									==========================================================================================
									Handling fee (late fee for Demand) code=004
									Handling fee (late fee for Demand) (EPO) code=224EP
									==========================================================================================
									-->

									<xsl:if test="$fee-sheet/fee-sheet/fees/fee[@fee-code ='004']/@to-pay='yes' or $fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='224']/@topay='yes' and ($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@mode-type!='auto' or count($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment)=0)">
										<fo:table-row>
											<fo:table-cell padding-start.length="4pt">
												<fo:block text-align="left" font-weight="normal" font-size="10pt">
													<xsl:choose>
														<xsl:when test="$fee-sheet/fee-sheet/fees/fee[@fee-code ='004']/@to-pay='yes' or $fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='224']/@topay='yes'">
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'true'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:when>
														<xsl:otherwise>
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'false'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:otherwise>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="2">
												<fo:block text-align="left" font-weight="normal" font-size="8pt">
													<xsl:choose>
														<xsl:when test="$ro='EP'">
															<xsl:variable name="var224EP_PDF_fee_formula">
																<xsl:call-template name="PDF_fee_formula">
																	<xsl:with-param name="fee_code">
																		<xsl:value-of select="'224'"/>
																	</xsl:with-param>
																</xsl:call-template>
															</xsl:variable>
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="concat('Handling fee  ', $var224EP_PDF_fee_formula)"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="concat('Taxe de traitement  ', $var224EP_PDF_fee_formula)"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="concat('Bearbeitungsgebühr  ', $var224EP_PDF_fee_formula)"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="concat('Tasa de tramitación más, en su caso, el importe de la tasa por pago tardío - PCT Demand (Formulario PCT/IPEA/401)  ', $var224EP_PDF_fee_formula)"/>
																</xsl:when>
															</xsl:choose>
														</xsl:when>
														<xsl:otherwise>
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="'Handling fee'"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="'Taxe de traitement'"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="'Bearbeitungsgebühr'"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="'Tasa de tramitación más, en su caso, el importe de la tasa por pago tardío - PCT Demand (Formulario PCT/IPEA/401)'"/>
																</xsl:when>
															</xsl:choose>
														</xsl:otherwise>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="1" padding-end.length="4pt">
												<fo:block text-align="right" font-weight="normal" font-size="8pt">
													<xsl:choose>
														<xsl:when test="$ro='EP'">
															<xsl:value-of select="format-number($fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='224']/fee-schedule, '### ##0.00', 'en')"/>
														</xsl:when>
														<xsl:otherwise>
															<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='004']/amount-total, '.00')"/>
														</xsl:otherwise>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
										</fo:table-row>
									</xsl:if>

									<!--
									==========================================================================================
									Supplementary fee for independent inventions after invitation (PCT/IPEA/406) code=004
									Additional preliminary examination fee (EPO) code=021eEP
									==========================================================================================
									-->
									<xsl:if test="$fee-sheet/fee-sheet/fees/fee[contains(@fee-code, '005')]/@to-pay='yes' or $fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index='021e']/@topay='yes' and ($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@mode-type!='auto' or count($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment)=0)">
										<fo:table-row>
											<fo:table-cell padding-start.length="4pt">
												<fo:block text-align="left" font-weight="normal" font-size="10pt">
													<xsl:choose>
														<xsl:when test="$fee-sheet/fee-sheet/fees/fee[contains(@fee-code, '005')]/@to-pay='yes' or $fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index='021e']/@topay='yes'">
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'true'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:when>
														<xsl:otherwise>
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'false'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:otherwise>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="2">
												<fo:block text-align="left" font-weight="normal" font-size="8pt">
													<xsl:choose>
														<xsl:when test="$ro='EP'">
															<xsl:variable name="var021eEP_PDF_fee_formula">
																<xsl:call-template name="PDF_fee_formula">
																	<xsl:with-param name="fee_code">
																		<xsl:value-of select="'021e'"/>
																	</xsl:with-param>
																</xsl:call-template>
															</xsl:variable>
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="concat('Additional preliminary examination fee  ', $var021eEP_PDF_fee_formula)"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="concat($varFRString10, $var021eEP_PDF_fee_formula)"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="concat('Zusätzliche Gebühr für die vorläufige Prüfung  ', $var021eEP_PDF_fee_formula)"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="concat('Tasa de examen preliminar adicional  ', $var021eEP_PDF_fee_formula)"/>
																</xsl:when>
															</xsl:choose>
														</xsl:when>
														<xsl:otherwise>
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="'Supplementary fee for independent inventions after invitation (PCT/IPEA/406)'"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="'Taxe additionnelle pour inventions indépendantes, après invitation (formulaire PCT/IPEA/406)'"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="'Zusätzliche Gebühren für unabhängige Erfindungen nach Aufforderung (Formblatt PCT/IPEA/406)'"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="'Tasa adicional por incumplimiento del requisito de unidad de invención (PCT/IPEA/406)'"/>
																</xsl:when>
															</xsl:choose>
														</xsl:otherwise>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="1" padding-end.length="4pt">
												<fo:block text-align="right" font-weight="normal" font-size="8pt">
													<xsl:choose>
														<xsl:when test="$ro='FI'">
															<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='005FI']/amount-total, '.00')"/>
														</xsl:when>
														<xsl:when test="$ro='SE'">
															<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='005SE']/amount-total, '.00')"/>
														</xsl:when>
														<xsl:when test="$ro='EP'">
															<xsl:value-of select="format-number($fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='021e']/fee-schedule, '### ##0.00', 'en')"/>
														</xsl:when>
														<xsl:when test="$ro='ES'">
															<xsl:choose>
																<xsl:when test="contains($fee-sheet/fee-sheet/fees/fee[@fee-code ='005ES']/amount-total, '.')">
																	<xsl:value-of select="$fee-sheet/fee-sheet/fees/fee[@fee-code ='005ES']/amount-total"/>
																</xsl:when>
																<xsl:otherwise>
																	<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='005ES']/amount-total, '.00')"/>
																</xsl:otherwise>
															</xsl:choose>
														</xsl:when>
														<xsl:when test="$ro='XN'">
															<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='005XN']/amount-total, '.00')"/>
														</xsl:when>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
										</fo:table-row>
										<xsl:choose>
											<xsl:when test="$ro='FI'">
												<fo:table-row>
													<fo:table-cell number-columns-spanned="4" padding-start.length="100pt">
														<fo:block text-left="right" font-weight="normal" font-size="8pt">
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="concat('Number of independent inventions: ',$fee-sheet/fee-sheet/fees/fee[@fee-code ='005FI']/@count)"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="concat($varFRString19, ' ',$fee-sheet/fee-sheet/fees/fee[@fee-code ='005FI']/@count)"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="concat('Anzahl der unabhängige Erfindungen: ',$fee-sheet/fee-sheet/fees/fee[@fee-code ='005FI']/@count)"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="concat('Número de invenciones independientes: ',$fee-sheet/fee-sheet/fees/fee[@fee-code ='005FI']/@count)"/>
																</xsl:when>
															</xsl:choose>
														</fo:block>
													</fo:table-cell>
												</fo:table-row>
											</xsl:when>
											<xsl:when test="$ro='SE'">
												<fo:table-row>
													<fo:table-cell number-columns-spanned="4" padding-start.length="100pt">
														<fo:block text-left="right" font-weight="normal" font-size="8pt">
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="concat('Number of independent inventions: ',$fee-sheet/fee-sheet/fees/fee[@fee-code ='005SE']/@count)"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="concat($varFRString19, ' ',$fee-sheet/fee-sheet/fees/fee[@fee-code ='005SE']/@count)"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="concat('Anzahl der unabhängige Erfindungen: ',$fee-sheet/fee-sheet/fees/fee[@fee-code ='005SE']/@count)"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="concat('Número de invenciones independientes: ',$fee-sheet/fee-sheet/fees/fee[@fee-code ='005SE']/@count)"/>
																</xsl:when>
															</xsl:choose>
														</fo:block>
													</fo:table-cell>
												</fo:table-row>
											</xsl:when>
											<xsl:when test="$ro='ES'">
												<fo:table-row>
													<fo:table-cell number-columns-spanned="4" padding-start.length="100pt">
														<fo:block text-left="right" font-weight="normal" font-size="8pt">
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="concat('Number of independent inventions: ',$fee-sheet/fee-sheet/fees/fee[@fee-code ='005ES']/@count)"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="concat($varFRString19, ' ',$fee-sheet/fee-sheet/fees/fee[@fee-code ='005ES']/@count)"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="concat('Anzahl der unabhängige Erfindungen: ',$fee-sheet/fee-sheet/fees/fee[@fee-code ='005ES']/@count)"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="concat('Número de invenciones independientes: ',$fee-sheet/fee-sheet/fees/fee[@fee-code ='005ES']/@count)"/>
																</xsl:when>
															</xsl:choose>
														</fo:block>
													</fo:table-cell>
												</fo:table-row>
											</xsl:when>
											<xsl:when test="$ro='XN'">
												<fo:table-row>
													<fo:table-cell number-columns-spanned="4" padding-start.length="100pt">
														<fo:block text-left="right" font-weight="normal" font-size="8pt">
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="concat('Number of independent inventions: ',$fee-sheet/fee-sheet/fees/fee[@fee-code ='005XN']/@count)"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="concat($varFRString19, ' ',$fee-sheet/fee-sheet/fees/fee[@fee-code ='005XN']/@count)"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="concat('Anzahl der unabhängige Erfindungen: ',$fee-sheet/fee-sheet/fees/fee[@fee-code ='005XN']/@count)"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="concat('Número de invenciones independientes: ',$fee-sheet/fee-sheet/fees/fee[@fee-code ='005XN']/@count)"/>
																</xsl:when>
															</xsl:choose>
														</fo:block>
													</fo:table-cell>
												</fo:table-row>
											</xsl:when>
											<!--<xsl:when test="$ro='EP' and $fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@mode-type!='auto'">
												<fo:table-row>
													<fo:table-cell number-columns-spanned="3" padding-start.length="100pt">
														<fo:block text-left="right" font-weight="normal" font-size="8pt">
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="concat('Number of independent inventions: ',$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='021e']/fee-factor)"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="concat($varFRString19, ' ',$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='021e']/fee-factor)"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="concat('Anzahl der unabhängige Erfindungen: ',$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='021e']/fee-factor)"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="concat('Número de invenciones independientes: ',$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='021e']/fee-factor)"/>
																</xsl:when>
															</xsl:choose>
														</fo:block>
													</fo:table-cell>
													<fo:table-cell number-columns-spanned="1" padding-end.length="4pt">
														<fo:block text-align="right" font-weight="normal" font-size="8pt">
															<xsl:value-of select="concat(($fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='021e']/fee-factor) * ($fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='021e']/fee-sub-amount), '.00')"/>
														</fo:block>
													</fo:table-cell>
												</fo:table-row>
											</xsl:when>-->
										</xsl:choose>
									</xsl:if>


									<!--
									==========================================================================================
									Fee for certified copies (EPO) code=029EP
									==========================================================================================
									-->
									<xsl:if test="$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[contains(@index, '029')]/@topay='yes'">
										<fo:table-row>
											<fo:table-cell padding-start.length="4pt">
												<fo:block text-align="left" font-weight="normal" font-size="10pt">
													<xsl:choose>
														<xsl:when test="$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[contains(@index, '029')]/@topay='yes'">
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'true'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:when>
														<xsl:otherwise>
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'false'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:otherwise>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<xsl:variable name="var029EP_PDF_fee_formula">
												<xsl:call-template name="PDF_fee_formula">
													<xsl:with-param name="fee_code">
														<xsl:value-of select="'029'"/>
													</xsl:with-param>
												</xsl:call-template>
											</xsl:variable>
											<fo:table-cell number-columns-spanned="2">
												<fo:block text-align="left" font-weight="normal" font-size="8pt">
													<xsl:choose>
														<xsl:when test="$language = 'en'">
															<xsl:choose>
																<xsl:when test="substring(@date-produced, 1, 8) &gt;= '20190401'">
																	<xsl:value-of select="concat('Certified copy (application, priority document, patent certificate, other documents)', $var029EP_PDF_fee_formula)"/>
																</xsl:when>
																<xsl:otherwise>
																	<xsl:value-of select="concat('Certified copy of application, priority document', $var029EP_PDF_fee_formula)"/>
																</xsl:otherwise>
															</xsl:choose>
														</xsl:when>
														<xsl:when test="$language = 'fr'">
															<xsl:choose>
																<xsl:when test="substring(@date-produced, 1, 8) &gt;= '20190401'">
																	<xsl:value-of select="concat('Copie certifiée (demande de brevet, document de priorité, certificat de brevet, autres pièces)', $var029EP_PDF_fee_formula)"/>
																</xsl:when>
																<xsl:otherwise>
																	<xsl:value-of select="concat('Copie certifiée d une demande de brevet, document de priorité', $var029EP_PDF_fee_formula)"/>
																</xsl:otherwise>
															</xsl:choose>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:choose>
																<xsl:when test="substring(@date-produced, 1, 8) &gt;= '20190401'">
																	<xsl:value-of select="concat('Beglaubigte Kopie (Anmeldung, Prioritätsbeleg, Patenturkunde, sonstige Unterlagen)', $var029EP_PDF_fee_formula)"/>
																</xsl:when>
																<xsl:otherwise>
																	<xsl:value-of select="concat('Beglaubigte Kopie einer Anmeldung, Prioritätsbeleg', $var029EP_PDF_fee_formula)"/>
																</xsl:otherwise>
															</xsl:choose>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="concat('Copia certificada de la solicitud; documento de prioridad', $var029EP_PDF_fee_formula)"/>
														</xsl:when>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="1" padding-end.length="4pt">
												<fo:block text-align="right" font-weight="normal" font-size="8pt">
													<xsl:value-of select="format-number($fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='029']/fee-schedule, '### ##0.00', 'en')"/>
												</fo:block>
											</fo:table-cell>
										</fo:table-row>
										<!--<fo:table-row>
											<fo:table-cell/>
											<fo:table-cell number-columns-spanned="3" padding-start.length="100pt">
												<fo:block text-left="right" font-weight="normal" font-size="8pt">
													<xsl:choose>
														<xsl:when test="$language = 'en'">
															<xsl:value-of select="concat('Number of certified copies: ',$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='029']/fee-factor)"/>
														</xsl:when>
														<xsl:when test="$language = 'fr'">
															<xsl:value-of select="concat($varFRString20, ' ',$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='029']/fee-factor)"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="concat('Anzahl der beglaubigten Kopien: ',$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='029']/fee-factor)"/>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="concat('Número de copias certificadas: ',$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='029']/fee-factor)"/>
														</xsl:when>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="1" padding-end.length="4pt">
												<fo:block text-align="right" font-weight="normal" font-size="8pt">
													<xsl:value-of select="concat(($fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='029']/fee-factor) * ($fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='029']/fee-sub-amount), '.00')"/>
												</fo:block>
											</fo:table-cell>
										</fo:table-row>-->
									</xsl:if>
									<!--
									==========================================================================================
									Fee for certified copies - code=IE13{country code}a
									==========================================================================================
									-->
									<xsl:if test="$fee-sheet/fee-sheet/fees/fee[contains(@fee-code, 'a')]/@to-pay='yes'">
										<fo:table-row>
											<fo:table-cell padding-start.length="4pt">
												<fo:block text-align="left" font-weight="normal" font-size="10pt">
													<xsl:choose>
														<xsl:when test="$fee-sheet/fee-sheet/fees/fee[contains(@fee-code, 'a')]/@to-pay='yes'">
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'true'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:when>
														<xsl:otherwise>
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'false'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:otherwise>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="2">
												<fo:block text-align="left" font-weight="normal" font-size="8pt">
													<xsl:choose>
														<xsl:when test="$ro='AT'">
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="concat('Other services (Certification of registered data)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13ATa']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="concat('Autres services (certifications des données enregistrées)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13ATa']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="concat('Sonstige Dienstleistungen (Beglaubigungen der registrierten Daten)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13ATa']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="concat('Otros servicios (Certificaciones de datos registrales)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13ATa']/@count, ')')"/>
																</xsl:when>
															</xsl:choose>
														</xsl:when>
														<xsl:when test="$ro='DK'">
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="concat('Other services (Certification of registered data)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13DKa']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="concat('Autres services (certifications des données enregistrées)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13DKa']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="concat('Sonstige Dienstleistungen (Beglaubigungen der registrierten Daten)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13DKa']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="concat('Otros servicios (Certificaciones de datos registrales)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13DKa']/@count, ')')"/>
																</xsl:when>
															</xsl:choose>
														</xsl:when>
														<xsl:when test="$ro='ES'">
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="concat('Other services (Certification of registered data)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13ESa']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="concat('Autres services (certifications des données enregistrées)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13ESa']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="concat('Sonstige Dienstleistungen (Beglaubigungen der registrierten Daten)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13ESa']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="concat('Otros servicios (Certificaciones de datos registrales)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13ESa']/@count, ')')"/>
																</xsl:when>
															</xsl:choose>
														</xsl:when>
														<xsl:when test="$ro='FI'">
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="concat('Other services (Certification of registered data)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13FIa']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="concat('Autres services (certifications des données enregistrées)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13FIa']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="concat('Sonstige Dienstleistungen (Beglaubigungen der registrierten Daten)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13FIa']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="concat('Otros servicios (Certificaciones de datos registrales)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13FIa']/@count, ')')"/>
																</xsl:when>
															</xsl:choose>
														</xsl:when>
														<xsl:when test="$ro='IS'">
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="concat('Other services (Certification of registered data)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13ISa']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="concat('Autres services (certifications des données enregistrées)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13ISa']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="concat('Sonstige Dienstleistungen (Beglaubigungen der registrierten Daten)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13ISa']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="concat('Otros servicios (Certificaciones de datos registrales)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13ISa']/@count, ')')"/>
																</xsl:when>
															</xsl:choose>
														</xsl:when>
														<xsl:when test="$ro='LT'">
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="concat('Other services (Certification of registered data)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13LTa']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="concat('Autres services (certifications des données enregistrées)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13LTa']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="concat('Sonstige Dienstleistungen (Beglaubigungen der registrierten Daten)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13LTa']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="concat('Otros servicios (Certificaciones de datos registrales)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13LTa']/@count, ')')"/>
																</xsl:when>
															</xsl:choose>
														</xsl:when>
														<xsl:when test="$ro='NL'">
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="concat('Other services (Certification of registered data)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13NLa']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="concat('Autres services (certifications des données enregistrées)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13NLa']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="concat('Sonstige Dienstleistungen (Beglaubigungen der registrierten Daten)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13NLa']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="concat('Otros servicios (Certificaciones de datos registrales)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13NLa']/@count, ')')"/>
																</xsl:when>
															</xsl:choose>
														</xsl:when>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="1" padding-end.length="4pt">
												<fo:block text-align="right" font-weight="normal" font-size="8pt">
													<xsl:choose>
														<xsl:when test="$ro='AT'">
															<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13ATa']/amount-total, '.00')"/>
														</xsl:when>
														<xsl:when test="$ro='DK'">
															<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13DKa']/amount-total, '.00')"/>
														</xsl:when>
														<xsl:when test="$ro='IS'">
															<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13DKa']/amount-total, '.00')"/>
														</xsl:when>
														<xsl:when test="$ro='LT'">
															<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13LTa']/amount-total, '.00')"/>
														</xsl:when>
														<xsl:when test="$ro='NL'">
															<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13NLa']/amount-total, '.00')"/>
														</xsl:when>
														<!--<xsl:when test="$ro='SE'">
															<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13SEa']/amount-total, '.00')"/>
														</xsl:when>-->
														<xsl:when test="$ro='ES'">
															<xsl:choose>
																<xsl:when test="contains($fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13ESa']/amount-total, '.')">
																	<xsl:value-of select="$fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13ESa']/amount-total"/>
																</xsl:when>
																<xsl:otherwise>
																	<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13ESa']/amount-total, '.00')"/>
																</xsl:otherwise>
															</xsl:choose>
														</xsl:when>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
										</fo:table-row>
									</xsl:if>

									<xsl:if test="$fee-sheet/fee-sheet/fees/fee[contains(@fee-code, 'b')]/@to-pay='yes' or $fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[contains(@index, 'b')]/@topay='yes' and $fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@mode-type!='auto'">
										<fo:table-row>
											<fo:table-cell padding-start.length="4pt">
												<fo:block text-align="left" font-weight="normal" font-size="10pt">
													<xsl:choose>
														<xsl:when test="$fee-sheet/fee-sheet/fees/fee[contains(@fee-code, 'b')]/@to-pay='yes' or $fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[contains(@index, 'b')]/@topay='yes'">
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'true'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:when>
														<xsl:otherwise>
															<xsl:call-template name="CheckBox">
																<xsl:with-param name="check">
																	<xsl:value-of select="'false'"/>
																</xsl:with-param>
															</xsl:call-template>
														</xsl:otherwise>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="2">
												<fo:block text-align="left" font-weight="normal" font-size="8pt">
													<xsl:choose>
														<xsl:when test="$ro='AT'">
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="concat('Other services (Certified copies)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13ATb']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="concat('Autres services (Copies certifiée)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13ATb']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="concat('Sonstige Dienstleistungen (Beglaubigte Kopien)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13ATb']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="concat('Otros servicios (Copias autorizadas)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13ATb']/@count, ')')"/>
																</xsl:when>
															</xsl:choose>
														</xsl:when>
														<xsl:when test="$ro='DK'">
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="concat('Other services (Certified copies)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13DKb']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="concat('Autres services (Copies certifiée)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13DKb']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="concat('Sonstige Dienstleistungen (Beglaubigte Kopien)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13DKb']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="concat('Otros servicios (Copias autorizadas)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13DKb']/@count, ')')"/>
																</xsl:when>
															</xsl:choose>
														</xsl:when>
														<xsl:when test="$ro='ES'">
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="concat('Other services (Certified copies)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13ESb']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="concat('Autres services (Copies certifiée)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13ESb']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="concat('Sonstige Dienstleistungen (Beglaubigte Kopien)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13ESb']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="concat('Otros servicios (Copias autorizadas)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13ESb']/@count, ')')"/>
																</xsl:when>
															</xsl:choose>
														</xsl:when>
														<xsl:when test="$ro='FI'">
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="concat('Other services (Certified copies)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13FIb']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="concat('Autres services (Copies certifiée)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13FIb']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="concat('Sonstige Dienstleistungen (Beglaubigte Kopien)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13FIb']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="concat('Otros servicios (Copias autorizadas)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13FIb']/@count, ')')"/>
																</xsl:when>
															</xsl:choose>
														</xsl:when>
														<xsl:when test="$ro='IS'">
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="concat('Other services (Certified copies)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13ISb']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="concat('Autres services (Copies certifiée)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13ISb']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="concat('Sonstige Dienstleistungen (Beglaubigte Kopien)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13ISb']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="concat('Otros servicios (Copias autorizadas)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13ISb']/@count, ')')"/>
																</xsl:when>
															</xsl:choose>
														</xsl:when>
														<xsl:when test="$ro='LT'">
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="concat('Other services (Certified copies)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13LTa']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="concat('Autres services (Copies certifiée)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13LTa']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="concat('Sonstige Dienstleistungen (Beglaubigte Kopien)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13LTa']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="concat('Otros servicios (Copias autorizadas)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13LTa']/@count, ')')"/>
																</xsl:when>
															</xsl:choose>
														</xsl:when>
														<xsl:when test="$ro='NL'">
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="concat('Other services (Certified copies)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13NLb']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="concat('Autres services (Copies certifiée)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13NLb']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="concat('Sonstige Dienstleistungen (Beglaubigte Kopien)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13NLb']/@count, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="concat('Otros servicios (Copias autorizadas)', ' (x ', $fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13NLb']/@count, ')')"/>
																</xsl:when>
															</xsl:choose>
														</xsl:when>
														<xsl:when test="$ro='EP'">
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="concat('Certified copy of application; priority document', ' (x ', $fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='029EPb']/fee-factor, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="concat($varFRString15, ' (x ', $fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='029EPb']/fee-factor, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="concat('Beglaubigte Kopie einer Anmeldung; Prioritätsbeleg', ' (x ', $fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='029EPb']/fee-factor, ')')"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="concat('Copia certificada de la solicitud; documento de prioridad', ' (x ', $fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='029EPb']/fee-factor, ')')"/>
																</xsl:when>
															</xsl:choose>
														</xsl:when>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell number-columns-spanned="1" padding-end.length="4pt">
												<fo:block text-align="right" font-weight="normal" font-size="8pt">
													<xsl:choose>
														<xsl:when test="$ro='EP'">
															<xsl:value-of select="concat($fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index ='029EPb']/fee-sub-amount, '.00')"/>
														</xsl:when>
														<xsl:when test="$ro='AT'">
															<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13ATb']/amount-total, '.00')"/>
														</xsl:when>
														<xsl:when test="$ro='DK'">
															<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13DKb']/amount-total, '.00')"/>
														</xsl:when>
														<xsl:when test="$ro='IS'">
															<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13DKb']/amount-total, '.00')"/>
														</xsl:when>
														<xsl:when test="$ro='LT'">
															<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13LTb']/amount-total, '.00')"/>
														</xsl:when>
														<xsl:when test="$ro='NL'">
															<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13NLb']/amount-total, '.00')"/>
														</xsl:when>
														<!--<xsl:when test="$ro='SE'">
															<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13SEb']/amount-total, '.00')"/>
														</xsl:when>-->
														<xsl:when test="$ro='ES'">
															<xsl:choose>
																<xsl:when test="contains($fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13ESb']/amount-total, '.')">
																	<xsl:value-of select="$fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13ESb']/amount-total"/>
																</xsl:when>
																<xsl:otherwise>
																	<xsl:value-of select="concat($fee-sheet/fee-sheet/fees/fee[@fee-code ='IE13ESb']/amount-total, '.00')"/>
																</xsl:otherwise>
															</xsl:choose>
														</xsl:when>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
										</fo:table-row>
									</xsl:if>
								</xsl:when>
							</xsl:choose>


							<!--
							===============================================
							Supplementary fees (not in the fees DB table)
							==============================================
							-->
							<!--<xsl:if test="$varSuppFeesToPay='true' and $ro='SE' or $ro='FI' or $ro='IS'">-->
							<xsl:if test="$varSuppFeesToPay='true'">
								<fo:table-row>
									<fo:table-cell padding-start.length="4pt">
										<fo:block text-align="left" font-weight="normal" font-size="10pt">
											<xsl:choose>
												<xsl:when test="$fee-sheet/fee-sheet/total-to-pay !='0.00' or $fee-sheet/fee-sheet/ep-financial-data/fees/fee-total-amount!='0.00'">
													<xsl:call-template name="CheckBox">
														<xsl:with-param name="check">
															<xsl:value-of select="'true'"/>
														</xsl:with-param>
													</xsl:call-template>
												</xsl:when>
												<xsl:otherwise>
													<xsl:call-template name="CheckBox">
														<xsl:with-param name="check">
															<xsl:value-of select="'false'"/>
														</xsl:with-param>
													</xsl:call-template>
												</xsl:otherwise>
											</xsl:choose>
										</fo:block>
									</fo:table-cell>
									<fo:table-cell number-columns-spanned="2">
										<fo:block text-align="left" font-weight="normal" font-size="8pt">
											<xsl:choose>
												<xsl:when test="$ro='SE' and @capacity ='IPEA'">
													<xsl:choose>
														<xsl:when test="$language = 'en'">
															<xsl:value-of select="'Later payment fees requested by the office'"/>
														</xsl:when>
														<xsl:when test="$language = 'fr'">
															<xsl:value-of select="$varFRString17"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="'Vom Amt geforderte Gebühr für verspätete Zahlung'"/>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="'Tasas de pago tardío requeridas por la oficina'"/>
														</xsl:when>
													</xsl:choose>
												</xsl:when>
												<xsl:when test="$ro='FI' and @capacity ='RO'">
													<xsl:choose>
														<xsl:when test="$language = 'en'">
															<xsl:value-of select="'Later payment of PCT/RO/101 fees'"/>
														</xsl:when>
														<xsl:when test="$language = 'fr'">
															<xsl:value-of select="'Later payment of PCT/RO/101 fees'"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="'Verspätete Zahlung der PCT/RO/101 Gebühren'"/>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="'Pago tardío de tasas correspondientes a la solicitud (PCT/RO/101)'"/>
														</xsl:when>
													</xsl:choose>
												</xsl:when>
												<xsl:when test="$ro='FI' and @capacity='IPEA'">
													<xsl:choose>
														<xsl:when test="$language = 'en'">
															<xsl:value-of select="'Later payment fees requested by the office'"/>
														</xsl:when>
														<xsl:when test="$language = 'fr'">
															<xsl:value-of select="$varFRString17"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="'Vom Amt geforderte Gebühr für verspätete Zahlung'"/>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="'Tasas de pago tardío requeridas por la oficina'"/>
														</xsl:when>
													</xsl:choose>
												</xsl:when>
												<xsl:when test="$ro='IS'">
													<xsl:choose>
														<xsl:when test="$language = 'en'">
															<xsl:value-of select="'Later payment of PCT/RO/101 fees'"/>
														</xsl:when>
														<xsl:when test="$language = 'fr'">
															<xsl:value-of select="'Paiement tardif des taxes prescrites selon PCT/RO/101'"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="'Verspätete Zahlung der PCT/RO/101 Gebühren'"/>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="'Pago tardío de tasas correspondientes a la solicitud (PCT/RO/101)'"/>
														</xsl:when>
													</xsl:choose>
												</xsl:when>
												<xsl:when test="$ro='AT'">
													<xsl:choose>
														<xsl:when test="$language = 'en'">
															<xsl:value-of select="'Later payment of PCT/RO/101 fees'"/>
														</xsl:when>
														<xsl:when test="$language = 'fr'">
															<xsl:value-of select="'Paiement tardif des taxes prescrites selon PCT/RO/101'"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="'Verspätete Zahlung der PCT/RO/101 Gebühren'"/>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="'Pago tardío de tasas correspondientes a la solicitud (PCT/RO/101)'"/>
														</xsl:when>
													</xsl:choose>
												</xsl:when>
												<xsl:when test="$ro='DK'">
													<xsl:choose>
														<xsl:when test="$language = 'en'">
															<xsl:value-of select="'Later payment of PCT/RO/101 fees'"/>
														</xsl:when>
														<xsl:when test="$language = 'fr'">
															<xsl:value-of select="'Paiement tardif des taxes prescrites selon PCT/RO/101'"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="'Verspätete Zahlung der PCT/RO/101 Gebühren'"/>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="'Pago tardío de tasas correspondientes a la solicitud (PCT/RO/101)'"/>
														</xsl:when>
													</xsl:choose>
												</xsl:when>
												<xsl:when test="$ro='NL'">
													<xsl:choose>
														<xsl:when test="$language = 'en'">
															<xsl:value-of select="'Later payment of PCT/RO/101 fees'"/>
														</xsl:when>
														<xsl:when test="$language = 'fr'">
															<xsl:value-of select="'Paiement tardif des taxes prescrites selon PCT/RO/101'"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="'Verspätete Zahlung der PCT/RO/101 Gebühren'"/>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="'SPago tardío de tasas correspondientes a la solicitud (PCT/RO/101)'"/>
														</xsl:when>
													</xsl:choose>
												</xsl:when>
												<xsl:when test="$ro='SE'">
													<xsl:choose>
														<xsl:when test="$language = 'en'">
															<xsl:value-of select="'Later payment of PCT/RO/101 fees'"/>
														</xsl:when>
														<xsl:when test="$language = 'fr'">
															<xsl:value-of select="'Paiement tardif des taxes prescrites selon PCT/RO/101'"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="'Verspätete Zahlung der PCT/RO/101 Gebühren'"/>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="'Pago tardío de tasas correspondientes a la solicitud (PCT/RO/101)'"/>
														</xsl:when>
													</xsl:choose>
												</xsl:when>
												<xsl:when test="$ro='EP' and @capacity='RO'">
													<xsl:choose>
														<xsl:when test="$language = 'en'">
															<xsl:value-of select="'Late payment fee (R.16bis.2 PCT)'"/>
														</xsl:when>
														<xsl:when test="$language = 'fr'">
															<xsl:value-of select="'Taxe pour paiement tardif (R. 16bis.2 PCT)'"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="'Gebühr für verspätete Zahlung (Regel 16bis.2)'"/>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="'Tasa por pago tardío (R.16bis.2 PCT)'"/>
														</xsl:when>
													</xsl:choose>
												</xsl:when>
												<xsl:when test="$ro='EP' and @capacity='IPEA'">
													<xsl:choose>
														<xsl:when test="$language = 'en'">
															<xsl:value-of select="'Late payment fee (R.58bis.2 PCT)'"/>
														</xsl:when>
														<xsl:when test="$language = 'fr'">
															<xsl:value-of select="'Taxe pour paiement tardif (R. 58bis.2 PCT)'"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="'Gebühr für verspätete Zahlung (Regel 58bis.2 PCT)'"/>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="'Tasa por pago tardío (R.58bis.2 PCT)'"/>
														</xsl:when>
													</xsl:choose>
												</xsl:when>
												<xsl:when test="$ro='LT'">
													<xsl:choose>
														<xsl:when test="$language = 'en'">
															<xsl:value-of select="'Later payment of PCT/RO/101 fees'"/>
														</xsl:when>
														<xsl:when test="$language = 'fr'">
															<xsl:value-of select="'Paiement tardif des taxes prescrites selon PCT/RO/101'"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="'Verspätete Zahlung der PCT/RO/101 Gebühren'"/>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="'Pago tardío de tasas correspondientes a la solicitud (PCT/RO/101)'"/>
														</xsl:when>
													</xsl:choose>
												</xsl:when>
											</xsl:choose>
										</fo:block>
									</fo:table-cell>
									<fo:table-cell number-columns-spanned="1" padding-end.length="4pt">
										<fo:block text-align="right" font-weight="normal" font-size="8pt">
											<xsl:choose>
												<xsl:when test="$ro='IS'">
													<xsl:value-of select="$fee-sheet/fee-sheet/supplementary-fees/late-fees/grace-period-fees"/>
												</xsl:when>
												<xsl:when test="$ro='AT'">
													<xsl:value-of select="$fee-sheet/fee-sheet/supplementary-fees/late-fees/grace-period-fees"/>
												</xsl:when>
												<xsl:when test="$ro='DK'">
													<xsl:value-of select="$fee-sheet/fee-sheet/supplementary-fees/late-fees/grace-period-fees"/>
												</xsl:when>
												<xsl:when test="$ro='NL'">
													<xsl:value-of select="$fee-sheet/fee-sheet/supplementary-fees/late-fees/grace-period-fees"/>
												</xsl:when>
												<xsl:when test="$ro='SE' and @capacity='RO'">
													<xsl:value-of select="$fee-sheet/fee-sheet/supplementary-fees/late-fees/grace-period-fees"/>
												</xsl:when>
												<xsl:when test="$ro='EP' and @capacity='RO' or @capacity='IPEA'">
													<xsl:value-of select="$fee-sheet/fee-sheet/ep-financial-data/fees/additional-fee/fee/fee-sub-amount"/>
												</xsl:when>
												<xsl:when test="$ro='SE' and @capacity='IPEA'">
													<xsl:value-of select="$fee-sheet/fee-sheet/supplementary-fees/late-fees/requested-fees"/>
												</xsl:when>
												<xsl:when test="$ro='FI' and @capacity='RO'">
													<xsl:value-of select="$fee-sheet/fee-sheet/supplementary-fees/late-fees/grace-period-fees"/>
												</xsl:when>
												<xsl:when test="$ro='FI' and @capacity = 'IPEA'">
													<xsl:value-of select="$fee-sheet/fee-sheet/supplementary-fees/late-fees/requested-fees"/>
												</xsl:when>
											</xsl:choose>
										</fo:block>
									</fo:table-cell>
								</fo:table-row>
							</xsl:if>
							<xsl:choose>
								<xsl:when test="($varFeesToPay ='true' or $varSuppFeesToPay ='true') and ($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@mode-type!='auto' or count($fee-sheet/fee-sheet/ep-financial-data/mode-of-payment)=0)">
									<fo:table-row>
										<fo:table-cell number-columns-spanned="2" padding-end.length="4pt">
											<fo:block text-align="right" font-weight="normal" font-size="10pt"/>
										</fo:table-cell>
										<fo:table-cell padding-start.length="4pt">
											<fo:block text-align="left" font-weight="bold" font-size="10pt">
												<xsl:choose>
													<xsl:when test="$language = 'en'">
														<xsl:value-of select="'Total amount'"/>
													</xsl:when>
													<xsl:when test="$language = 'fr'">
														<xsl:value-of select="'Montant total'"/>
													</xsl:when>
													<xsl:when test="$language = 'de'">
														<xsl:value-of select="'Gesamtbetrag'"/>
													</xsl:when>
													<xsl:when test="$language = 'es'">
														<xsl:value-of select="'Total'"/>
													</xsl:when>
												</xsl:choose>
											</fo:block>
										</fo:table-cell>
										<fo:table-cell number-columns-spanned="1" padding-end.length="4pt">
											<fo:block text-align="right" font-weight="normal" font-size="10pt">
												<xsl:choose>
													<xsl:when test="$ro='EP'">
														<xsl:value-of select="format-number($fee-sheet/fee-sheet/ep-financial-data/fees/fee-total-amount, '### ##0.00', 'en')"/>
													</xsl:when>
													<xsl:otherwise>
														<xsl:choose>
															<xsl:when test="$varSuppFeesToPay ='true'">
																<xsl:value-of select="$fee-sheet/fee-sheet/total-to-pay"/>
															</xsl:when>
															<xsl:otherwise>
																<xsl:value-of select="$fee-sheet/fee-sheet/amount-grand-total"/>
															</xsl:otherwise>
														</xsl:choose>
													</xsl:otherwise>
												</xsl:choose>
											</fo:block>
										</fo:table-cell>
									</fo:table-row>
								</xsl:when>

								<!--
								=================================================
								EPO Automatic debit order - don't diplay any fees
								=================================================
								-->

								<xsl:when test=" $fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@mode-type='auto'">
									<!--Do nothing-->
								</xsl:when>

								<!--
								===========================
								There are no fees selected
								===========================
								-->
								<!--<xsl:otherwise>
									<fo:table-row>
										<fo:table-cell number-columns-spanned="2" padding-start.length="4pt">
											<fo:block text-align="left" font-weight="normal" font-size="10pt">
												<xsl:choose>
													<xsl:when test="$language = 'en'">
														<xsl:value-of select="'There are no fees to pay'"/>
													</xsl:when>
													<xsl:when test="$language = 'fr'">
														<xsl:value-of select="'Aucune taxe n'est à acquitter'"/>
														<xsl:value-of select="$varFRString11"/>
													</xsl:when>
													<xsl:when test="$language = 'de'">
														<xsl:value-of select="'Keine zu zahlenden Gebühren'"/>
													</xsl:when>
													<xsl:when test="$language = 'es'">
														<xsl:value-of select="'No se requiere el pago de tasas'"/>
													</xsl:when>
												</xsl:choose>
											</fo:block>
										</fo:table-cell>
										<fo:table-cell padding-end.length="4pt">
											<fo:block text-align="left" font-weight="normal" font-size="10pt"/>
										</fo:table-cell>
										<fo:table-cell number-columns-spanned="2" padding-start.length="4pt">
											<fo:block text-align="left" font-weight="normal" font-size="10pt"/>
										</fo:table-cell>
										<fo:table-cell number-columns-spanned="1" padding-end.length="4pt">
											<fo:block text-align="right" font-weight="normal" font-size="10pt"/>
										</fo:table-cell>
									</fo:table-row>
								</xsl:otherwise>-->
							</xsl:choose>
						</fo:table-body>
					</fo:table>

					<!--++++++++++++++++++++++++++++++++++++++++++++-->
					<!-- Start of Form Section 6: Method of payment -->
					<!--++++++++++++++++++++++++++++++++++++++++++++-->
					<xsl:choose>
						<xsl:when test="@ro='EP'">
							<fo:table table-layout="fixed" border="0.5pt solid black" space-before="10pt">
								<fo:table-column column-width="10mm"/>
								<fo:table-column column-width="134mm"/>
								<fo:table-column column-width="40mm"/>
								<fo:table-body>
									<fo:table-row>
										<fo:table-cell number-columns-spanned="3" padding-start.length="4pt">
											<fo:block space-before="3pt" space-after="5pt" font-weight="bold" font-size="10pt">
												<xsl:choose>
													<xsl:when test="$language = 'en'">
														<xsl:value-of select="'Method of payment'"/>
													</xsl:when>
													<xsl:when test="$language = 'fr'">
														<xsl:value-of select="'Mode de paiement'"/>
													</xsl:when>
													<xsl:when test="$language = 'de'">
														<xsl:value-of select="'Zahlungsart'"/>
													</xsl:when>
													<xsl:when test="$language = 'es'">
														<xsl:value-of select="'Método de pago'"/>
													</xsl:when>
												</xsl:choose>
											</fo:block>
										</fo:table-cell>
									</fo:table-row>
									<xsl:choose>
										<xsl:when test="$fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@mode-type='bank' and ($varFeesToPay ='true' or $varSuppFeesToPay ='true')">
											<fo:table-row>
												<fo:table-cell padding-start.length="4pt">
													<fo:block text-align="left" font-weight="normal" font-size="10pt">
														<xsl:choose>
															<xsl:when test="$fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@mode-type='bank'">
																<xsl:call-template name="CheckBox">
																	<xsl:with-param name="check">
																		<xsl:value-of select="'true'"/>
																	</xsl:with-param>
																</xsl:call-template>
															</xsl:when>
															<xsl:otherwise>
																<xsl:call-template name="CheckBox">
																	<xsl:with-param name="check">
																		<xsl:value-of select="'false'"/>
																	</xsl:with-param>
																</xsl:call-template>
															</xsl:otherwise>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="2">
													<fo:block text-align="left" font-weight="normal" font-size="8pt">
														<xsl:choose>
															<xsl:when test="$language = 'en'">
																<xsl:value-of select="'Bank transfer'"/>
															</xsl:when>
															<xsl:when test="$language = 'fr'">
																<xsl:value-of select="'Virement bancaire'"/>
															</xsl:when>
															<xsl:when test="$language = 'de'">
																<xsl:value-of select="'Banküberweisung'"/>
															</xsl:when>
															<xsl:when test="$language = 'es'">
																<xsl:value-of select="'Transferencia bancaria'"/>
															</xsl:when>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
											</fo:table-row>
											<fo:table-row>
												<xsl:variable name="vartmp14BankDescription">
													<xsl:call-template name="enBank_ChoiceText">
														<xsl:with-param name="bank" select="$fee-sheet/fee-sheet/ep-financial-data/mode-of-payment"/>
													</xsl:call-template>
												</xsl:variable>
												<xsl:variable name="vartmp14BankName">
													<xsl:choose>
														<xsl:when test="$language = 'en'">
															<xsl:value-of select="'Bank: '"/>
														</xsl:when>
														<xsl:when test="$language = 'fr'">
															<xsl:value-of select="'Banque: '"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="'Bank: '"/>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="'Bank: '"/>
														</xsl:when>
													</xsl:choose>
												</xsl:variable>
												<xsl:variable name="vartmp14BankAccountName">
													<xsl:choose>
														<xsl:when test="$language = 'en'">
															<xsl:value-of select="'Bank account: '"/>
														</xsl:when>
														<xsl:when test="$language = 'fr'">
															<xsl:value-of select="'Compte bancaire: '"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="'Bankkonto: '"/>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="'Bank account: '"/>
														</xsl:when>
													</xsl:choose>
												</xsl:variable>
												<fo:table-cell number-columns-spanned="1">
													<fo:block text-align="left" font-weight="normal" font-size="8pt"/>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="2">
													<fo:block text-align="left" font-weight="normal" font-size="8pt">
														<xsl:value-of select="concat($vartmp14BankName, $vartmp14BankDescription)"/>
													</fo:block>
													<fo:block text-align="left" font-weight="normal" font-size="8pt">
														<xsl:value-of select="concat($vartmp14BankAccountName, $fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@accno)"/>
													</fo:block>
												</fo:table-cell>
											</fo:table-row>
										</xsl:when>
										<xsl:when test="$fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@mode-type='ccard' and ($varFeesToPay ='true' or $varSuppFeesToPay ='true')">
											<fo:table-row>
												<fo:table-cell padding-start.length="4pt">
													<fo:block text-align="left" font-weight="normal" font-size="10pt">
														<xsl:choose>
															<xsl:when test="$fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@mode-type='ccard'">
																<xsl:call-template name="CheckBox">
																	<xsl:with-param name="check">
																		<xsl:value-of select="'true'"/>
																	</xsl:with-param>
																</xsl:call-template>
															</xsl:when>
															<xsl:otherwise>
																<xsl:call-template name="CheckBox">
																	<xsl:with-param name="check">
																		<xsl:value-of select="'false'"/>
																	</xsl:with-param>
																</xsl:call-template>
															</xsl:otherwise>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="2">
													<fo:block text-align="left" font-weight="normal" font-size="8pt">
														<xsl:choose>
															<xsl:when test="$language = 'en'">
																<xsl:value-of select="'Credit Card'"/>
															</xsl:when>
															<xsl:when test="$language = 'fr'">
																<xsl:value-of select="'Carte de Crédit'"/>
															</xsl:when>
															<xsl:when test="$language = 'de'">
																<xsl:value-of select="'Kreditkarte'"/>
															</xsl:when>
															<xsl:when test="$language = 'es'">
																<xsl:value-of select="'Credit Card ESP'"/>
															</xsl:when>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
											</fo:table-row>
											<fo:table-row>
												<xsl:variable name="vartmp14BankDescription">
													<xsl:call-template name="enBank_ChoiceText">
														<xsl:with-param name="bank" select="$fee-sheet/fee-sheet/ep-financial-data/mode-of-payment"/>
													</xsl:call-template>
												</xsl:variable>
												<xsl:variable name="vartmp14BankName">
													<!-- <xsl:choose> -->
													<!-- <xsl:when test="$language = 'en'">
															<xsl:value-of select="'Bank: '"/>
														</xsl:when> -->
													<!-- <xsl:when test="$language = 'fr'">
															<xsl:value-of select="'Banque: '"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="'Bank: '"/>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="'Bank: '"/>
														</xsl:when>
													</xsl:choose> -->
												</xsl:variable>
												<xsl:variable name="vartmp14BankAccountName">
													<!-- <xsl:choose> -->
													<!-- <xsl:when test="$language = 'en'">
															<xsl:value-of select="'Bank account: '"/>
														</xsl:when> -->
													<!-- <xsl:when test="$language = 'fr'">
															<xsl:value-of select="'Compte bancaire: '"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="'Bankkonto: '"/>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="'Bank account: '"/>
														</xsl:when> -->
													<!-- </xsl:choose> -->
												</xsl:variable>
												<xsl:variable name="vartmp14BankAccountName">
													<xsl:choose>
														<xsl:when test="$language = 'en'">
															<xsl:value-of select="'The fees and costs indicated under Fee selection will be paid by credit card'"/>
														</xsl:when>
														<xsl:when test="$language = 'fr'">
															<xsl:value-of select="'Les taxes et frais indiqués sous Sélection des taxes seront payés par carte de crédit'"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="'Die unter Gebührenauswahl angegebenen Gebühren und Auslagen werden per Kreditkarte bezahlt'"/>
														</xsl:when>
													</xsl:choose>
												</xsl:variable>
												<fo:table-cell number-columns-spanned="1">
													<fo:block text-align="left" font-weight="normal" font-size="8pt"/>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="2">
													<fo:block text-align="left" font-weight="normal" font-size="8pt">
														<xsl:value-of select="concat($vartmp14BankName, $vartmp14BankDescription)"/>
													</fo:block>
													<fo:block text-align="left" font-weight="normal" font-size="8pt">
														<xsl:value-of select="concat($vartmp14BankAccountName, $fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@accno)"/>
													</fo:block>
												</fo:table-cell>
											</fo:table-row>
										</xsl:when>
										<xsl:when test="$fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@mode-type='deposit' and ($varFeesToPay ='true' or $varSuppFeesToPay ='true')">
											<fo:table-row>
												<fo:table-cell padding-start.length="4pt">
													<fo:block text-align="left" font-weight="normal" font-size="10pt">
														<xsl:choose>
															<xsl:when test="$fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@mode-type='deposit'">
																<xsl:call-template name="CheckBox">
																	<xsl:with-param name="check">
																		<xsl:value-of select="'true'"/>
																	</xsl:with-param>
																</xsl:call-template>
															</xsl:when>
															<xsl:otherwise>
																<xsl:call-template name="CheckBox">
																	<xsl:with-param name="check">
																		<xsl:value-of select="'false'"/>
																	</xsl:with-param>
																</xsl:call-template>
															</xsl:otherwise>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="2">
													<fo:block text-align="left" font-weight="normal" font-size="8pt">
	                                                   <xsl:choose>
															<xsl:when test="$language = 'en'">
																<xsl:value-of select="'The European Patent Office is hereby authorised to debit from the deposit account with the EPO any fees and costs indicated above'"/>
															</xsl:when>
															<xsl:when test="$language = 'fr'">
																<xsl:value-of select="'L’Office Européen des Brevets est autorisé à débiter les taxes et frais indiqués ci-dessus'"/>
															</xsl:when>
															<xsl:when test="$language = 'de'">
																<xsl:value-of select="'Hiermit wird das Europäische Patentamt ermächtigt, die oben angegebenen Gebühren und Auslagen vom nachstehenden laufenden Konto beim EPA abzubuchen'"/>
															</xsl:when>
															<xsl:when test="$language = 'es'">
																<xsl:value-of select="'La Oficina Europea de Patentes se autoriza a debitar de la cuenta de depósito de la OEP las tasas y los costos indicados anteriormente'"/>
															</xsl:when>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
											</fo:table-row>
											<fo:table-row>
												<fo:table-cell>
													<fo:block/>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="2">
													<fo:block text-align="left" font-weight="bold" font-size="8pt">
														<xsl:choose>
															<xsl:when test="$language = 'en'">
																<xsl:value-of select="concat('Deposit account number: ', $fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@accno)"/>
															</xsl:when>
															<xsl:when test="$language = 'fr'">
																<xsl:value-of select="concat('Numéro de compte de dépôt: ', $fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@accno)"/>
															</xsl:when>
															<xsl:when test="$language = 'de'">
																<xsl:value-of select="concat('Nummer des laufenden Kontos: ', $fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@accno)"/>
															</xsl:when>
															<xsl:when test="$language = 'es'">
																<xsl:value-of select="concat('Número de cuenta de depósito: ', $fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@accno)"/>
															</xsl:when>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
											</fo:table-row>
											<fo:table-row>
												<fo:table-cell>
													<fo:block/>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="2">
													<fo:block text-align="left" font-weight="bold" font-size="8pt">
														<xsl:choose>
															<xsl:when test="$language = 'en'">
																<xsl:value-of select="concat('Account holder: ', $fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@name)"/>
															</xsl:when>
															<xsl:when test="$language = 'fr'">
																<xsl:value-of select="concat('Titulaire du compte: ', $fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@name)"/>
															</xsl:when>
															<xsl:when test="$language = 'de'">
																<xsl:value-of select="concat('Kontoinhaber: ', $fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@name)"/>
															</xsl:when>
															<xsl:when test="$language = 'es'">
																<xsl:value-of select="concat('Titular de la cuenta: ', $fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@name)"/>
															</xsl:when>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
											</fo:table-row>
											<!--<fo:table-cell number-columns-spanned="2">
													<fo:block text-align="left" font-weight="normal" font-size="8pt">
														<xsl:value-of select="$fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@accno"/>
													</fo:block>
												</fo:table-cell>
											</fo:table-row>-->
											<fo:table-row>
												<fo:table-cell padding-start.length="4pt">
													<fo:block text-align="left" font-weight="normal" font-size="10pt">
														<xsl:choose>
															<xsl:when test="$fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@deficiency-credit='true'">
																<xsl:call-template name="CheckBox">
																	<xsl:with-param name="check">
																		<xsl:value-of select="'true'"/>
																	</xsl:with-param>
																</xsl:call-template>
															</xsl:when>
															<xsl:otherwise>
																<xsl:call-template name="CheckBox">
																	<xsl:with-param name="check">
																		<xsl:value-of select="'false'"/>
																	</xsl:with-param>
																</xsl:call-template>
															</xsl:otherwise>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
											</fo:table-row>
										</xsl:when>

										<xsl:when test="$fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@mode-type='auto'">
											<fo:table-row>
												<fo:table-cell padding-start.length="4pt">
													<fo:block text-align="left" font-weight="normal" font-size="10pt">
														<xsl:call-template name="CheckBox">
															<xsl:with-param name="check">
																<xsl:value-of select="'true'"/>
															</xsl:with-param>
														</xsl:call-template>
													</fo:block>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="2">
													<fo:block text-align="left" font-weight="normal" font-size="8pt">
														<xsl:choose>
															<xsl:when test="$language = 'en'">
																<xsl:text>The Office in its capacity as receiving Office (RO), as International Searching Authority (ISA), and, where applicable, in its capacity as International Preliminary Examining Authority (IPEA) is authorized to automatically debit, under the terms of the Office's automatic debit procedure, the identified account with any fees due in the processing of this International Application.</xsl:text>
															</xsl:when>
															<xsl:when test="$language = 'fr'">
																<xsl:text>L'Office agissant en qualité d'office récepteur, d'administration chargée de la recherche internationale et, le cas échéant, d'administration chargée de l'examen préliminaire international, est autorisé à prélever automatiquement sur le compte indiqué toute taxe due dans le cadre du traitement de la présente demande internationale, conformément aux modalités de la procédure de prélèvement automatique de l'Office.</xsl:text>
															</xsl:when>
															<xsl:when test="$language = 'de'">
																<xsl:text>Das Amt in seiner Eigenschaft als Anmeldeamt (RO), als Internationale Recherchenbehörde (ISA) und gegebenenfalls als mit der internationalen vorläufigen Prüfung beauftragte Behörde (IPEA) wird hiermit ermächtigt, die für die Bearbeitung dieser internationalen Anmeldung anfallenden Gebühren, gemäß dem automatischen Abbuchungsverfahren des Amts, vom angegebenen Konto abzubuchen.</xsl:text>
															</xsl:when>
															<xsl:when test="$language = 'es'">
																<xsl:text>Se autoriza a la OEP, en su calidad de Oficina receptora o Administración encargada de la búsqueda internacional o, en su caso, de Administración encargada del examen preliminar internacional,  a cargar automáticamente en la cuenta identificada, las tasas debidas en la tramitación de esta solicitud internacional,  en los términos previstos en el procedimiento de la Oficina sobre el cargo automático en cuenta.</xsl:text>
															</xsl:when>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
											</fo:table-row>
											<fo:table-row>
												<fo:table-cell>
													<fo:block/>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="2">
													<fo:block text-align="left" font-weight="bold" font-size="8pt">
														<xsl:choose>
															<xsl:when test="$language = 'en'">
																<xsl:value-of select="concat('Deposit account number: ', $fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@accno)"/>
															</xsl:when>
															<xsl:when test="$language = 'fr'">
																<xsl:value-of select="concat('Numéro de compte de dépôt: ', $fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@accno)"/>
															</xsl:when>
															<xsl:when test="$language = 'de'">
																<xsl:value-of select="concat('Nummer des laufenden Kontos: ', $fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@accno)"/>
															</xsl:when>
															<xsl:when test="$language = 'es'">
																<xsl:value-of select="concat('Número de cuenta de depósito: ', $fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@accno)"/>
															</xsl:when>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
											</fo:table-row>
											<fo:table-row>
												<fo:table-cell>
													<fo:block/>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="2">
													<fo:block text-align="left" font-weight="bold" font-size="8pt">
														<xsl:choose>
															<xsl:when test="$language = 'en'">
																<xsl:value-of select="concat('Account holder: ', $fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@name)"/>
															</xsl:when>
															<xsl:when test="$language = 'fr'">
																<xsl:value-of select="concat('Titulaire du compte: ', $fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@name)"/>
															</xsl:when>
															<xsl:when test="$language = 'de'">
																<xsl:value-of select="concat('Kontoinhaber: ', $fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@name)"/>
															</xsl:when>
															<xsl:when test="$language = 'es'">
																<xsl:value-of select="concat('Titular de la cuenta: ', $fee-sheet/fee-sheet/ep-financial-data/mode-of-payment/@name)"/>
															</xsl:when>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
											</fo:table-row>
										</xsl:when>
										<xsl:otherwise>
											<fo:table-row>
												<fo:table-cell padding-start.length="4pt" number-columns-spanned="3">
													<fo:block text-align="left" font-weight="normal" font-size="10pt" padding-after="2pt">
														<xsl:choose>
															<xsl:when test="$language = 'en'">
																<xsl:value-of select="'Not applicable'"/>
															</xsl:when>
															<xsl:when test="$language = 'fr'">
																<xsl:value-of select="'Sans objet'"/>
															</xsl:when>
															<xsl:when test="$language = 'de'">
																<xsl:value-of select="'Nicht zutreffend'"/>
															</xsl:when>
															<xsl:when test="$language = 'es'">
																<xsl:value-of select="'No aplicable'"/>
															</xsl:when>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
											</fo:table-row>
										</xsl:otherwise>
									</xsl:choose>
								</fo:table-body>
							</fo:table>
						</xsl:when>
						<xsl:otherwise>
							<fo:table table-layout="fixed" border="0.5pt solid black" space-before="10pt">
								<fo:table-column column-width="10mm"/>
								<fo:table-column column-width="40mm"/>
								<fo:table-column column-width="134mm"/>
								<fo:table-body>
									<fo:table-row>
										<fo:table-cell number-columns-spanned="2" padding-start.length="4pt">
											<fo:block space-before="3pt" space-after="5pt" font-weight="bold" font-size="10pt">
												<xsl:choose>
													<xsl:when test="$language = 'en'">
														<xsl:value-of select="'Method of payment'"/>
													</xsl:when>
													<xsl:when test="$language = 'fr'">
														<xsl:value-of select="'Mode de paiement'"/>
													</xsl:when>
													<xsl:when test="$language = 'de'">
														<xsl:value-of select="'Zahlungsart'"/>
													</xsl:when>
													<xsl:when test="$language = 'es'">
														<xsl:value-of select="'Método de pago'"/>
													</xsl:when>
												</xsl:choose>
											</fo:block>
										</fo:table-cell>
										<xsl:choose>
											<xsl:when test="@ro='SE'">
												<fo:table-cell padding-start.length="25pt" number-columns-spanned="1">
													<fo:block space-before="3pt" text-align="left" font-weight="bold" font-size="8pt">
														<xsl:value-of select="'Information on how payment can be made is available here www.prv.se.'"/>
													</fo:block>
													<fo:block text-align="left" font-weight="bold" font-size="8pt">
														<xsl:value-of select="'The e-service Electronic payment can be made to make the payment.'"/>
													</fo:block>
												</fo:table-cell>
											</xsl:when>
											<xsl:otherwise/>
										</xsl:choose>
									</fo:table-row>
									<xsl:choose>
										<!--Added for the pdf but it doesnot included and displayed yet -->
										<xsl:when test="($fee-sheet/fee-sheet/payment-mode='Credit card' or $fee-sheet/fee-sheet/payment-mode='ccard') and ($varFeesToPay ='true' or $varSuppFeesToPay ='true')">
											<fo:table-row>
												<fo:table-cell padding-start.length="4pt">
													<fo:block text-align="left" font-weight="normal" font-size="10pt">
														<xsl:choose>
															<xsl:when test="$fee-sheet/fee-sheet/payment-mode='Credit card' or $fee-sheet/fee-sheet/payment-mode='ccard'">
																<xsl:call-template name="CheckBox">
																	<xsl:with-param name="check">
																		<xsl:value-of select="'true'"/>
																	</xsl:with-param>
																</xsl:call-template>
															</xsl:when>
															<xsl:otherwise>
																<xsl:call-template name="CheckBox">
																	<xsl:with-param name="check">
																		<xsl:value-of select="'false'"/>
																	</xsl:with-param>
																</xsl:call-template>
															</xsl:otherwise>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="2">
													<fo:block text-align="left" font-weight="normal" font-size="8pt">
														<xsl:choose>
															<xsl:when test="$language = 'en'">
																<xsl:value-of select="'Credit card'"/>
															</xsl:when>
															<xsl:when test="$language = 'fr'">
																<xsl:value-of select="'Carte de crédit'"/>
															</xsl:when>
															<xsl:when test="$language = 'de'">
																<xsl:value-of select="'Kreditkarte'"/>
															</xsl:when>
															<xsl:when test="$language = 'es'">
																<xsl:value-of select="'Credit card ESP'"/>
															</xsl:when>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
											</fo:table-row>
											<xsl:if test="@ro='SE'">
												<fo:table-row>
													<fo:table-cell number-columns-spanned="1">
														<fo:block text-align="left" font-weight="normal" font-size="8pt"/>
													</fo:table-cell>
													<fo:table-cell number-columns-spanned="2">
														<fo:block text-align="left" font-weight="normal" font-size="8pt">Bank: Skandinaviska Enskilda Banken, SE-106 40 Stockholm.</fo:block>
														<fo:block text-align="left" font-weight="normal" font-size="8pt">BIC address: ESSESESS</fo:block>
														<fo:block space-after="5pt" text-align="left" font-weight="normal" font-size="8pt">Stockholm IBAN: SE22 5000 0000 0543 9100 1349 (24 digits)</fo:block>
													</fo:table-cell>
												</fo:table-row>
											</xsl:if>
											<xsl:if test="@ro='NL'">
												<fo:table-row>
													<fo:table-cell number-columns-spanned="1">
														<fo:block text-align="left" font-weight="normal" font-size="8pt"/>
													</fo:table-cell>
													<fo:table-cell number-columns-spanned="2">
														<fo:block text-align="left" font-weight="normal" font-size="8pt">Bank: ING Bank</fo:block>
														<fo:block text-align="left" font-weight="normal" font-size="8pt">IBAN: NL41INGB0705001296</fo:block>
														<fo:block space-after="5pt" text-align="left" font-weight="normal" font-size="8pt">BIC-code (Swift): INGBNLA2</fo:block>
													</fo:table-cell>
												</fo:table-row>
											</xsl:if>
										</xsl:when>
										<!-- Credit card-->

										<xsl:when test="($fee-sheet/fee-sheet/payment-mode='Bank transfer' or $fee-sheet/fee-sheet/payment-mode='Bank') and ($varFeesToPay ='true' or $varSuppFeesToPay ='true')">
											<fo:table-row>
												<fo:table-cell padding-start.length="4pt">
													<fo:block text-align="left" font-weight="normal" font-size="10pt">
														<xsl:choose>
															<xsl:when test="$fee-sheet/fee-sheet/payment-mode='Bank transfer' or $fee-sheet/fee-sheet/payment-mode='Bank'">
																<xsl:call-template name="CheckBox">
																	<xsl:with-param name="check">
																		<xsl:value-of select="'true'"/>
																	</xsl:with-param>
																</xsl:call-template>
															</xsl:when>
															<xsl:otherwise>
																<xsl:call-template name="CheckBox">
																	<xsl:with-param name="check">
																		<xsl:value-of select="'false'"/>
																	</xsl:with-param>
																</xsl:call-template>
															</xsl:otherwise>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="2">
													<fo:block text-align="left" font-weight="normal" font-size="8pt">
														<xsl:choose>
															<xsl:when test="$language = 'en'">
																<xsl:value-of select="'Bank transfer'"/>
															</xsl:when>
															<xsl:when test="$language = 'fr'">
																<xsl:value-of select="'Virement bancaire'"/>
															</xsl:when>
															<xsl:when test="$language = 'de'">
																<xsl:value-of select="'Banküberweisung'"/>
															</xsl:when>
															<xsl:when test="$language = 'es'">
																<xsl:value-of select="'Transferencia bancaria'"/>
															</xsl:when>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
											</fo:table-row>
											<xsl:if test="@ro='SE'">
												<fo:table-row>
													<fo:table-cell number-columns-spanned="1">
														<fo:block text-align="left" font-weight="normal" font-size="8pt"/>
													</fo:table-cell>
													<fo:table-cell number-columns-spanned="2">
														<fo:block text-align="left" font-weight="normal" font-size="8pt">Bank: Skandinaviska Enskilda Banken, SE-106 40 Stockholm.</fo:block>
														<fo:block text-align="left" font-weight="normal" font-size="8pt">BIC address: ESSESESS</fo:block>
														<fo:block space-after="5pt" text-align="left" font-weight="normal" font-size="8pt">Stockholm IBAN: SE22 5000 0000 0543 9100 1349 (24 digits)</fo:block>
													</fo:table-cell>
												</fo:table-row>
											</xsl:if>
											<xsl:if test="@ro='NL'">
												<fo:table-row>
													<fo:table-cell number-columns-spanned="1">
														<fo:block text-align="left" font-weight="normal" font-size="8pt"/>
													</fo:table-cell>
													<fo:table-cell number-columns-spanned="2">
														<fo:block text-align="left" font-weight="normal" font-size="8pt">Bank: ING Bank</fo:block>
														<fo:block text-align="left" font-weight="normal" font-size="8pt">IBAN: NL41INGB0705001296</fo:block>
														<fo:block space-after="5pt" text-align="left" font-weight="normal" font-size="8pt">BIC-code (Swift): INGBNLA2</fo:block>
													</fo:table-cell>
												</fo:table-row>
											</xsl:if>
										</xsl:when>

										<!--Fin crédit card-->
										<xsl:when test="($fee-sheet/fee-sheet/payment-mode='Deposit account' or $fee-sheet/fee-sheet/payment-mode='Charge Deposit Account' or $fee-sheet/fee-sheet/payment-mode='Depot' or $fee-sheet/fee-sheet/payment-mode='PVS Account' or $fee-sheet/fee-sheet/payment-mode='Debit from deposit account') and ($varFeesToPay ='true' or $varSuppFeesToPay ='true')">
											<fo:table-row>
												<fo:table-cell padding-start.length="4pt">
													<fo:block text-align="left" font-weight="normal" font-size="10pt">
														<xsl:choose>
															<xsl:when test="$fee-sheet/fee-sheet/payment-mode='Charge Deposit Account' or $fee-sheet/fee-sheet/payment-mode='Deposit account' or $fee-sheet/fee-sheet/payment-mode='Depot' or $fee-sheet/fee-sheet/payment-mode='PVS Account' or $fee-sheet/fee-sheet/payment-mode='Debit from deposit account'">
																<xsl:call-template name="CheckBox">
																	<xsl:with-param name="check">
																		<xsl:value-of select="'true'"/>
																	</xsl:with-param>
																</xsl:call-template>
															</xsl:when>
															<xsl:otherwise>
																<xsl:call-template name="CheckBox">
																	<xsl:with-param name="check">
																		<xsl:value-of select="'false'"/>
																	</xsl:with-param>
																</xsl:call-template>
															</xsl:otherwise>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="1">
													<fo:block text-align="left" font-weight="normal" font-size="8pt">
														<xsl:choose>
															<xsl:when test="$language = 'en'">
																<xsl:value-of select="'Charge deposit account'"/>
															</xsl:when>
															<xsl:when test="$language = 'fr'">
																<xsl:value-of select="'Chargez compte de dépôt'"/>
															</xsl:when>
															<xsl:when test="$language = 'de'">
																<xsl:value-of select="'Abbuchen laufenden Konto'"/>
															</xsl:when>
															<xsl:when test="$language = 'es'">
																<xsl:value-of select="'Cargar la cuenta de depósito'"/>
															</xsl:when>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
											</fo:table-row>
											<fo:table-row>
												<fo:table-cell number-columns-spanned="1">
													<fo:block text-align="left" font-weight="normal" font-size="8pt"/>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="2">
													<fo:block text-align="left" font-weight="normal" font-size="8pt">
														<xsl:choose>
															<xsl:when test="$language = 'en'">
																<xsl:value-of select="concat('Deposit account number: ', $fee-sheet/fee-sheet/deposit-account/account-no)"/>
															</xsl:when>
															<xsl:when test="$language = 'fr'">
																<xsl:value-of select="concat('Numéro de compte de dépôt: ', $fee-sheet/fee-sheet/deposit-account/account-no)"/>
															</xsl:when>
															<xsl:when test="$language = 'de'">
																<xsl:value-of select="concat('Nummer des laufenden Kontos: ', $fee-sheet/fee-sheet/deposit-account/account-no)"/>
															</xsl:when>
															<xsl:when test="$language = 'es'">
																<xsl:value-of select="concat('Número de cuenta de depósito: ', $fee-sheet/fee-sheet/deposit-account/account-no)"/>
															</xsl:when>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
											</fo:table-row>
											<xsl:if test="@ro='SE'">
												<fo:table-row>
													<fo:table-cell padding-start.length="4pt">
														<fo:block text-align="left" font-weight="normal" font-size="10pt">
															<xsl:choose>
																<xsl:when test="$fee-sheet/fee-sheet/deposit-account/authorisation/total-fee='true'">
																	<xsl:call-template name="CheckBox">
																		<xsl:with-param name="check">
																			<xsl:value-of select="'true'"/>
																		</xsl:with-param>
																	</xsl:call-template>
																</xsl:when>
																<xsl:otherwise>
																	<xsl:call-template name="CheckBox">
																		<xsl:with-param name="check">
																			<xsl:value-of select="'false'"/>
																		</xsl:with-param>
																	</xsl:call-template>
																</xsl:otherwise>
															</xsl:choose>
														</fo:block>
													</fo:table-cell>
													<fo:table-cell number-columns-spanned="2">
														<fo:block text-align="left" font-weight="normal" font-size="8pt">
															<xsl:choose>
																<xsl:when test="$language = 'en'">
																	<xsl:value-of select="'Authorisation to charge total fees'"/>
																</xsl:when>
																<xsl:when test="$language = 'fr'">
																	<xsl:value-of select="'Autorisation de débiter le total des taxes'"/>
																</xsl:when>
																<xsl:when test="$language = 'de'">
																	<xsl:value-of select="'Abbuchungsauftrag für alle Gebühren'"/>
																</xsl:when>
																<xsl:when test="$language = 'es'">
																	<xsl:value-of select="'Autorización para cargar importe total de los tasas'"/>
																</xsl:when>
															</xsl:choose>
														</fo:block>
													</fo:table-cell>
												</fo:table-row>
												<fo:table-row>
													<fo:table-cell padding-start.length="4pt">
														<fo:block text-align="left" font-weight="normal" font-size="10pt">
															<xsl:choose>
																<xsl:when test="$fee-sheet/fee-sheet/deposit-account/authorisation/deficiency-credit='true'">
																	<xsl:call-template name="CheckBox">
																		<xsl:with-param name="check">
																			<xsl:value-of select="'true'"/>
																		</xsl:with-param>
																	</xsl:call-template>
																</xsl:when>
																<xsl:otherwise>
																	<xsl:call-template name="CheckBox">
																		<xsl:with-param name="check">
																			<xsl:value-of select="'false'"/>
																		</xsl:with-param>
																	</xsl:call-template>
																</xsl:otherwise>
															</xsl:choose>
														</fo:block>
													</fo:table-cell>
												</fo:table-row>
												<fo:table-row>
													<fo:table-cell padding-start.length="4pt">
														<fo:block text-align="left" font-weight="normal" font-size="8pt"/>
													</fo:table-cell>
													<fo:table-cell padding-start.length="4pt">
														<fo:block text-align="left" font-weight="normal" font-size="8pt">
															<xsl:value-of select="'Name:'"/>
														</fo:block>
													</fo:table-cell>
													<fo:table-cell number-columns-spanned="2">
														<fo:block text-align="left" font-weight="normal" font-size="8pt">
															<xsl:value-of select="$fee-sheet/fee-sheet/deposit-account/account-name"/>
														</fo:block>
													</fo:table-cell>
												</fo:table-row>
												<fo:table-row>
													<fo:table-cell padding-start.length="4pt">
														<fo:block text-align="left" font-weight="normal" font-size="8pt"/>
													</fo:table-cell>
													<fo:table-cell padding-start.length="4pt">
														<fo:block text-align="left" font-weight="normal" font-size="8pt">
															<xsl:value-of select="'Signature:'"/>
														</fo:block>
													</fo:table-cell>
													<fo:table-cell number-columns-spanned="2">
														<fo:block text-align="left" font-weight="normal" font-size="8pt">
															<xsl:value-of select="$fee-sheet/fee-sheet/deposit-account/account-signature"/>
														</fo:block>
													</fo:table-cell>
												</fo:table-row>
											</xsl:if>
										</xsl:when>
										<xsl:when test="($fee-sheet/fee-sheet/payment-mode='Postal money order') and ($varFeesToPay ='true' or $varSuppFeesToPay ='true')">
											<fo:table-row>
												<fo:table-cell padding-start.length="4pt">
													<fo:block text-align="left" font-weight="normal" font-size="10pt">
														<xsl:choose>
															<xsl:when test="$fee-sheet/fee-sheet/payment-mode='Postal money order'">
																<xsl:call-template name="CheckBox">
																	<xsl:with-param name="check">
																		<xsl:value-of select="'true'"/>
																	</xsl:with-param>
																</xsl:call-template>
															</xsl:when>
															<xsl:otherwise>
																<xsl:call-template name="CheckBox">
																	<xsl:with-param name="check">
																		<xsl:value-of select="'false'"/>
																	</xsl:with-param>
																</xsl:call-template>
															</xsl:otherwise>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="2">
													<fo:block text-align="left" font-weight="normal" font-size="8pt">
														<xsl:choose>
															<xsl:when test="$language = 'en'">
																<xsl:value-of select="'Postal money order'"/>
															</xsl:when>
															<xsl:when test="$language = 'fr'">
																<xsl:value-of select="'Mandat postal'"/>
															</xsl:when>
															<xsl:when test="$language = 'de'">
																<xsl:value-of select="'Postanweisung/Zahlungsanweisung'"/>
															</xsl:when>
															<xsl:when test="$language = 'es'">
																<xsl:value-of select="'Orden de giro postal'"/>
															</xsl:when>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
											</fo:table-row>
										</xsl:when>
										<xsl:when test="($fee-sheet/fee-sheet/payment-mode='Online fee payment') and ($varFeesToPay ='true' or $varSuppFeesToPay ='true')">
											<fo:table-row>
												<fo:table-cell padding-start.length="4pt">
													<fo:block text-align="left" font-weight="normal" font-size="10pt">
														<xsl:choose>
															<xsl:when test="$fee-sheet/fee-sheet/payment-mode='Online fee payment'">
																<xsl:call-template name="CheckBox">
																	<xsl:with-param name="check">
																		<xsl:value-of select="'true'"/>
																	</xsl:with-param>
																</xsl:call-template>
															</xsl:when>
															<xsl:otherwise>
																<xsl:call-template name="CheckBox">
																	<xsl:with-param name="check">
																		<xsl:value-of select="'false'"/>
																	</xsl:with-param>
																</xsl:call-template>
															</xsl:otherwise>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="2">
													<fo:block text-align="left" font-weight="normal" font-size="8pt">
														<xsl:choose>
															<xsl:when test="$language = 'en'">
																<xsl:value-of select="'Online fee payment'"/>
															</xsl:when>
															<xsl:when test="$language = 'fr'">
																<xsl:value-of select="'Paiement des taxes en ligne'"/>
															</xsl:when>
															<xsl:when test="$language = 'de'">
																<xsl:value-of select="'Online-Gebührenzahlung'"/>
															</xsl:when>
															<xsl:when test="$language = 'es'">
																<xsl:value-of select="'Pago de tasas online'"/>
															</xsl:when>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
											</fo:table-row>
										</xsl:when>
										<xsl:when test="($fee-sheet/fee-sheet/payment-mode='Cheque') and ($varFeesToPay ='true' or $varSuppFeesToPay ='true')">
											<fo:table-row>
												<fo:table-cell padding-start.length="4pt">
													<fo:block text-align="left" font-weight="normal" font-size="10pt">
														<xsl:choose>
															<xsl:when test="$fee-sheet/fee-sheet/payment-mode='Cheque'">
																<xsl:call-template name="CheckBox">
																	<xsl:with-param name="check">
																		<xsl:value-of select="'true'"/>
																	</xsl:with-param>
																</xsl:call-template>
															</xsl:when>
															<xsl:otherwise>
																<xsl:call-template name="CheckBox">
																	<xsl:with-param name="check">
																		<xsl:value-of select="'false'"/>
																	</xsl:with-param>
																</xsl:call-template>
															</xsl:otherwise>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="2">
													<fo:block text-align="left" font-weight="normal" font-size="8pt">
														<xsl:choose>
															<xsl:when test="$language = 'en'">
																<xsl:value-of select="'Cheque'"/>
															</xsl:when>
															<xsl:when test="$language = 'fr'">
																<xsl:value-of select="'Chèque'"/>
															</xsl:when>
															<xsl:when test="$language = 'de'">
																<xsl:value-of select="'Cheque'"/>
															</xsl:when>
															<xsl:when test="$language = 'es'">
																<xsl:value-of select="'Scheck'"/>
															</xsl:when>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
											</fo:table-row>
										</xsl:when>
										<xsl:when test="($fee-sheet/fee-sheet/payment-mode='Invoice') or ($fee-sheet/fee-sheet/payment-mode='Inpayment form') and ($varFeesToPay ='true' or $varSuppFeesToPay ='true')">
											<fo:table-row>
												<fo:table-cell padding-start.length="4pt">
													<fo:block text-align="left" font-weight="normal" font-size="10pt">
														<xsl:choose>
															<xsl:when test="$fee-sheet/fee-sheet/payment-mode='Invoice' or ($fee-sheet/fee-sheet/payment-mode='Inpayment form')">
																<xsl:call-template name="CheckBox">
																	<xsl:with-param name="check">
																		<xsl:value-of select="'true'"/>
																	</xsl:with-param>
																</xsl:call-template>
															</xsl:when>
															<xsl:otherwise>
																<xsl:call-template name="CheckBox">
																	<xsl:with-param name="check">
																		<xsl:value-of select="'false'"/>
																	</xsl:with-param>
																</xsl:call-template>
															</xsl:otherwise>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="2">
													<fo:block text-align="left" font-weight="normal" font-size="8pt">
														<xsl:choose>
															<xsl:when test="$language = 'en'">
																<xsl:value-of select="'The office will issue an invoice'"/>
															</xsl:when>
															<xsl:when test="$language = 'fr'">
																<xsl:value-of select="$varFRString18"/>
															</xsl:when>
															<xsl:when test="$language = 'de'">
																<xsl:value-of select="'Das Amt wird eine Rechnung erstellen'"/>
															</xsl:when>
															<xsl:when test="$language = 'es'">
																<xsl:value-of select="'La Oficina emitirá una factura'"/>
															</xsl:when>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
											</fo:table-row>
										</xsl:when>
										<xsl:when test="($fee-sheet/fee-sheet/payment-mode='Payment by Internet') and ($varFeesToPay ='true' or $varSuppFeesToPay ='true')">
											<fo:table-row>
												<fo:table-cell padding-start.length="4pt">
													<fo:block text-align="left" font-weight="normal" font-size="10pt">
														<xsl:choose>
															<xsl:when test="$fee-sheet/fee-sheet/payment-mode='Payment by Internet'">
																<xsl:call-template name="CheckBox">
																	<xsl:with-param name="check">
																		<xsl:value-of select="'true'"/>
																	</xsl:with-param>
																</xsl:call-template>
															</xsl:when>
															<xsl:otherwise>
																<xsl:call-template name="CheckBox">
																	<xsl:with-param name="check">
																		<xsl:value-of select="'false'"/>
																	</xsl:with-param>
																</xsl:call-template>
															</xsl:otherwise>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="2">
													<fo:block text-align="left" font-weight="normal" font-size="8pt">
														<xsl:choose>
															<xsl:when test="$language = 'en'">
																<xsl:value-of select="'Payment by Internet'"/>
															</xsl:when>
															<xsl:when test="$language = 'fr'">
																<xsl:value-of select="'Paiement via Internet'"/>
															</xsl:when>
															<xsl:when test="$language = 'de'">
																<xsl:value-of select="'Internetzahlung'"/>
															</xsl:when>
															<xsl:when test="$language = 'es'">
																<xsl:value-of select="'Pago a través de Internet'"/>
															</xsl:when>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
											</fo:table-row>

											<xsl:if test="@ro='ES'">
												<fo:table-row>
													<fo:table-cell number-columns-spanned="1">
														<fo:block text-align="left" font-weight="normal" font-size="8pt"/>
													</fo:table-cell>
													<fo:table-cell number-columns-spanned="2">
														<fo:block text-align="left" font-weight="normal" font-size="8pt">
															<xsl:value-of select="concat('Código de barras del pago: ', $fee-sheet/fee-sheet/es-barcodes/fee-code)"/>
														</fo:block>
													</fo:table-cell>
												</fo:table-row>
											</xsl:if>
										</xsl:when>
										<xsl:when test="($fee-sheet/fee-sheet/payment-mode='Credit/Debit Card') and ($varFeesToPay ='true' or $varSuppFeesToPay ='true')">
											<fo:table-row>
												<fo:table-cell padding-start.length="4pt">
													<fo:block text-align="left" font-weight="normal" font-size="10pt">
														<xsl:choose>
															<xsl:when test="$fee-sheet/fee-sheet/payment-mode = 'Credit/Debit Card'">
																<xsl:call-template name="CheckBox">
																	<xsl:with-param name="check">
																		<xsl:value-of select="'true'"/>
																	</xsl:with-param>
																</xsl:call-template>
															</xsl:when>
															<xsl:otherwise>
																<xsl:call-template name="CheckBox">
																	<xsl:with-param name="check">
																		<xsl:value-of select="'false'"/>
																	</xsl:with-param>
																</xsl:call-template>
															</xsl:otherwise>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="1">
													<fo:block text-align="left" font-weight="normal" font-size="8pt">
														<xsl:choose>
															<xsl:when test="$language = 'en'">
																<xsl:value-of select="'Credit/Debit Card'"/>
															</xsl:when>
															<xsl:when test="$language = 'fr'">
																<xsl:value-of select="'Carte bancaire/carte de crédit'"/>
															</xsl:when>
															<xsl:when test="$language = 'de'">
																<xsl:value-of select="'Kreditkarte/EC-Karte'"/>
															</xsl:when>
															<xsl:when test="$language = 'es'">
																<xsl:value-of select="'Tarjeta de crédito/débito'"/>
															</xsl:when>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="1">
													<fo:block text-align="left" font-weight="normal" font-size="8pt">
														<xsl:value-of select="concat('Customer account number (at the office): ', $fee-sheet/fee-sheet/credit-debit-card-account/account-no)"/>
													</fo:block>
												</fo:table-cell>
											</fo:table-row>
										</xsl:when>

										<xsl:when test="($fee-sheet/fee-sheet/payment-mode='Other') and ($varFeesToPay ='true' or $varSuppFeesToPay ='true')">
											<fo:table-row>
												<fo:table-cell padding-start.length="4pt">
													<fo:block text-align="left" font-weight="normal" font-size="10pt">
														<xsl:choose>
															<xsl:when test="$fee-sheet/fee-sheet/payment-mode = 'Other'">
																<xsl:call-template name="CheckBox">
																	<xsl:with-param name="check">
																		<xsl:value-of select="'true'"/>
																	</xsl:with-param>
																</xsl:call-template>
															</xsl:when>
															<xsl:otherwise>
																<xsl:call-template name="CheckBox">
																	<xsl:with-param name="check">
																		<xsl:value-of select="'false'"/>
																	</xsl:with-param>
																</xsl:call-template>
															</xsl:otherwise>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="1">
													<fo:block text-align="left" font-weight="normal" font-size="8pt">
														<xsl:value-of select="$fee-sheet/fee-sheet/payment-mode/@dtext"/>
													</fo:block>
												</fo:table-cell>
											</fo:table-row>
										</xsl:when>
										<xsl:otherwise>
											<fo:table-row>
												<fo:table-cell padding-start.length="4pt" number-columns-spanned="3">
													<fo:block text-align="left" font-weight="normal" font-size="10pt">
														<xsl:choose>
															<xsl:when test="$language = 'en'">
																<xsl:value-of select="'Not applicable'"/>
															</xsl:when>
															<xsl:when test="$language = 'fr'">
																<xsl:value-of select="'Sans objet'"/>
															</xsl:when>
															<xsl:when test="$language = 'de'">
																<xsl:value-of select="'Nicht zutreffend'"/>
															</xsl:when>
															<xsl:when test="$language = 'es'">
																<xsl:value-of select="'No aplicable'"/>
															</xsl:when>
														</xsl:choose>
													</fo:block>
												</fo:table-cell>
											</fo:table-row>
										</xsl:otherwise>
									</xsl:choose>
								</fo:table-body>
							</fo:table>
						</xsl:otherwise>
					</xsl:choose>

							<!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-->
					<!-- Start of Form Section 6: Reimbursement instructions          -->
					<!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-->
					<xsl:if test="$fee-sheet/fee-sheet/ep-financial-data/reimbursement-deposit-account and @ro='EP' and @capacity!='SISA' and substring(@date-produced, 1, 8)&gt;='20190401'">
						<fo:table table-layout="fixed" border="0.5pt solid black" space-before="10pt">
							<fo:table-column column-width="10mm"/>
							<fo:table-column column-width="174mm"/>
							<fo:table-body>
								<fo:table-row>
									<fo:table-cell number-columns-spanned="2" padding-start.length="4pt">
										<fo:block space-before="3pt" space-after="5pt" font-weight="bold" font-size="10pt">
											<xsl:choose>
												<xsl:when test="$language = 'en'">
													<xsl:value-of select="'Reimbursement instructions'"/>
												</xsl:when>
												<xsl:when test="$language = 'fr'">
													<xsl:value-of select="$varFRString21"/>
												</xsl:when>
												<xsl:when test="$language = 'de'">
													<xsl:value-of select="'Anweisungen zur Rückerstattung'"/>
												</xsl:when>
												<xsl:when test="$language = 'es'">
													<xsl:value-of select="'Reimbursement instructions'"/>
												</xsl:when>
											</xsl:choose>
										</fo:block>
									</fo:table-cell>
								</fo:table-row>
								<fo:table-row>
									<xsl:choose>
										<xsl:when test="$fee-sheet/fee-sheet/ep-financial-data/reimbursement-deposit-account">
											<fo:table-cell padding-start.length="4pt">
												<fo:block text-align="left" font-weight="normal" font-size="8pt">
													<xsl:call-template name="CheckBox">
														<xsl:with-param name="check">
															<xsl:value-of select="'true'"/>
														</xsl:with-param>
													</xsl:call-template>
												</fo:block>
											</fo:table-cell>
											<fo:table-cell padding-start.length="4pt">
												<fo:block font-weight="normal" font-size="8pt">
													<xsl:choose>
														<xsl:when test="$language = 'en'">
															<xsl:value-of select="concat('Office processing the reimbursement:  ', $fee-sheet/fee-sheet/ep-financial-data/reimbursement-deposit-account/ip-office)"/>
														</xsl:when>
														<xsl:when test="$language = 'fr'">
															<xsl:value-of select="concat('Office chargé de traiter le remboursement:  ', $fee-sheet/fee-sheet/ep-financial-data/reimbursement-deposit-account/ip-office)"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="concat('Amt, das die Erstattung bearbeitet:  ', $fee-sheet/fee-sheet/ep-financial-data/reimbursement-deposit-account/ip-office)"/>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="concat('Office processing the reimbursement:  ', $fee-sheet/fee-sheet/ep-financial-data/reimbursement-deposit-account/ip-office)"/>
														</xsl:when>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
										</xsl:when>
									</xsl:choose>
								</fo:table-row>
								<fo:table-row>
									<xsl:choose>
										<xsl:when test="$fee-sheet/fee-sheet/ep-financial-data/reimbursement-deposit-account">
											<fo:table-cell padding-start.length="4pt">
												<fo:block text-align="left" font-weight="normal" font-size="8pt">
												</fo:block>
											</fo:table-cell>
										</xsl:when>
										<xsl:otherwise>
											<fo:table-cell padding-start.length="4pt">
												<fo:block text-align="left" font-weight="normal" font-size="8pt">
													<xsl:call-template name="CheckBox">
														<xsl:with-param name="check">
															<xsl:value-of select="'false'"/>
														</xsl:with-param>
													</xsl:call-template>
												</fo:block>
											</fo:table-cell>
										</xsl:otherwise>
									</xsl:choose>
									<fo:table-cell padding-start.length="4pt">
										<fo:block font-weight="normal" font-size="8pt">
											<xsl:choose>
												<xsl:when test="$language = 'en'">
													<xsl:value-of select="concat('Reimbursement, if any, to be made to deposit account with the EPO:  ', $fee-sheet/fee-sheet/ep-financial-data/reimbursement-deposit-account/account-no)"/>
												</xsl:when>
												<xsl:when test="$language = 'fr'">
													<xsl:value-of select="concat($varFRString22, ' ', $fee-sheet/fee-sheet/ep-financial-data/reimbursement-deposit-account/account-no)"/>
												</xsl:when>
												<xsl:when test="$language = 'de'">
													<xsl:value-of select="concat('Etwaige Rückerstattung auf das laufende Konto beim EPA:  ', $fee-sheet/fee-sheet/ep-financial-data/reimbursement-deposit-account/account-no)"/>
												</xsl:when>
												<xsl:when test="$language = 'es'">
													<xsl:value-of select="concat('Reimbursement, if any, to be made to deposit account with the EPO:  ', $fee-sheet/fee-sheet/ep-financial-data/reimbursement-deposit-account/account-no)"/>
												</xsl:when>
											</xsl:choose>
										</fo:block>
									</fo:table-cell>
								</fo:table-row>
								<fo:table-row>
									<fo:table-cell number-columns-spanned="1">
										<fo:block text-align="left" font-weight="normal" font-size="8pt"/>
									</fo:table-cell>
									<fo:table-cell padding-start.length="4pt">
										<fo:block font-weight="normal" font-size="8pt">
											<xsl:choose>
												<xsl:when test="$language = 'en'">
													<xsl:value-of select="concat('Account holder: ', $fee-sheet/fee-sheet/ep-financial-data/reimbursement-deposit-account/name)"/>
												</xsl:when>
												<xsl:when test="$language = 'fr'">
													<xsl:value-of select="concat('Titulaire du compte: ', $fee-sheet/fee-sheet/ep-financial-data/reimbursement-deposit-account/name)"/>
												</xsl:when>
												<xsl:when test="$language = 'de'">
													<xsl:value-of select="concat('Kontoinhaber: ', $fee-sheet/fee-sheet/ep-financial-data/reimbursement-deposit-account/name)"/>
												</xsl:when>
												<xsl:when test="$language = 'es'">
													<xsl:value-of select="concat('Titular de la cuenta: ', $fee-sheet/fee-sheet/ep-financial-data/reimbursement-deposit-account/name)"/>
												</xsl:when>
											</xsl:choose>
										</fo:block>
									</fo:table-cell>
								</fo:table-row>
								<xsl:choose>
									<xsl:when test="$fee-sheet/fee-sheet/ep-financial-data/reimbursement-deposit-account">
										<fo:table-row>
											<fo:table-cell number-columns-spanned="1">
												<fo:block text-align="left" font-weight="normal" font-size="8pt"/>
											</fo:table-cell>
											<fo:table-cell padding-start.length="4pt">
												<fo:block font-weight="normal" font-size="8pt">
													<xsl:choose>
														<xsl:when test="$language = 'en'">
															<xsl:value-of select="concat('Date: ', substring(@date-produced,7,2), '-', substring(@date-produced,5,2), '-', substring(@date-produced,1,4))"/>
														</xsl:when>
														<xsl:when test="$language = 'fr'">
															<xsl:value-of select="concat('Date: ', substring(@date-produced,7,2), '-', substring(@date-produced,5,2), '-', substring(@date-produced,1,4))"/>
														</xsl:when>
														<xsl:when test="$language = 'de'">
															<xsl:value-of select="concat('Datum: ', substring(@date-produced,7,2), '-', substring(@date-produced,5,2), '-', substring(@date-produced,1,4))"/>
														</xsl:when>
														<xsl:when test="$language = 'es'">
															<xsl:value-of select="concat('Fecha: ', substring(@date-produced,7,2), '-', substring(@date-produced,5,2), '-', substring(@date-produced,1,4))"/>
														</xsl:when>
													</xsl:choose>
												</fo:block>
											</fo:table-cell>
										</fo:table-row>
									</xsl:when>
								</xsl:choose>
							</fo:table-body>
						</fo:table>
					</xsl:if>

					<fo:block id="theEnd"/>
				</fo:flow>
			</fo:page-sequence>
		</fo:root>
	</xsl:template>

	<xsl:template name="CheckBox">
		<xsl:param name="check"/>
		<xsl:choose>
			<xsl:when test="$check='true'">
				<!-- checked -->
				<xsl:value-of select="'•'"/>
			</xsl:when>
			<xsl:otherwise>
				<!-- not checked -->
				<xsl:value-of select="''"/>
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template>
	<xsl:variable name="langstring_Bank_AT" select="'UniCredit Bank Austria AG'"/>
	<xsl:variable name="langstring_Bank_BE" select="'ING Belgium'"/>
	<xsl:variable name="langstring_Bank_BG" select="'UniCredit Bulbank'"/>
	<xsl:variable name="langstring_Bank_CH" select="'UBS'"/>
	<xsl:variable name="langstring_Bank_CY" select="'Bank of Cyprus'"/>
	<xsl:variable name="langstring_Bank_CZ" select="'Československá obchodní banka a.s'"/>
	<xsl:variable name="langstring_Bank_DE" select="'Commerzbank AG'"/>
	<xsl:variable name="langstring_Bank_DK" select="'Danske Bank A/S'"/>
	<xsl:variable name="langstring_Bank_EE" select="'AS SEB Pank'"/>
	<xsl:variable name="langstring_Bank_ES" select="'Banco Bilbao Vizcaya Argentaria S.A.'"/>
	<xsl:variable name="langstring_Bank_FI" select="'Nordea Bank Finland plc'"/>
	<xsl:variable name="langstring_Bank_FR" select="'BNP - Paribas'"/>
	<xsl:variable name="langstring_Bank_GB" select="'Barclays Bank plc'"/>
	<xsl:variable name="langstring_Bank_GR" select="'Alpha Bank'"/>
	<xsl:variable name="langstring_Bank_HU" select="'OTP Bank Rt.'"/>
	<xsl:variable name="langstring_Bank_IE" select="'Bank of Ireland'"/>
	<xsl:variable name="langstring_Bank_IS" select="'National Bank of Iceland'"/>
	<xsl:variable name="langstring_Bank_IT" select="'Intesa Sanpaolo S.P.A.'"/>
	<xsl:variable name="langstring_Bank_LT" select="'AB SEB bankas'"/>
	<xsl:variable name="langstring_Bank_LU" select="'DEXIA Banque Internationale à Luxembourg'"/>
	<xsl:variable name="langstring_Bank_LV" select="'SEB banka'"/>
	<xsl:variable name="langstring_Bank_MC" select="'BNP - Paribas'"/>
	<xsl:variable name="langstring_Bank_NL" select="'ABN AMRO Bank N.V.'"/>
	<xsl:variable name="langstring_Bank_PL" select="'Bank Handlowy w Warszawie S.A.'"/>
	<xsl:variable name="langstring_Bank_PT" select="'Millennium bcp'"/>
	<xsl:variable name="langstring_Bank_RO" select="'UniCredit Tiriac Bank S.A.'"/>
	<xsl:variable name="langstring_Bank_SE" select="'SHB (Svenska Handelsbanken)'"/>
	<xsl:variable name="langstring_Bank_SI" select="'SKB Banka D.D.'"/>
	<xsl:variable name="langstring_Bank_SK" select="'Tatra Banka A.S.'"/>
	<xsl:variable name="langstring_Bank_TR" select="'Türkiye IS Bankasi A.S.'"/>
<xsl:template name="enBank_ChoiceText">
		<xsl:param name="bank"/>
		<xsl:choose>
			<xsl:when test="$bank='AT'">
				<xsl:value-of select="$langstring_Bank_AT"/>
			</xsl:when>
			<xsl:when test="$bank='BE'">
				<xsl:value-of select="$langstring_Bank_BE"/>
			</xsl:when>
			<xsl:when test="$bank='BG'">
				<xsl:value-of select="$langstring_Bank_BG"/>
			</xsl:when>
			<xsl:when test="$bank='CH'">
				<xsl:value-of select="$langstring_Bank_CH"/>
			</xsl:when>
			<xsl:when test="$bank='CY'">
				<xsl:value-of select="$langstring_Bank_CY"/>
			</xsl:when>
			<xsl:when test="$bank='CZ'">
				<xsl:value-of select="$langstring_Bank_CZ"/>
			</xsl:when>
			<xsl:when test="$bank='DE'">
				<xsl:value-of select="$langstring_Bank_DE"/>
			</xsl:when>
			<xsl:when test="$bank='DK'">
				<xsl:value-of select="$langstring_Bank_DK"/>
			</xsl:when>
			<xsl:when test="$bank='EE'">
				<xsl:value-of select="$langstring_Bank_EE"/>
			</xsl:when>
			<xsl:when test="$bank='ES'">
				<xsl:value-of select="$langstring_Bank_ES"/>
			</xsl:when>
			<xsl:when test="$bank='FI'">
				<xsl:value-of select="$langstring_Bank_FI"/>
			</xsl:when>
			<xsl:when test="$bank='FR'">
				<xsl:value-of select="$langstring_Bank_FR"/>
			</xsl:when>
			<xsl:when test="$bank='GB'">
				<xsl:value-of select="$langstring_Bank_GB"/>
			</xsl:when>
			<xsl:when test="$bank='GR'">
				<xsl:value-of select="$langstring_Bank_GR"/>
			</xsl:when>
			<xsl:when test="$bank='HU'">
				<xsl:value-of select="$langstring_Bank_HU"/>
			</xsl:when>
			<xsl:when test="$bank='IE'">
				<xsl:value-of select="$langstring_Bank_IE"/>
			</xsl:when>
			<xsl:when test="$bank='IS'">
				<xsl:value-of select="$langstring_Bank_IS"/>
			</xsl:when>
			<xsl:when test="$bank='IT'">
				<xsl:value-of select="$langstring_Bank_IT"/>
			</xsl:when>
			<xsl:when test="$bank='LT'">
				<xsl:value-of select="$langstring_Bank_LT"/>
			</xsl:when>
			<xsl:when test="$bank='LU'">
				<xsl:value-of select="$langstring_Bank_LU"/>
			</xsl:when>
			<xsl:when test="$bank='LV'">
				<xsl:value-of select="$langstring_Bank_LV"/>
			</xsl:when>
			<xsl:when test="$bank='MC'">
				<xsl:value-of select="$langstring_Bank_MC"/>
			</xsl:when>
			<xsl:when test="$bank='NL'">
				<xsl:value-of select="$langstring_Bank_NL"/>
			</xsl:when>
			<xsl:when test="$bank='PL'">
				<xsl:value-of select="$langstring_Bank_PL"/>
			</xsl:when>
			<xsl:when test="$bank='PT'">
				<xsl:value-of select="$langstring_Bank_PT"/>
			</xsl:when>
			<xsl:when test="$bank='RO'">
				<xsl:value-of select="$langstring_Bank_RO"/>
			</xsl:when>
			<xsl:when test="$bank='SE'">
				<xsl:value-of select="$langstring_Bank_SE"/>
			</xsl:when>
			<xsl:when test="$bank='SI'">
				<xsl:value-of select="$langstring_Bank_SI"/>
			</xsl:when>
			<xsl:when test="$bank='SK'">
				<xsl:value-of select="$langstring_Bank_SK"/>
			</xsl:when>
			<xsl:when test="$bank='TR'">
				<xsl:value-of select="$langstring_Bank_TR"/>
			</xsl:when>
			<xsl:otherwise>
				<xsl:value-of select="$bank"/>
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template>


	<!-- pnlDocISALackOfUnityFees -->
	<xsl:variable name="docname_isaluir">
		<xsl:choose>
			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Reply to invitation to pay additional fees due to lack of unity of the invention'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">Réponse à l'invitation à payer des taxes additionnelles en raison de l'absence d'unité de l'invention</xsl:when>
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="'Erwiderung auf die Aufforderung zur Zahlung zusätzlicher Gebühren wegen mangelnder Einheitlichkeit der Erfindung'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Contestación al requerimiento de pago de tasas adicionales por falta de unidad de invención'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>
	<xsl:variable name="docname_isapluir">
		<xsl:choose>
			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Request to review the opinion regarding the lack of unity of the invention'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">Requête en réexamen de l'opinion relative à l'absence d'unité de l'invention</xsl:when>
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="'Antrag auf Überprüfung der Feststellung der mangelnden Einheitlichkeit der Erfindung'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Solicitud de revisión de la opinión relativa a la falta de unidad de invención'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>

	<!-- pnlDocISAPayment -->
	<xsl:variable name="docname_isadeca">
		<xsl:choose>
			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Letter regarding automatic debiting of fees'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">
				<xsl:value-of select="'Lettre relative au prélèvement automatique de taxes'"/>
			</xsl:when>
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="'Schreiben zur automatischen Abbuchung von Gebühren'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Carta sobre el débito automático de las tasas'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>
	<xsl:variable name="docname_isapaym">
		<xsl:choose>
			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Letter regarding payment of fees'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">
				<xsl:value-of select="'Lettre relative au paiement de taxes'"/>
			</xsl:when>
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="'Schreiben zur Gebührenzahlung'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Carta relativa al pago de tasas'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>
	<xsl:variable name="docname_isafeercpt">
		<xsl:choose>
			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Fee payment receipt'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">
				<xsl:value-of select="'Reçu de paiement des taxes'"/>
			</xsl:when>
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="'Zahlungsbeleg'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Justificante de pago'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>
	<xsl:variable name="docname_isafeeref">
		<xsl:choose>
			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Request for refund of undue fees'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">
				<xsl:value-of select="' Requête en remboursement des taxes perçues indûment'"/>
			</xsl:when>
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="' Antrag auf Rückzahlung nicht fälliger Gebühren'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Solicitud de devolución de ingresos indebidos'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>

	<!-- pnlDocISAAssignment -->
	<xsl:variable name="docname_isaasgn">
		<xsl:choose>
			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Assignment'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">
				<xsl:value-of select="'Acte de cession'"/>
			</xsl:when>
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="'Übertragung'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Cesión de derechos'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>

	<!-- pnlDocISAPowerOfAttorney -->
	<xsl:variable name="docname_isapoat">
		<xsl:choose>
			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Power of attorney'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">
				<xsl:value-of select="'Pouvoir'"/>
			</xsl:when>
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="'Vollmacht'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Poder de representación'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>

	<!-- pnlDocISARespite -->
	<xsl:variable name="docname_isaresp">
		<xsl:choose>
			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Request for extension of time limit'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">
				<xsl:value-of select="'Requête en prorogation de délai'"/>
			</xsl:when>
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="'Antrag auf Fristverlängerung'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Solicitud de prórroga de plazo'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>

	<!-- pnlDocISAComments -->
	<xsl:variable name="docname_isacmnt">
		<xsl:choose>
			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Comments regarding the abstract'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">Observations relatives à l'abrégé</xsl:when>
			<!--<xsl:value-of select="$varFRString7"/>-->
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="'Stellungnahme zur Zusammenfassung'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Comentarios relativos al resumen'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>

	<!-- pnlDocISAOther -->
	<xsl:variable name="docname_isaother">
		<xsl:choose>
			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Reply to an other invitation or notification (Form PCT/ISA/224)'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">
				<xsl:value-of select="'Réponse à toute autre invitation ou notification (formulaire PCT/ISA/224)'"/>
			</xsl:when>
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="'Erwiderung auf eine sonstige Aufforderung oder Mitteilung (Formblatt PCT/ISA/224)'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Respuesta a otra comunicación o notificación (Formulario PCT/ISA/224)'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>

	<!-- pnlDocISAProhibitedExpressions -->
	<xsl:variable name="docname_isar9desc">
		<xsl:choose>
			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Amended description removing matter disallowed'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">Description modifiée ne contenant plus d'éléments interdits</xsl:when>
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="'Geänderte Beschreibung: unzulässige Inhalte entfernt'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Descripción modificada eliminando materia no permitida'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>
	<xsl:variable name="docname_isar9clms">
		<xsl:choose>
			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Amended claims removing matter disallowed'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">Revendications modifiées ne contenant plus d'éléments interdits</xsl:when>
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="'Geänderte Ansprüche: unzulässige Inhalte entfernt'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Reivindicaciones modificadas eliminando materia no permitida'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>
	<xsl:variable name="docname_isar9draw">
		<xsl:choose>
			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Amended drawings removing matter disallowed'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">Dessins modifiés ne contenant plus d'éléments interdits</xsl:when>
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="'Geänderte Zeichnungen: unzulässige Inhalte entfernt'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Dibujos modificados eliminando materia no permitida'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>
	<xsl:variable name="docname_isar9abs">
		<xsl:choose>
			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Amended abstract removing matter disallowed'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">Abrégé modifié ne contenant plus d'éléments interdits</xsl:when>
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="'Geänderte Zusammenfassung: unzulässige Inhalte entfernt'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Resumen modificado eliminando materia no permitida'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>
	<xsl:variable name="docname_isar9let">
		<xsl:choose>
			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Letter accompanying the replacement sheet(s)'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">
				<xsl:value-of select="'Lettre accompagnant la ou les feuilles de remplacement'"/>
			</xsl:when>
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="'Begleitschreiben - Ersatzblatt/Ersatzblätter'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Carta que acompaña a la(s) hoja(s) de reemplazo'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>
	<xsl:variable name="docname_isar9undef">
		<xsl:choose>
			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Undefined correction'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">
				<xsl:value-of select="'Correction non définie'"/>
			</xsl:when>
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="'Sonstige Berichtigung'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Otro tipo de rectificación'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>

	<!-- pnlDocISAsqlFreeText -->
	<xsl:variable name="docname_isasqltxt">
		<xsl:choose>
			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Amended description with sequence listing free text added'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">
				<xsl:value-of select="'Description modifiée accompagnée du texte libre du listage des séquences'"/>
			</xsl:when>
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="'Geänderte Beschreibung: Freier Text im Sequenzprotokollteil hinzugefügt'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Descripción modificada con texto libre de la lista de secuencias'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>
	<xsl:variable name="docname_isar5let">
		<xsl:choose>
			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Letter accompanying the replacement sheet(s)'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">
				<xsl:value-of select="'Lettre accompagnant la ou les feuilles de remplacement'"/>
			</xsl:when>
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="'Begleitschreiben - Ersatzblatt/Ersatzblätter'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Carta que acompaña a la(s) hoja(s) de reemplazo'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>

	<!--
	*****************
	SISA documents
	*****************
	-->
	<!-- pnlDocSISAEarlierSearch -->
	<xsl:variable name="docname_sisaresr">
		<xsl:choose>
			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Results of earlier search'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">
				<xsl:value-of select="'Résultats de la recherche antérieure'"/>
			</xsl:when>
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="'Ergebnisse einer früheren Recherche'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Resultados de una búsqueda anterior'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>
	<xsl:variable name="docname_sisatesr">
		<xsl:choose>
			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Translation of result of earlier search'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">
				<xsl:value-of select="'Traduction du résultat de la recherche antérieure'"/>
			</xsl:when>
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="'Übersetzung der Ergebnisse einer früheren Recherche'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Traducción del resultado de una búsqueda anterior'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>
	<xsl:variable name="docname_sisacdes">
		<xsl:choose>

			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Cited documents in earlier search'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">
				<xsl:value-of select="'Documents cités dans la recherche antérieure'"/>
			</xsl:when>
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="'Anführungen in einer früheren Recherche'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Documentos citados en una búsqueda anterior'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>
	<xsl:variable name="docname_sisaeaps">
		<xsl:choose>
			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Application for which earlier search was performed'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">Demande ayant fait l'objet de la recherche antérieure</xsl:when>
			<!--<xsl:value-of select="$varFRString16"/>-->
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="'Anmeldung, für die eine frühere Recherche durchgeführt wurde'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Solicitud para la cual se realizó una búsqueda anterior'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>
	<xsl:variable name="docname_sisateas">
		<xsl:choose>
			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Translation of application for which earlier search was performed'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">Traduction de la demande ayant fait l'objet de la recherche antérieure</xsl:when>
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="'Übersetzung der Anmeldung, für die eine frühere Recherche durchgeführt wurde'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Traducción de la solicitud para la cual se realizó una búsqueda anterior'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>

	<!-- pnlDocSISAWithdrawal -->
	<xsl:variable name="docname_sisawdss">
		<xsl:choose>
			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Withdrawal of request for supplementary search'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">
				<xsl:value-of select="'Retrait de la requête en recherche complémentaire'"/>
			</xsl:when>
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="'Zurücknahme des Antrags auf ergänzende Recherche'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Retirada de la solicitud de búsqueda complementaria'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>

	<!-- pnlDocSISAPayment -->
	<xsl:variable name="docname_sisapaym">
		<xsl:choose>
			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Letter regarding payment of fees'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">
				<xsl:value-of select="'Lettre relative au paiement de taxes'"/>
			</xsl:when>
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="'Schreiben zur Gebührenzahlung'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Carta relativa al pago de tasas'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>

	<!-- pnlDocSISAAssignment -->
	<xsl:variable name="docname_sisaasgn">
		<xsl:choose>
			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Assignment'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">

				<xsl:value-of select="'Acte de cession'"/>
			</xsl:when>
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="'Übertragung'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Cesión de derechos'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>

	<!-- pnlDocSISAPowerOfAttorney -->
	<xsl:variable name="docname_sisapoat">
		<xsl:choose>
			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Power of attorney'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">
				<xsl:value-of select="'Pouvoir'"/>
			</xsl:when>
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="'Vollmacht'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Poder de representación'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>

	<!-- pnlDocSISARespite -->
	<xsl:variable name="docname_sisaresp">
		<xsl:choose>
			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Request for extension of time limit'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">
				<xsl:value-of select="'Requête en prorogation de délai'"/>
			</xsl:when>
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="'Antrag auf Fristverlängerung'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Solicitud de prórroga de plazo'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>

	<!-- pnlDocSISALateFurnishedSQL -->
	<xsl:variable name="docname_sisalfsql">
		<xsl:choose>
			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Late furnished nucleotide and/or amino acid sequence'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">Séquence de nucléotides ou d'acides aminés déposée tardivement</xsl:when>
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="'Nachgereichtes Protokoll einer Nucleotid- und/oder Aminosäuresequenz'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Lista de secuencias presentados con posterioridad'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>

	<!-- pnlDocSISALackOfUnity -->
	<xsl:variable name="docname_sisaluir">
		<xsl:choose>
			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Reply to opinion regarding lack of unity of invention'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">Réponse à l'invitation à payer des taxes additionnelles en raison de l'absence d'unité de l'invention</xsl:when>
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="'Erwiderung auf die Aufforderung zur Zahlung zusätzlicher Gebühren wegen mangelnder Einheitlichkeit der Erfindung'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Respuesta a la opinión relativa a la falta de unidad de invención'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>
	<xsl:variable name="docname_sisapluir">
		<xsl:choose>
			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Request to review the opinion regarding the lack of unity of the invention'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">Requête en réexamen de l'opinion relative à l'absence d'unité de l'invention</xsl:when>
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="'Antrag auf Überprüfung der Feststellung der mangelnden Einheitlichkeit der Erfindung'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Solicitud de revisión de la opinión relativa a la falta de unidad de invención'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>

	<!-- pnlDocXXXXRetrievalDAS (RO/IPEA/ISA/SISA)-->
	<xsl:variable name="docname_1013P">
		<xsl:choose>
			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Request for retrieval of priority document from DAS'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">Requête visant à ce que l'OEB se procure le document de priorité au moyen de DAS</xsl:when>
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="'Antrag auf Abruf eines Prioritätsbelegs über DAS'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Solicitud de recuperación de documento de prioridad del DAS'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>

	<!-- ALL PANELS PDF BACKUP COPY -->
	<xsl:variable name="docname_pdfbackup">
		<xsl:choose>
			<xsl:when test="$language = 'en'">
				<xsl:value-of select="'Backup copy (PDF)'"/>
			</xsl:when>
			<xsl:when test="$language = 'fr'">
				<xsl:value-of select="'Copie de sauvegarde (PDF)'"/>
			</xsl:when>
			<xsl:when test="$language = 'de'">
				<xsl:value-of select="'Sicherungskopie (PDF)'"/>
			</xsl:when>
			<xsl:when test="$language = 'es'">
				<xsl:value-of select="'Copia de seguridad (PDF)'"/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>



	<xsl:template name="PDF_fee_formula">
		<xsl:param name="fee_code"/>
		<xsl:variable name="fee-reduction-factor">
			<xsl:choose>
				<xsl:when test="($fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index =$fee_code][fee-reduction-factor!='0'] and $fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index =$fee_code][fee-reduction-factor!='-1'])">
					<xsl:value-of select="format-number(1-$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index =$fee_code]/fee-reduction-factor, '### ##0.00', 'en')"/>
				</xsl:when>
				<xsl:otherwise>
					<xsl:value-of select='"1"'/>
				</xsl:otherwise>
			</xsl:choose>
		</xsl:variable>
		<xsl:choose>
			<xsl:when test="$fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index =$fee_code][fee-factor!='1'] or ($fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index =$fee_code][fee-reduction-factor!='0'] and $fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index =$fee_code][fee-reduction-factor!='-1'])">
				<xsl:value-of select="concat('(', format-number($fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index =$fee_code]/fee-sub-amount, '### ##0.00', 'en'), ' x ',  $fee-sheet/fee-sheet/ep-financial-data/fees/standard-fee/fee[@index =$fee_code]/fee-factor/@user-input, ' x ',  $fee-reduction-factor, ')')"/>
			</xsl:when>
			<xsl:otherwise>
				<xsl:value-of select='""'/>
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template>
</xsl:stylesheet>
