<?xml version="1.0" encoding="utf-8"?><xsl:stylesheet xml:lang="en" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:d="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:exsl="http://exslt.org/common" xmlns:egonp="http://schemas.gov.sk/form/00316792.A0000410.000000271.VYST_kopia_410633_410160_RozhodnutieOVyrubeniUrokuZOmeskania/2.5" exclude-result-prefixes="d" version="1.0"><xsl:template match="/"><fo:root><fo:layout-master-set><fo:simple-page-master master-name="A4" page-height="842px" page-width="595px" margin-top="20px" margin-bottom="10px" margin-left="15mm" margin-right="10mm"><fo:region-body margin-bottom="20mm" /><fo:region-after region-name="footer" extent="10mm" /></fo:simple-page-master><fo:simple-page-master master-name="A4last" page-height="842px" page-width="595px" margin-top="20px" margin-bottom="10px" margin-left="15mm" margin-right="10mm"><fo:region-body margin-bottom="20mm" /><fo:region-after region-name="footer2" extent="20mm" /></fo:simple-page-master><fo:page-sequence-master master-name="document"><fo:repeatable-page-master-alternatives><fo:conditional-page-master-reference page-position="only" master-reference="A4last" /><fo:conditional-page-master-reference page-position="first" master-reference="A4" /><fo:conditional-page-master-reference page-position="rest" master-reference="A4" /><fo:conditional-page-master-reference page-position="last" master-reference="A4last" /></fo:repeatable-page-master-alternatives></fo:page-sequence-master></fo:layout-master-set><fo:page-sequence master-reference="document" font-family="Times New Roman" font-size="10px" text-align="justify"><fo:static-content flow-name="footer"><fo:block text-align="end"><fo:page-number />
                        /
                        <fo:page-number-citation ref-id="TheVeryLastPage" /></fo:block></fo:static-content><fo:static-content flow-name="footer2"><xsl:call-template name="FooterTemplate" /><fo:block text-align="end"><fo:page-number />
                        /
                        <fo:page-number-citation ref-id="TheVeryLastPage" /></fo:block></fo:static-content><fo:flow flow-name="xsl-region-body"><xsl:apply-templates /><fo:block id="TheVeryLastPage" /></fo:flow></fo:page-sequence></fo:root></xsl:template><xsl:template name="FooterTemplate"><fo:block border-top="solid black 1pt"><fo:table margin-top="2px"><fo:table-body><fo:table-row keep-together.within-page="always"><fo:table-cell><fo:block text-align="center" font-size="8px">Telefón</fo:block></fo:table-cell><fo:table-cell><fo:block text-align="center" font-size="8px">Email</fo:block></fo:table-cell><fo:table-cell><fo:block text-align="center" font-size="8px">Web</fo:block></fo:table-cell><fo:table-cell><fo:block text-align="center" font-size="8px">IČO</fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell><fo:block margin-top="1mm" linefeed-treatment="preserve" text-align="center" font-size="6px"><xsl:value-of select="/egonp:eForm_eGov_vystup_410160/egonp:Obec/egonp:Obec_Telefon__TelephoneAddress" /></fo:block></fo:table-cell><fo:table-cell><fo:block margin-top="1mm" linefeed-treatment="preserve" text-align="center" font-size="6px"><xsl:value-of select="/egonp:eForm_eGov_vystup_410160/egonp:Obec/egonp:Obec_Email" /></fo:block></fo:table-cell><fo:table-cell><fo:block margin-top="1mm" linefeed-treatment="preserve" text-align="center" font-size="6px"><xsl:value-of select="/egonp:eForm_eGov_vystup_410160/egonp:Obec/egonp:Obec_WEB" /></fo:block></fo:table-cell><fo:table-cell><fo:block margin-top="1mm" linefeed-treatment="preserve" text-align="center" font-size="6px"><xsl:value-of select="/egonp:eForm_eGov_vystup_410160/egonp:Obec/egonp:Obec_ICO" /></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></fo:block></xsl:template><xsl:template name="string-replace-all"><xsl:param name="text" /><xsl:param name="replace" /><xsl:param name="by" /><xsl:choose><xsl:when test="contains($text, $replace)"><xsl:value-of select="substring-before($text,$replace)" /><xsl:value-of select="$by" /><xsl:call-template name="string-replace-all"><xsl:with-param name="text" select="substring-after($text,$replace)" /><xsl:with-param name="replace" select="$replace" /><xsl:with-param name="by" select="$by" /></xsl:call-template></xsl:when><xsl:otherwise><xsl:value-of select="$text" /></xsl:otherwise></xsl:choose></xsl:template><xsl:template name="formatTimeTrimSeconds"><xsl:param name="time" /><xsl:variable name="timeString" select="string($time)" /><xsl:if test="$timeString != ''"><xsl:value-of select="substring($timeString, 1, 5)" /></xsl:if></xsl:template><xsl:template name="formatTime"><xsl:param name="time" /><xsl:variable name="timeString" select="string($time)" /><xsl:if test="$timeString != ''"><xsl:value-of select="substring($timeString, 1, 8)" /></xsl:if></xsl:template><xsl:template name="formatToSkDate"><xsl:param name="date" /><xsl:variable name="dateString" select="string($date)" /><xsl:choose><xsl:when test="$dateString != '' and string-length($dateString)=10 and string(number(substring($dateString, 1, 4))) != 'NaN' "><xsl:value-of select="concat(substring($dateString, 9, 2), '.', substring($dateString, 6, 2), '.', substring($dateString, 1, 4))" /></xsl:when><xsl:otherwise><xsl:value-of select="$dateString"></xsl:value-of></xsl:otherwise></xsl:choose></xsl:template><xsl:template name="formatToSkDateTime"><xsl:param name="dateTime" /><xsl:variable name="dateTimeString" select="string($dateTime)" /><xsl:choose><xsl:when test="$dateTimeString!= '' and string-length($dateTimeString)>18 and string(number(substring($dateTimeString, 1, 4))) != 'NaN' "><xsl:value-of select="concat(substring($dateTimeString, 9, 2), '.', substring($dateTimeString, 6, 2), '.', substring($dateTimeString, 1, 4),' ', substring($dateTimeString, 12, 2),':', substring($dateTimeString, 15, 2))" /></xsl:when><xsl:otherwise><xsl:value-of select="$dateTimeString"></xsl:value-of></xsl:otherwise></xsl:choose></xsl:template><xsl:template name="formatToSkDateTimeSecond"><xsl:param name="dateTime" /><xsl:variable name="dateTimeString" select="string($dateTime)" /><xsl:choose><xsl:when test="$dateTimeString!= '' and string-length($dateTimeString)>18 and string(number(substring($dateTimeString, 1, 4))) != 'NaN' "><xsl:value-of select="concat(substring($dateTimeString, 9, 2), '.', substring($dateTimeString, 6, 2), '.', substring($dateTimeString, 1, 4),' ', substring($dateTimeString, 12, 2),':', substring($dateTimeString, 15, 2),':', substring($dateTimeString, 18, 2))" /></xsl:when><xsl:otherwise><xsl:value-of select="$dateTimeString"></xsl:value-of></xsl:otherwise></xsl:choose></xsl:template><xsl:template match="egonp:eForm_eGov_vystup_410160"><fo:table><fo:table-column /><fo:table-body><fo:table-row><fo:table-cell><xsl:apply-templates select="./egonp:Obec" /><xsl:apply-templates select="./egonp:RozhodnutieHlavicka" /><xsl:apply-templates select="./egonp:Adresat" /><xsl:apply-templates select="./egonp:Rozhodnutie" /><xsl:apply-templates select="./egonp:RozhodnutieUdaje" /><xsl:apply-templates select="./egonp:VypocetUrokZOmeskania" /><xsl:apply-templates select="./egonp:PaymentData" /><xsl:apply-templates select="./egonp:Odovodnenie" /><xsl:apply-templates select="./egonp:Poucenie" /><xsl:apply-templates select="./egonp:Podpis" /><xsl:apply-templates select="./egonp:DorucujeSa" /><xsl:apply-templates select="./egonp:Zakon_info" /></fo:table-cell></fo:table-row></fo:table-body></fo:table></xsl:template><xsl:template match="egonp:eForm_eGov_vystup_410160/egonp:Obec"><fo:block border-bottom-style="solid" text-align="center"><fo:block font-weight="bold" font-size="15pt"><xsl:if test="./egonp:Obec_MsU"><xsl:variable name="resultMesto"><xsl:call-template name="getFirst"><xsl:with-param name="text" select="./egonp:Obec_MsU" /><xsl:with-param name="separator" select="':'" /></xsl:call-template></xsl:variable><xsl:variable name="upper" select="translate($resultMesto, 'abcdefghijklmnopqrstuvwxyzaáâaäaaçeéeëiíîi?noóôoöouúuüý?yžšo', 'ABCDEFGHIJKLMNOPQRSTUVWXYZAÁÂAÄAAÇEÉEËIÍÎI?NOÓÔOÖOUÚUÜÝ?YŽŠO')" /><xsl:value-of select="$upper" /></xsl:if></fo:block><fo:block><xsl:call-template name="getLast"><xsl:with-param name="text" select="./egonp:Obec_MsU" /><xsl:with-param name="separator" select="':'" /></xsl:call-template></fo:block></fo:block><fo:block font-size="17pt" font-weight="bold" text-align="center" margin-left="1pt" margin-top="1pt" margin-right="1pt" margin-bottom="10pt"><xsl:value-of select="./egonp:Zahlavie_Text_iss_gatl1" /></fo:block></xsl:template><xsl:template match="egonp:eForm_eGov_vystup_410160/egonp:RozhodnutieHlavicka"><fo:table margin-top="10px"><fo:table-column column-width="19%" /><fo:table-column column-width="54%" /><fo:table-column column-width="9%" /><fo:table-column /><fo:table-body><fo:table-row><fo:table-cell><fo:block font-weight="bold">Správca dane:</fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:value-of select="./egonp:RozhodnutieHlavicka_SpravcaDane_iss" /></fo:block></fo:table-cell><fo:table-cell><fo:block font-weight="bold" text-indent="6mm"><xsl:call-template name="getFirst"><xsl:with-param name="text" select="./egonp:RozhodnutieHlavicka_VMeste_iss_ce_rok" /><xsl:with-param name="separator" select="' '" /></xsl:call-template></fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:call-template name="getLast"><xsl:with-param name="text" select="./egonp:RozhodnutieHlavicka_VMeste_iss_ce_rok" /><xsl:with-param name="separator" select="' '" /></xsl:call-template></fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell><fo:block font-weight="bold">Číslo konania:</fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:value-of select="./egonp:RozhodnutieHlavicka_EvidencneCislo_iss_tl_c_kon_pi" /></fo:block></fo:table-cell><fo:table-cell><fo:block font-weight="bold" text-indent="6mm"><xsl:call-template name="getFirst"><xsl:with-param name="text" select="./egonp:RozhodnutieHlavicka_Datum_iss_gatl8" /><xsl:with-param name="separator" select="' '" /></xsl:call-template></fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:call-template name="getLast"><xsl:with-param name="text" select="./egonp:RozhodnutieHlavicka_Datum_iss_gatl8" /><xsl:with-param name="separator" select="' '" /></xsl:call-template></fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell><fo:block font-weight="bold">Vybavuje:</fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:value-of select="./egonp:RozhodnutieHlavicka_Vybavuje_iss_gatl17" /></fo:block></fo:table-cell><fo:table-cell><fo:block /></fo:table-cell><fo:table-cell><fo:block /></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell><fo:block font-weight="bold">Číslo telefónu:</fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:value-of select="./egonp:RozhodnutieHlavicka_Telefon_iss_gatl11" /></fo:block></fo:table-cell><fo:table-cell><fo:block /></fo:table-cell><fo:table-cell><fo:block /></fo:table-cell></fo:table-row></fo:table-body></fo:table></xsl:template><xsl:template match="egonp:eForm_eGov_vystup_410160/egonp:Adresat"><fo:block margin-top="10px"><fo:table><fo:table-column column-width="19%" /><fo:table-column /><fo:table-body><fo:table-row><fo:table-cell><fo:block font-weight="bold"><xsl:value-of select="./egonp:Adresat_Riadok1" /></fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:value-of select="./egonp:Adresat_Osoba_iss_mpf" /></fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell><fo:block font-weight="bold"><xsl:value-of select="./egonp:Adresat_Riadok2" /></fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:value-of select="./egonp:Adresat_Adresa02_iss_ico_rc" /></fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell><fo:block font-weight="bold"><xsl:value-of select="./egonp:Adresat_Riadok3" /></fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:if test="./egonp:Adresat_Adresa01_iss_adr/text()"><xsl:call-template name="string-replace-all"><xsl:with-param name="text" select="./egonp:Adresat_Adresa01_iss_adr" /><xsl:with-param name="replace" select="'&#10;'" /><xsl:with-param name="by" select="', '" /></xsl:call-template></xsl:if></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></fo:block></xsl:template><xsl:template match="egonp:eForm_eGov_vystup_410160/egonp:Rozhodnutie"><fo:block border-width="0.3pt" margin-left="1pt" margin-top="6pt" margin-right="1pt"><fo:block margin-bottom="6pt"><fo:table><fo:table-column /><fo:table-body><fo:table-row><fo:table-cell><fo:block margin-top="3mm"><fo:table><fo:table-column /><fo:table-body><fo:table-row><fo:table-cell border-width="0.6pt" background-color="white" padding="1pt"><fo:block text-align="center" font-weight="bold" font-size="16pt"><xsl:value-of select="./egonp:Rozhodnutie_Text01_iss_rok" /><fo:inline color="white">___</fo:inline></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></fo:block><fo:block><fo:table><fo:table-column /><fo:table-body><fo:table-row><fo:table-cell border-width="0.6pt" background-color="white" padding="1pt"><fo:block text-align="center" font-weight="bold"><xsl:value-of select="./egonp:Rozhodnutie_Text02_iss_d_od_d_obd_do" /><fo:inline color="white">___</fo:inline></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></fo:block></fo:block></xsl:template><xsl:template match="egonp:eForm_eGov_vystup_410160/egonp:RozhodnutieUdaje"><fo:block border-width="0.3pt" margin-left="1pt" margin-top="6pt" margin-right="1pt" text-align="justify" font-size="10pt"><fo:block margin-bottom="5pt"><fo:table><fo:table-column /><fo:table-body><fo:table-row><fo:table-cell><fo:block margin-top="3mm"><fo:table><fo:table-column /><fo:table-body><fo:table-row><fo:table-cell border-width="0.6pt" padding="1pt"><fo:block hyphenate="true" text-indent="0.0cm"><xsl:value-of select="./egonp:RozhodnutieUdaje_Text01_iss_tl_uvod" /><fo:inline color="white">___</fo:inline></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></fo:block><fo:block><fo:table><fo:table-column /><fo:table-body><fo:table-row><fo:table-cell border-width="0.6pt" background-color="white" padding="1pt"><fo:block text-align="center" font-weight="bold" font-size="12pt"><xsl:call-template name="string-replace-all"><xsl:with-param name="text" select="./egonp:RozhodnutieUdaje_Text02_iss_sk_pen_cel_tl_symb_mena" /><xsl:with-param name="replace" select="'.'" /><xsl:with-param name="by" select="','" /></xsl:call-template></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></fo:block><fo:table><fo:table-column /><fo:table-body><fo:table-row><fo:table-cell border-width="0.6pt" padding="1pt"><fo:block hyphenate="true" text-indent="0.0cm" margin-top="5px"><xsl:value-of select="./egonp:RozhodnutieUdaje_Text04_iss_galt34_gatl20_gatl21_gatl22_tl_vs_tl_ssy" /></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></fo:table-cell></fo:table-row></fo:table-body></fo:table></fo:block></fo:block></xsl:template><xsl:template match="egonp:eForm_eGov_vystup_410160/egonp:VypocetUrokZOmeskania"><fo:block border-width="0.3pt" margin-left="1pt" margin-top="6pt" margin-right="1pt"><fo:block font-size="10pt"><fo:block margin-left="3pt" margin-top="3pt" margin-right="3pt" padding-left="1pt" padding-top="2pt" font-weight="bold">Výpočet úroku z omeškania
                </fo:block><fo:table border-style="solid" text-align="center" font-weight="bold"><fo:table-column column-width="120pt" /><fo:table-column /><fo:table-column /><fo:table-column /><fo:table-column /><fo:table-column /><fo:table-column /><fo:table-body><fo:table-row><fo:table-cell border-style="solid"><fo:block margin-top="5px" margin-bottom="5x">
                                    Zdaňovacie obdobie, ktorého sa sankcionovaný nedoplatok týka
                                </fo:block></fo:table-cell><fo:table-cell border-style="solid"><fo:block margin-top="5px" margin-bottom="5x">
                                    Nedoplatok [€]
                                </fo:block></fo:table-cell><fo:table-cell border-style="solid"><fo:block margin-top="5px" margin-bottom="5x">
                                    Zaplatená suma [€]
                                </fo:block></fo:table-cell><fo:table-cell border-style="solid"><fo:block margin-top="5px" margin-bottom="5x">
                                    Deň splatnosti
                                </fo:block></fo:table-cell><fo:table-cell border-style="solid"><fo:block margin-top="5px" margin-bottom="5x">
                                    Deň úhrady
                                </fo:block></fo:table-cell><fo:table-cell border-style="solid"><fo:block margin-top="5px" margin-bottom="5x">
                                    Počet dní omeškania
                                </fo:block></fo:table-cell><fo:table-cell border-style="solid"><fo:block margin-top="5px" margin-bottom="5x">
                                    Úrok z omeškania [€]
                                </fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table><fo:table><fo:table-column column-width="120pt" /><fo:table-column /><fo:table-column /><fo:table-column /><fo:table-column /><fo:table-column /><fo:table-column /><fo:table-body><fo:table-row><fo:table-cell border-style="solid"><xsl:for-each select="./egonp:VypocetUrokZOmeskania_Hodnoty"><fo:block padding="3px" text-align="center"><xsl:value-of select="egonp:VypocetUrokZOmeskania_Hodnoty_ZdanovacieObdobieHodnota_iss_tl_d_od_tl_d_do" /></fo:block></xsl:for-each></fo:table-cell><fo:table-cell border-style="solid"><xsl:for-each select="./egonp:VypocetUrokZOmeskania_Hodnoty"><fo:block padding="3px" text-align="center"><xsl:call-template name="string-replace-all"><xsl:with-param name="text" select="egonp:VypocetUrokZOmeskania_Hodnoty_NedoplatokHodnota_iss_sk_saldo" /><xsl:with-param name="replace" select="'.'" /><xsl:with-param name="by" select="','" /></xsl:call-template></fo:block></xsl:for-each></fo:table-cell><fo:table-cell border-style="solid"><xsl:for-each select="./egonp:VypocetUrokZOmeskania_Hodnoty"><fo:block padding="3px" margin-left="5px"><xsl:call-template name="string-replace-all"><xsl:with-param name="text" select="egonp:VypocetUrokZOmeskania_Hodnoty_ZaplatenaSumaHodnota_iss_sk_uhr" /><xsl:with-param name="replace" select="'.'" /><xsl:with-param name="by" select="','" /></xsl:call-template></fo:block></xsl:for-each></fo:table-cell><fo:table-cell border-style="solid"><xsl:for-each select="./egonp:VypocetUrokZOmeskania_Hodnoty"><fo:block padding="3px" text-align="center"><xsl:value-of select="egonp:VypocetUrokZOmeskania_Hodnoty_DenSplatnosti_iss_d_spl" /></fo:block></xsl:for-each></fo:table-cell><fo:table-cell border-style="solid"><xsl:for-each select="./egonp:VypocetUrokZOmeskania_Hodnoty"><fo:block padding="3px"><xsl:value-of select="egonp:VypocetUrokZOmeskania_Hodnoty_DenUhrady_iss_d_uhr" /></fo:block></xsl:for-each></fo:table-cell><fo:table-cell border-style="solid"><xsl:for-each select="./egonp:VypocetUrokZOmeskania_Hodnoty"><fo:block padding="3px" text-align="right" margin-right="2px"><xsl:value-of select="egonp:VypocetUrokZOmeskania_Hodnoty_PocetDniOmeskania_iss_p_omes" /></fo:block></xsl:for-each></fo:table-cell><fo:table-cell border-style="solid"><xsl:for-each select="./egonp:VypocetUrokZOmeskania_Hodnoty"><fo:block padding="3px" text-align="right" margin-right="2px"><xsl:call-template name="string-replace-all"><xsl:with-param name="text" select="egonp:VypocetUrokZOmeskania_Hodnoty_UrokZomeskaniaHodnota_iss_sk_pen" /><xsl:with-param name="replace" select="'.'" /><xsl:with-param name="by" select="','" /></xsl:call-template></fo:block></xsl:for-each></fo:table-cell></fo:table-row></fo:table-body></fo:table><fo:table><fo:table-column column-width="455px" /><fo:table-column column-width="67px" /><fo:table-body><fo:table-row><fo:table-cell border-style="solid" padding-left="2pt" padding-top="2pt"><fo:block font-weight="bold" font-size="12pt"><xsl:value-of select="./egonp:VypocetUrokZOmeskania_CelkomHodnota_iss_sk_celkom" /></fo:block></fo:table-cell><fo:table-cell border-style="solid"><fo:block padding-left="2pt" padding-top="2pt" text-align="right" margin-right="5px"><xsl:call-template name="string-replace-all"><xsl:with-param name="text" select="./egonp:VypocetUrokZOmeskania_CelkomHodnota_iss_sk_pen_cel" /><xsl:with-param name="replace" select="'.'" /><xsl:with-param name="by" select="','" /></xsl:call-template></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></fo:block></fo:block></xsl:template><xsl:template match="egonp:eForm_eGov_vystup_410160/egonp:PaymentData"><fo:table width="100%" margin-top="15px"><fo:table-column column-width="18%" /><fo:table-column column-width="50%" /><fo:table-column /><fo:table-body><fo:table-row><fo:table-cell><fo:block font-weight="bold" font-size="13pt">
                        Platobné údaje
                        </fo:block></fo:table-cell><fo:table-cell><fo:block /></fo:table-cell><fo:table-cell number-rows-spanned="8"><fo:block><xsl:if test="./egonp:Payment_qrcode/text()"><xsl:variable name="apostrophe">'</xsl:variable><xsl:variable name="QRIMG_data" select="./egonp:Payment_qrcode" /><xsl:variable name="QRIMG" select="concat('url(',$apostrophe,'data:image/png;base64,',$QRIMG_data,$apostrophe,')')" /><fo:external-graphic content-height="10%" scaling="uniform" src="{$QRIMG}" /></xsl:if></fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell><fo:block font-weight="bold">
                        Suma:
                        </fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:value-of select="./egonp:Payment_suma" /></fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell><fo:block font-weight="bold">
                        Mena:
                        </fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:value-of select="./egonp:Payment_mena" /></fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell><fo:block font-weight="bold">
                        Číslo účtu:
                        </fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:value-of select="./egonp:Payment_ucet" /></fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell><fo:block font-weight="bold">
                        SWIFT-BIC:
                        </fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:value-of select="./egonp:Payment_swift" /></fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell><fo:block font-weight="bold">
                        Variabilný symbol:
                        </fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:value-of select="./egonp:Payment_VS" /></fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell><fo:block font-weight="bold">
                        Špecifický symbol:
                        </fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:value-of select="./egonp:Payment_SS" /></fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell><fo:block font-weight="bold">
                        Konštatný symbol:
                        </fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:value-of select="./egonp:Payment_KS" /></fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell number-columns-spanned="2"><fo:block /></fo:table-cell><fo:table-cell><fo:block><xsl:value-of select="./egonp:Payment_text" /></fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell number-columns-spanned="3"><fo:block><xsl:if test="./egonp:Payment_barcode/text()"><xsl:variable name="apostrophe">'</xsl:variable><xsl:variable name="barIMG_data" select="./egonp:Payment_barcode" /><xsl:variable name="barIMG" select="concat('url(',$apostrophe,'data:image/png;base64,',$barIMG_data,$apostrophe,')')" /><fo:external-graphic content-height="220%" scaling="uniform" src="{$barIMG}" /></xsl:if></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></xsl:template><xsl:template match="egonp:eForm_eGov_vystup_410160/egonp:Odovodnenie"><fo:block font-weight="bold" margin-top="0.5em" keep-with-next.within-page="always"><xsl:text>Odôvodnenie:</xsl:text></fo:block><fo:block text-align="justify"><xsl:value-of select="./egonp:Odovodnenie_Text01_iss_tl_odovod" /></fo:block></xsl:template><xsl:template match="egonp:eForm_eGov_vystup_410160/egonp:Poucenie"><fo:block font-weight="bold" margin-top="0.5em" keep-with-next.within-page="always"><xsl:text>Poučenie:</xsl:text></fo:block><fo:block text-align="justify" linefeed-treatment="preserve"><xsl:value-of select="./egonp:Poucenie_Text01_iss_gatl9" /></fo:block><fo:block margin-top="5px" text-align="justify" linefeed-treatment="preserve"><xsl:value-of select="./egonp:Poucenie_Text01_iss_tl_poucenie" /></fo:block></xsl:template><xsl:template match="egonp:eForm_eGov_vystup_410160/egonp:Podpis"><xsl:if test="./egonp:Podpis_Meno_iss_gatl9/text()"><fo:block margin-top="30px"><fo:table><fo:table-column column-width="60%" /><fo:table-column /><fo:table-body><fo:table-row><fo:table-cell><fo:block /></fo:table-cell><fo:table-cell><fo:block text-align="center"><xsl:value-of select="./egonp:Podpis_Meno_iss_gatl9" /></fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell><fo:block /></fo:table-cell><fo:table-cell><fo:block text-align="center"><xsl:value-of select="./egonp:Podpis_ZaMsU_iss_gatl10" /></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></fo:block></xsl:if></xsl:template><xsl:template match="egonp:eForm_eGov_vystup_410160/egonp:DorucujeSa"><fo:table width="100%" margin-top="1em"><fo:table-column column-width="15%" /><fo:table-column /><fo:table-body><fo:table-row><fo:table-cell><fo:block font-weight="bold"><xsl:text>Doručuje sa:</xsl:text></fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:value-of select="./egonp:DorucujeSa_Meno_iss_gatl35_i_o_zast_mpf_mpf_zast" /></fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell><fo:block /></fo:table-cell><fo:table-cell><fo:block><xsl:call-template name="string-replace-all"><xsl:with-param name="text" select="./egonp:DorucujeSa_Adresa_iss_gatl35_i_o_zast_adr_adr_zast" /><xsl:with-param name="replace" select="'&#10;'" /><xsl:with-param name="by" select="', '" /></xsl:call-template></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></xsl:template><xsl:template match="egonp:eForm_eGov_vystup_410160/egonp:Zakon_info"><fo:block text-align="justify" margin-top="15px"><xsl:value-of select="./egonp:Zakon_info_text" /></fo:block></xsl:template><xsl:template name="getFirst"><xsl:param name="text" /><xsl:param name="separator" /><xsl:choose><xsl:when test="contains($text, $separator)"><xsl:value-of select="substring-before($text,$separator)" /></xsl:when><xsl:otherwise><xsl:value-of select="$text" /></xsl:otherwise></xsl:choose></xsl:template><xsl:template name="getLast"><xsl:param name="text" /><xsl:param name="separator" /><xsl:choose><xsl:when test="contains($text, $separator)"><xsl:value-of select="substring-after($text,$separator)" /></xsl:when><xsl:otherwise><xsl:value-of select="$text" /></xsl:otherwise></xsl:choose></xsl:template></xsl:stylesheet>