<?xml version="1.0"?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:s="http://www.stylusstudio.com/xquery" xmlns:egonp="http://schemas.gov.sk/form/00328758.A0000410.000000268.VYST_410134_VyzvaNaZaplatenieNedoplatku_RozpisNedoplatku/2.1"><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 match="egonp:eForm_eGov_vystup_410134"><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:Poplatok" /><xsl:apply-templates select="./egonp:VypocetPoplatok" /><xsl:apply-templates select="./egonp:PaymentData" /><xsl:apply-templates select="./egonp:Upozornenie" /><xsl:apply-templates select="./egonp:Poucenie" /><xsl:apply-templates select="./egonp:Podpis" /><xsl:apply-templates select="./egonp:DorucujeSa" /><xsl:apply-templates select="./egonp:SekciaZakonEGovInfo" /></xsl:template><xsl:template match="egonp:eForm_eGov_vystup_410134/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, 'abcdefghijklmnopqrstuvwxyzàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ', 'ABCDEFGHIJKLMNOPQRSTUVWXYZÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞŸŽŠŒ')" /><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></xsl:template><xsl:template match="egonp:eForm_eGov_vystup_410134/egonp:RozhodnutieHlavicka"><fo:table margin-top="10px"><fo:table-column column-width="20%" /><fo:table-column column-width="50%" /><fo:table-column column-width="8%" /><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="2mm"><xsl:call-template name="getFirst"><xsl:with-param name="text" select="./egonp:RozhodnutieHlavicka_VMeste_iss" /><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" /><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_text6" /></fo:block></fo:table-cell><fo:table-cell><fo:block font-weight="bold" text-indent="2mm"><xsl:call-template name="getFirst"><xsl:with-param name="text" select="./egonp:RozhodnutieHlavicka_Datum_iss_gatl18" /><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_gatl18" /><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 telefónu:
                        </fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:value-of select="./egonp:RozhodnutieHlavicka_Telefon_iss_text7" /></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 konania:
                        </fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:value-of select="./egonp:RozhodnutieHlavicka_CisloKonania_iss_tl_c_kon_pi" /></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_410134/egonp:Adresat"><fo:table><fo:table-column column-width="20%" /><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_Danovnik_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_Danovnik_iss_icorc" /></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:value-of select="./egonp:Adresat_Adresa_iss_adr" /></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></xsl:template><xsl:template match="egonp:eForm_eGov_vystup_410134/egonp:Rozhodnutie"><fo:block font-size="16pt" text-align="center" font-weight="bold" margin-top="10px"><xsl:value-of select="./egonp:Rozhodnutie_Text" /></fo:block></xsl:template><xsl:template match="egonp:eForm_eGov_vystup_410134/egonp:Poplatok"><fo:block margin-top="10px" text-indent="1cm"><xsl:value-of select="./egonp:Poplatok_Text01_iss_tl_hl_txt_r1" /></fo:block><fo:block margin-top="10px" text-indent="1cm"><xsl:value-of select="./egonp:Poplatok_Text02_iss_tl_hl_txt_r2" /></fo:block></xsl:template><xsl:template match="egonp:eForm_eGov_vystup_410134/egonp:VypocetPoplatok"><fo:table text-align="left" border-collapse="collapse"><fo:table-column column-width="30%" /><fo:table-column column-width="5%" /><fo:table-column column-width="15%" /><fo:table-column column-width="18%" /><fo:table-column column-width="18%" /><fo:table-column column-width="14%" /><fo:table-body><fo:table-row font-weight="bold" border-bottom="solid 1px black"><fo:table-cell padding="2pt"><fo:block><xsl:value-of select="./egonp:VypocetPoplatok_Typ" /></fo:block></fo:table-cell><fo:table-cell padding="2pt"><fo:block><xsl:value-of select="./egonp:VypocetPoplatok_Rok" /></fo:block></fo:table-cell><fo:table-cell padding="2pt"><fo:block><xsl:value-of select="./egonp:VypocetPoplatok_DatumPohybu" /></fo:block></fo:table-cell><fo:table-cell padding="2pt"><fo:block><xsl:value-of select="./egonp:VypocetPoplatok_VS" /></fo:block></fo:table-cell><fo:table-cell padding="2pt"><fo:block><xsl:value-of select="./egonp:VypocetPoplatok_SS" /></fo:block></fo:table-cell><fo:table-cell padding="2pt"><fo:block><xsl:value-of select="./egonp:VypocetPoplatok_Suma" /></fo:block></fo:table-cell></fo:table-row><xsl:for-each select="./egonp:VypocetPoplatok_Hodnoty"><fo:table-row><fo:table-cell padding="2pt"><fo:block><xsl:value-of select="./egonp:VypocetPoplatok_Hodnoty_TypHodnota_iss_n_poh_typ_memo" /></fo:block></fo:table-cell><fo:table-cell padding="2pt"><fo:block><xsl:value-of select="./egonp:VypocetPoplatok_Hodnoty_RokHodnota_iss_rok_vytv_memo" /></fo:block></fo:table-cell><fo:table-cell padding="2pt" text-align="center"><fo:block><xsl:value-of select="./egonp:VypocetPoplatok_Hodnoty_DatumPohybuHodnota_iss_d_poh_memo" /></fo:block></fo:table-cell><fo:table-cell padding="2pt"><fo:block><xsl:value-of select="./egonp:VypocetPoplatok_Hodnoty_VS_memo" /></fo:block></fo:table-cell><fo:table-cell padding="2pt"><fo:block><xsl:value-of select="./egonp:VypocetPoplatok_Hodnoty_SS_memo" /></fo:block></fo:table-cell><fo:table-cell padding="2pt"><fo:block text-align="right"><xsl:value-of select="./egonp:VypocetPoplatok_Hodnoty_SumaHodnota_iss_tl_sk_memo" /></fo:block></fo:table-cell></fo:table-row></xsl:for-each><fo:table-row border-top="solid 1px black"><fo:table-cell padding="2pt"><fo:block font-weight="bold"><xsl:value-of select="./egonp:VypocetPoplatok_CelkovyNedoplatok" /></fo:block></fo:table-cell><fo:table-cell><fo:block /></fo:table-cell><fo:table-cell><fo:block /></fo:table-cell><fo:table-cell><fo:block /></fo:table-cell><fo:table-cell><fo:block /></fo:table-cell><fo:table-cell padding="2pt" text-align="right"><fo:block><xsl:value-of select="./egonp:VypocetPoplatok_CelkovyNedoplatokHodnota_iss_sk_spolu" /></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table><fo:block margin-top="10px" text-indent="1cm"><xsl:value-of select="./egonp:VypocetPoplatok_Ucet_iss_tl_hl_txt_r3_120_tl_c_ev_tl_hl_r4" /></fo:block></xsl:template><xsl:template match="egonp:eForm_eGov_vystup_410134/egonp:Upozornenie"><fo:block margin-top="10px" text-indent="1cm"><xsl:value-of select="./egonp:Upozornenie_Text_iss_tl_hl_txt_r5" /></fo:block></xsl:template><xsl:template match="egonp:eForm_eGov_vystup_410134/egonp:Poucenie"><fo:block font-weight="bold">
            Poučenie:
        </fo:block><fo:block margin-top="10px" text-indent="1cm"><xsl:value-of select="./egonp:Poucenie_Text01_iss_tl_hl_txt_r6" /></fo:block><fo:block margin-top="10px" text-indent="1cm"><xsl:value-of select="./egonp:Poucenie_Text02_iss_dopl_txt" /></fo:block></xsl:template><xsl:template match="egonp:eForm_eGov_vystup_410134/egonp:DorucujeSa"><fo:block margin-top="6pt" margin-bottom="10px"><fo:table><fo:table-column column-width="13%" /><fo:table-column /><fo:table-body><fo:table-row><fo:table-cell><fo:block>
                                Doručuje sa:
                            </fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:value-of select="./egonp:DorucujeSa_Meno" /></fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell><fo:block /></fo:table-cell><fo:table-cell><fo:block linefeed-treatment="preserve"><xsl:value-of select="./egonp:DorucujeSa_Adresa" /></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></fo:block></xsl:template><xsl:template match="egonp:eForm_eGov_vystup_410134/egonp:Podpis"><fo:block border-width="0.3pt" margin-left="1pt" margin-top="6pt" margin-right="1pt"><fo:block margin-bottom="6pt" text-align="center"><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 margin-top="3mm" margin-right="3mm"><xsl:value-of select="./egonp:Podpis_Meno_iss_gatl3" /></fo:block><fo:block margin-right="3mm"><xsl:value-of select="./egonp:Podpis_ZaMsU_iss_gatl5" /></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_410134/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"><xsl:if test="./egonp:Payment_suma/text()">
                                Suma:
                            </xsl:if></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"><xsl:if test="./egonp:Payment_mena/text()">
                                Mena:
                            </xsl:if></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"><xsl:if test="./egonp:Payment_ucet/text()">
                                Číslo účtu:
                            </xsl:if></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"><xsl:if test="./egonp:Payment_swift/text()">
                                SWIFT-BIC:
                            </xsl:if></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"><xsl:if test="./egonp:Payment_VS/text()">
                                Variabilný symbol:
                            </xsl:if></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"><xsl:if test="./egonp:Payment_SS/text()">
                                Špecifický symbol:
                            </xsl:if></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"><xsl:if test="./egonp:Payment_KS/text()">
                                Konštatný symbol:
                            </xsl:if></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_410134/egonp:SekciaZakonEGovInfo"><fo:block margin-top="10px" font-style="italic"><xsl:value-of select="./egonp:Info_text" /></fo:block></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_410134/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_410134/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_410134/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_410134/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="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>