<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:egonp="http://schemas.gov.sk/form/00307203.A0000224.000000293.VyzvaNaDoplatenie_TLZ2059/2.2" exclude-result-prefixes="egonp"><xsl:output method="html" doctype-system="http://www.w3.org/TR/html4/loose.dtd" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" indent="no" omit-xml-declaration="yes" /><xsl:template match="/"><html><head><meta http-equiv="X-UA-Compatible" content="IE=edge" /><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta name="language" content="sk-SK" /><style type="text/css">
                    body {
                    font-family: 'Times New Roman';
                    background : #ffffff !important ;
                    text-align: justify;
                    font-weight: normal;
                    }
                    .layoutMain {
                    margin-left: auto;
                    margin-right: auto;
                    padding: 5px 5px 5px 5px;
                    width: 21.5cm;
                    }
                    table {
                    border-collapse: collapse;
                    }
                    th {
                    font-weight: bold;
                    text-align: left;
                    border-bottom: 1px solid black;
                    }
                    .important {
                    font-weight: bold;
                    }
	                .lessMargin {margin: 4px 0;}
	                .noBorder {border-style: none;padding: 0;}
	                .bold td {font-weight: bold;}
	                .bold {font-weight: bold;}
	                #header {margin-top: 1em;border-bottom: #000000 1px solid;width: 100%;text-align: center;}
                </style><title>Výzva na zaplatenie celkového nedoplatku - rozpis nedoplatku k určitému dátumu</title></head><body id="main" class="layoutMain"><xsl:apply-templates /></body></html></xsl:template><xsl:template match="/egonp:eForm_eGov_vystup_002059"><div><xsl:apply-templates select="./egonp:Obec" /><xsl:apply-templates select="./egonp:SekciaHlavicka" /><xsl:apply-templates select="./egonp:SekciaAdresat" /><xsl:apply-templates select="./egonp:SekciaTexty" /><xsl:apply-templates select="./egonp:SekciaNedoplatok" /><xsl:apply-templates select="./egonp:SekciaTexty2" /><xsl:apply-templates select="./egonp:Podpis" /><xsl:apply-templates select="./egonp:SekciaDorucujeSa" /><xsl:apply-templates select="./egonp:Zakon_info" /><xsl:call-template name="Footer" /></div></xsl:template><xsl:template match="/egonp:eForm_eGov_vystup_002059/egonp:Obec"><div id="header"><p class="lessMargin" style="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></p><p class="lessMargin"><xsl:call-template name="getLast"><xsl:with-param name="text" select="./egonp:Obec_MsU" /><xsl:with-param name="separator" select="':'" /></xsl:call-template></p></div><div style="text-align:center;font-weight:bold;font-size:15pt;margin-top:1em"><xsl:value-of select="./egonp:Rozhodnutie_titulok" /></div></xsl:template><xsl:template match="/egonp:eForm_eGov_vystup_002059/egonp:SekciaHlavicka"><table id="hlavicka" style="width:100%; text-align: left; margin-top:1em" class="noBorder"><tr style="width:100%" class="noBorder"><td style="width:18%" class="noBorder bold">Správca dane:</td><td style="width:54%" class="noBorder"><xsl:value-of select="./egonp:Hlavicka_SpravcaDane" /></td><td style="width:6%" class="noBorder bold"><xsl:call-template name="getFirst"><xsl:with-param name="text" select="./egonp:Hlavicka_VMeste" /><xsl:with-param name="separator" select="' '" /></xsl:call-template></td><td class="noBorder"><xsl:call-template name="getLast"><xsl:with-param name="text" select="./egonp:Hlavicka_VMeste" /><xsl:with-param name="separator" select="' '" /></xsl:call-template></td></tr><tr style="width:100%" class="noBorder"><td class="noBorder bold">Číslo konania:</td><td class="noBorder"><xsl:value-of select="./egonp:Hlavicka_c_kon" /></td><td class="noBorder bold"><xsl:call-template name="getFirst"><xsl:with-param name="text" select="./egonp:Hlavicka_gatl5" /><xsl:with-param name="separator" select="' '" /></xsl:call-template></td><td class="noBorder"><xsl:call-template name="getLast"><xsl:with-param name="text" select="./egonp:Hlavicka_gatl5" /><xsl:with-param name="separator" select="' '" /></xsl:call-template></td></tr><tr style="width:100%" class="noBorder"><td class="noBorder bold">Vybavuje:</td><td class="noBorder"><xsl:value-of select="./egonp:Hlavicka_gatl13" /></td></tr><tr style="width:100%" class="noBorder"><td class="noBorder bold">Číslo telefónu:</td><td class="noBorder"><xsl:value-of select="./egonp:Hlavicka_gatl2" /></td></tr></table></xsl:template><xsl:template match="/egonp:eForm_eGov_vystup_002059/egonp:SekciaAdresat"><table style="width:100%;margin-top:2%" class="noBorder alignleft"><tr class="noBorder"><td style="width:20%" class="noBorder bold"><xsl:value-of select="./egonp:Adresat_Riadok1" /></td><td class="noBorder"><xsl:value-of select="./egonp:Adresat_mpf" /></td></tr><tr class="noBorder"><td class="noBorder bold"><xsl:value-of select="./egonp:Adresat_Riadok2" /></td><td class="noBorder"><xsl:value-of select="./egonp:Adresat_ico_rc_d_nar" /></td></tr><tr class="noBorder"><td class="noBorder bold"><xsl:value-of select="./egonp:Adresat_Riadok3" /></td><td class="noBorder"><xsl:if test="./egonp:Adresat_adresa/text()"><xsl:call-template name="string-replace-all"><xsl:with-param name="text" select="./egonp:Adresat_adresa" /><xsl:with-param name="replace" select="'&#10;'" /><xsl:with-param name="by" select="', '" /></xsl:call-template></xsl:if></td></tr></table></xsl:template><xsl:template match="/egonp:eForm_eGov_vystup_002059/egonp:SekciaTexty"><table style="width:100%; margin-top:1em"><tr><td style="font-size: 22px; font-family:serif;">
                    Vec:
                </td></tr><tr><td class="important" style="font-size: 25px; text-decoration: underline"><xsl:value-of select="./egonp:Texty_text" /></td></tr></table><div style="text-indent:0cm; margin-top: 10px;"><xsl:value-of select="./egonp:Texty_hl_txt_r1" /></div><div class="important" style="margin-top: 10px; text-align: center;"><xsl:value-of select="./egonp:Texty_hl_txt_r2" /></div></xsl:template><xsl:template match="/egonp:eForm_eGov_vystup_002059/egonp:SekciaNedoplatok"><table style="width:100%; margin-top:2em"><tr><th style="width:18%"><xsl:value-of select="./egonp:NedopHodn_n_prj_e_text" /></th><th style="width:25%"><xsl:value-of select="./egonp:NedopHodn_typ_nedop_text" /></th><th style="width:8%"><xsl:value-of select="./egonp:NedopHodn_rok_text" /></th><th style="width:18%"><xsl:value-of select="./egonp:NedopHodn_vs_text" /></th><th style="width:18%"><xsl:value-of select="./egonp:NedopHodn_ss_text" /></th><th style="text-align: right;"><xsl:value-of select="./egonp:NedopHodn_sk_text" /></th></tr><xsl:for-each select="./egonp:SekciaNedopHodn"><tr><td><xsl:value-of select="egonp:NedopHodn_n_prj_e_memo" /></td><td><xsl:value-of select="egonp:NedopHodn_typ_nedop_memo" /></td><td><xsl:value-of select="egonp:NedopHodn_rok_memo" /></td><td><xsl:value-of select="egonp:NedopHodn_vs_memo" /></td><td><xsl:value-of select="egonp:NedopHodn_ss_memo" /></td><td style="text-align: right;"><xsl:value-of select="egonp:NedopHodn_sk_memo" /></td></tr></xsl:for-each><tr style="border-top: 1px solid black;"><td class="important" colspan="5"><xsl:value-of select="./egonp:SekciaNedopSpolu/egonp:NedopSpolu_sum_text" /></td><td style="text-align: right;"><xsl:value-of select="./egonp:SekciaNedopSpolu/egonp:NedopSpolu_sum_sk" /></td></tr></table></xsl:template><xsl:template match="/egonp:eForm_eGov_vystup_002059/egonp:SekciaTexty2"><div style="text-indent:0cm; padding-top: 1em;"><xsl:value-of select="./egonp:Texty2_hl_txt_r3" /></div><div style="text-indent:0cm; padding-top: 1em;"><xsl:value-of select="./egonp:Texty2_hl_txt_r4" /></div><div class="important" style="padding-top: 1em;">Poučenie:</div><div style="text-indent:0cm; padding-bottom: 2em;"><xsl:value-of select="./egonp:Texty2_text" /></div><div style="text-indent:0cm; padding-top: 1em;"><xsl:value-of select="./egonp:Texty2_hl_txt_r5" /></div></xsl:template><xsl:template match="/egonp:eForm_eGov_vystup_002059/egonp:Podpis"><div style="height:80px"><div style="float:right;width:30%;text-align:center"><xsl:value-of select="./egonp:Podpis_Meno" /><br /><xsl:value-of select="./egonp:Podpis_ZaMsU" /></div></div></xsl:template><xsl:template match="/egonp:eForm_eGov_vystup_002059/egonp:SekciaDorucujeSa"><table style="border-style:none"><tr><td style="border-style:none;text-align:left;font-weight:bold">Doručuje sa:</td><td style="padding-left:10px;border-style:none;text-align:left;"><xsl:value-of select="./egonp:DorucujeSa_mpf_mpf_zast" /></td></tr><tr><td style="border-style:none" /><td style="padding-left:10px;border-style:none;text-align:left;"><xsl:if test="./egonp:DorucujeSa_adresa_adr_zast/text()"><xsl:call-template name="string-replace-all"><xsl:with-param name="text" select="./egonp:DorucujeSa_adresa_adr_zast" /><xsl:with-param name="replace" select="'&#10;'" /><xsl:with-param name="by" select="', '" /></xsl:call-template></xsl:if></td></tr></table></xsl:template><xsl:template match="/egonp:eForm_eGov_vystup_002059/egonp:SekciaZakonEGovInfo"><div class="obsah" style="text-indent:0cm"><xsl:value-of select="./egonp:Info_text" /></div></xsl:template><xsl:template name="Footer"><table class="noBorder" style="width:100%; text-align:center; margin-top:25px; border-top:solid 1px black"><tr class="noBorder" style="font-size:9pt"><td style="width:25%;" class="noBorder">Telefón</td><td style="width:25%;" class="noBorder">E-mail</td><td style="width:25%;" class="noBorder">Web</td><td style="width:25%;" class="noBorder">IČO</td></tr><tr class="noBorder" style="font-size:8pt"><td class="noBorder"><xsl:value-of select="/egonp:eForm_eGov_vystup_002059/egonp:Obec/egonp:Obec_Telefon__TelephoneAddress" /></td><td class="noBorder"><xsl:value-of select="/egonp:eForm_eGov_vystup_002059/egonp:Obec/egonp:Obec_Email" /></td><td class="noBorder"><xsl:value-of select="/egonp:eForm_eGov_vystup_002059/egonp:Obec/egonp:Obec_WEB" /></td><td class="noBorder"><xsl:value-of select="/egonp:eForm_eGov_vystup_002059/egonp:Obec/egonp:Obec_ICO" /></td></tr></table></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: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:stylesheet>