14326

ID14326
Data2026-07-10
Symbol2026/07/10/14326
InstytucjaZwiązek Gmin Krajny
NazwaDeklaracja o wysokości opłaty za gospodarowanie odpadami komunalnymi składana przez właścicieli nieruchomości niezamieszkanych położonych na terenie Związku Gmin Krajny
Czy Aktualny1

Ustawy (1)

  • URI://Dziennik_Ustaw/2025/733/6n/1/2/a
  • Ustawa z dnia 13 września 1996 r. o utrzymaniu czystości i porządku w gminach

    Pliki

    Styl

    <?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wnio="http://crd.gov.pl/wzor/2026/07/10/14326/" xmlns:meta="http://crd.gov.pl/xml/schematy/meta/2009/11/16/" xmlns:str="http://crd.gov.pl/xml/schematy/struktura/2009/11/16/" xmlns:oso="http://crd.gov.pl/xml/schematy/osoba/2009/11/16/" xmlns:inst="http://crd.gov.pl/xml/schematy/instytucja/2009/11/16/" xmlns:adr="http://crd.gov.pl/xml/schematy/adres/2009/11/09/" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0">
      <xsl:template match="/">
        <html xmlns="http://www.w3.org/1999/xhtml">
          <head>
            <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
            <style type="text/css">
                        body {
                            background-color: #FFFFFF;
                            margin: 0px 0px 0px 0px;
                            font-family: Verdana, Helvetica, sans-serif;
                            font-size: 12px;
                            line-height: 1.6em;
                        }
    
                        table .title {
                            background-color: #FFFFFF;
                            width: 100%;
                            border: 0px;
                        }
    
                        p {
                            margin-top: 1em;
                            margin-bottom: 1em;
                        }
    
                        h1 {
                            font-size: 18px;
                            margin-top: 0;
                            background-color: #dde;
                            font-weight: bold;
                            text-align: left;
                            padding-left: 1em;
                            padding-right: 1em;
                            padding-top: .2em;
                            padding-bottom: .2em;
                            margin-top: 0;
                            margin-bottom: 0;
                            border-bottom: solid 1px #99c;
                            line-height: 180%;
                        }
    
                        h2 {
                            color: #336;
                            background-color: #dde;
                            font-size: 9pt;
                            font-weight: bold;
                            padding-left: 1em;
                            padding-right: 1em;
                            padding-top: .2em;
                            padding-bottom: .2em;
                            margin-top: 2em;
                            margin-bottom: 1em;
                            border-bottom: solid 1px #336;
                            clear: right;
                        }
    
                        h3 {
                            font-size: 16px;
                            margin-top: 2em;
                            color: #0A2D4C;
                        }
    
                        h4 {
                            font-size: 14px;
                            margin-top: 2em;
                            color: #4A6D8C;
                        }
    
                        b {
                            color: #4A6D8C;
                        }
    
                        
    
                        li {
                            line-height: 1.6em;
                        }
    
                        h1, h2 {
                            text-align: center !important;
                        }
    
                        h1 {
                            margin-bottom: 15px !important;
                        }
    
                        h3, h4 {
                            margin-top: 8px;
                            margin-bottom: 8px;
                        }
    
                        table {
                            border-collapse: collapse;
                            margin: 0;
                            padding: 0;
                            width: 100%;
                            margin-bottom: 1em;
                        }
    
                        td, th {
                            border: 1px solid #CCC;
                            padding: 3px;
                        }
    
                        th {
                            background-color: #EEE;
                            text-align: left;
                            font-weight: normal;
                        }
    
    
                        .topAlignedCells td{
                            vertical-align: top;
                        }
    
                        .labelText {
                            font-size: 10px;
                        }
    
                        .zawartoscPola {
                            text-align: center;
                            word-break: break-word;
                        }
    
                        .zawartoscPolaDuzego {
                            padding-left: 1.5em;
                            padding-right: 1.5em;
                        }
    
                        .komorkaZTabelamiWewnetrznymi {
                            padding-bottom: 0px;
                        }
    
                        .tabelaWewnetrzna {
                            margin-bottom: 3px;
                        }
    
                        .EmptyCellToTheRight {
                            border-right: 0px transparent;
                        }
                        .EmptyCell {
                            border-left: 0px transparent;
                        }
    
                        .CheckboxLine {
                            
                            padding-bottom: 0.1em;
                        }
    
                        .CheckboxIcon {
                            
                            padding-right: 0.2em;
                            width: 1em;
                            height: 1em;
                        }
    
                        .CheckboxSize {
                            
                        }
    
                        .CheckboxText {
                            
                        }
    
                        .InlineInput {
                            display: inline-block;
                            background-color: #FFFFFF;
                            border: 1px solid #CCC;
                            border-radius: 4px;
                            padding-left: 2px;
                            padding-right: 2px;
                            margin: 0;
                        }
    
                        .InlineEmptyInput {
                            display: inline-block;
                            min-width: 8em;
                            background-color: #CCC;
                            border: 1px solid #CCC;
                            border-radius: 4px;
                            padding-left: 2px;
                            padding-right: 2px;
                            margin: 0;
                            height: inherit;
                        }
    
                        .InlineInputSpan {
                            background-color: #FFFFFF;
                            border: 1px solid #CCC;
                            border-radius: 4px;
                            padding: 2px;
                            padding-left: 0.6em !important;
                            padding-right: 0.6em !important;
                            margin: 0;
                        }
    
                        .InlineEmptyInputSpan {
                            min-width: 8em;
                            background-color: #CCC;
                            border: 1px solid #CCC;
                            border-radius: 4px;
                            padding: 2px;
                            margin: 0;
                            height: 1.6em;
                        }
    
                    </style>
          </head>
          <body>
            <div style="width: 100%; max-width: 900px; margin: 0 auto;">
              <xsl:for-each select="/wnio:Dokument/wnio:TrescDokumentu">
                <h1 style="text-align: center;">
                  <xsl:value-of select="/wnio:Dokument/wnio:DaneDokumentu/str:Naglowek/str:NazwaDokumentu"/>
                </h1>
                <table>
                  <tr>
                    <th style="vertical-align: top;">
                      <div class="labelText">Podstawa prawna:</div>
                      <div class="zawartoscPolaDuzego">
                        <xsl:value-of select="wnio:PodstawaPrawna"/>
                      </div>
                    </th>
                  </tr>
                  <tr>
                    <th style="vertical-align: top;">
                      <div class="labelText">Składający:</div>
                      <div class="zawartoscPolaDuzego">
                        <xsl:value-of select="wnio:Skladajacy"/>
                      </div>
                    </th>
                  </tr>
                  <tr>
                    <th style="vertical-align: top;">
                      <div class="labelText">Termin składania:</div>
                      <div class="zawartoscPolaDuzego">
                        <ul style="margin-top: 0px; margin-bottom: 0px; padding-left: 1em;">
                          <li>
                            <xsl:value-of select="wnio:TerminSkladania_1"/>
                          </li>
                          <li>
                            <xsl:value-of select="wnio:TerminSkladania_2"/>
                          </li>
                        </ul>
                      </div>
                    </th>
                  </tr>
                  <tr>
                    <th style="vertical-align: top;">
                      <div class="labelText">Miejsce składania:</div>
                      <div class="zawartoscPolaDuzego">
                        <xsl:value-of select="wnio:MiejsceSkladania"/>
                      </div>
                    </th>
                  </tr>
                  <tr>
                    <th style="vertical-align: top;">
                      <div class="labelText">Organ właściwy do złożenia deklaracji:</div>
                      <div class="zawartoscPolaDuzego">
                        <xsl:value-of select="wnio:OrganWlasciwy"/>
                      </div>
                    </th>
                  </tr>
                </table>
                <table class="topAlignedCells">
                  <tr>
                    <th>
                      <h3>A. OBOWIĄZEK ZŁOŻENIA DEKLARACJI</h3>
                    </th>
                  </tr>
                  <tr>
                    <td>
                      <div class="CheckboxLine">
                        <div class="CheckboxText"><xsl:choose><xsl:when test="wnio:ObowiazekZlozenia = 'pierwsza'"><input type="radio" checked="checked" disabled="disabled" class="CheckboxIcon"/></xsl:when><xsl:otherwise><input type="radio" disabled="disabled" class="CheckboxIcon"/></xsl:otherwise></xsl:choose>
                                                1. pierwsza deklaracja¹
                                            </div>
                      </div>
                      <div class="CheckboxLine">
                        <div class="CheckboxText"><xsl:choose><xsl:when test="wnio:ObowiazekZlozenia = 'zmiana'"><input type="radio" checked="checked" disabled="disabled" class="CheckboxIcon"/></xsl:when><xsl:otherwise><input type="radio" disabled="disabled" class="CheckboxIcon"/></xsl:otherwise></xsl:choose>
                                                2. zmiana danych zawartych w poprzedniej deklaracji²
                                            </div>
                      </div>
                      <div class="CheckboxLine">
                        <div class="CheckboxText"><xsl:choose><xsl:when test="wnio:ObowiazekZlozenia = 'wygaśnięcie'"><input type="radio" checked="checked" disabled="disabled" class="CheckboxIcon"/></xsl:when><xsl:otherwise><input type="radio" disabled="disabled" class="CheckboxIcon"/></xsl:otherwise></xsl:choose>
                                                3. wygaśnięcie obowiązku opłaty³
                                            </div>
                      </div>
                      <div class="CheckboxLine">
                        <div class="CheckboxText"><xsl:choose><xsl:when test="wnio:ObowiazekZlozenia = 'korekta'"><input type="radio" checked="checked" disabled="disabled" class="CheckboxIcon"/></xsl:when><xsl:otherwise><input type="radio" disabled="disabled" class="CheckboxIcon"/></xsl:otherwise></xsl:choose>
                                                4. korekta deklaracji⁴
                                            </div>
                      </div>
                      <div style="margin-top: 1em;">
                                            dotyczy okresu od
                                            <xsl:call-template name="FormatDate"><xsl:with-param name="Date" select="wnio:DotyczyOkresuOd"/></xsl:call-template> r.
                                        </div>
                    </td>
                  </tr>
                </table>
                <table class="topAlignedCells">
                  <tr>
                    <th>
                      <h3>B. SKŁADAJĄCY DEKLARACJĘ⁵</h3>
                    </th>
                  </tr>
                  <tr>
                    <td>
                      <div class="CheckboxLine">
                        <div class="CheckboxText"><xsl:choose><xsl:when test="wnio:SkladajacyDeklaracje = 'właściciel'"><input type="radio" checked="checked" disabled="disabled" class="CheckboxIcon"/></xsl:when><xsl:otherwise><input type="radio" disabled="disabled" class="CheckboxIcon"/></xsl:otherwise></xsl:choose>
                                                1. właściciel nieruchomości
                                            </div>
                      </div>
                      <div class="CheckboxLine">
                        <div class="CheckboxText"><xsl:choose><xsl:when test="wnio:SkladajacyDeklaracje = 'współwłaściciel'"><input type="radio" checked="checked" disabled="disabled" class="CheckboxIcon"/></xsl:when><xsl:otherwise><input type="radio" disabled="disabled" class="CheckboxIcon"/></xsl:otherwise></xsl:choose>
                                                2. współwłaściciel
                                            </div>
                      </div>
                      <div class="CheckboxLine">
                        <div class="CheckboxText"><xsl:choose><xsl:when test="wnio:SkladajacyDeklaracje = 'użytkownik'"><input type="radio" checked="checked" disabled="disabled" class="CheckboxIcon"/></xsl:when><xsl:otherwise><input type="radio" disabled="disabled" class="CheckboxIcon"/></xsl:otherwise></xsl:choose>
                                                3. użytkownik wieczysty
                                            </div>
                      </div>
                      <div class="CheckboxLine">
                        <div class="CheckboxText"><xsl:choose><xsl:when test="wnio:SkladajacyDeklaracje = 'jednostka'"><input type="radio" checked="checked" disabled="disabled" class="CheckboxIcon"/></xsl:when><xsl:otherwise><input type="radio" disabled="disabled" class="CheckboxIcon"/></xsl:otherwise></xsl:choose>
                                                4. jednostka organizacyjna i osoba posiadająca nieruchomość w zarządzie lub użytkowaniu
                                            </div>
                      </div>
                      <div class="CheckboxLine">
                        <div class="CheckboxText"><xsl:choose><xsl:when test="wnio:SkladajacyDeklaracje = 'inny'"><input type="radio" checked="checked" disabled="disabled" class="CheckboxIcon"/></xsl:when><xsl:otherwise><input type="radio" disabled="disabled" class="CheckboxIcon"/></xsl:otherwise></xsl:choose>
                                                5. inny podmiot władający nieruchomością<xsl:if test="wnio:SkladajacyDeklaracje = 'inny'">: <xsl:value-of select="wnio:InnyPodmiot"/></xsl:if>
                                            </div>
                      </div>
                    </td>
                  </tr>
                </table>
                <xsl:for-each select="wnio:DaneIdentyfikacyjne">
                  <table class="topAlignedCells" style="margin-bottom: -1px;">
                    <tr>
                      <th colspan="3">
                        <h3>C. DANE SKŁADAJĄCEGO DEKLARACJĘ</h3>
                      </th>
                    </tr>
                    <tr>
                      <th colspan="3">
                        <h4>C1. Dane identyfikacyjne</h4>
                      </th>
                    </tr>
                    <tr>
                      <td colspan="3">
                        <div class="labelText">Rodzaj podmiotu:</div>
                        <div class="CheckboxLine">
                          <div class="CheckboxText"><xsl:choose><xsl:when test="wnio:RodzajPodmiotu='osoba_fizyczna'"><input type="radio" checked="checked" disabled="disabled" class="CheckboxIcon"/></xsl:when><xsl:otherwise><input type="radio" disabled="disabled" class="CheckboxIcon"/></xsl:otherwise></xsl:choose>
                                                    1. Osoba fizyczna
                                                </div>
                        </div>
                        <div class="CheckboxLine">
                          <div class="CheckboxText"><xsl:choose><xsl:when test="wnio:RodzajPodmiotu='osoba_prawna'"><input type="radio" checked="checked" disabled="disabled" class="CheckboxIcon"/></xsl:when><xsl:otherwise><input type="radio" disabled="disabled" class="CheckboxIcon"/></xsl:otherwise></xsl:choose>
                                                    2. Osoba prawna
                                                </div>
                        </div>
                        <div class="CheckboxLine">
                          <div class="CheckboxText"><xsl:choose><xsl:when test="wnio:RodzajPodmiotu='jednostka_organizacyjna'"><input type="radio" checked="checked" disabled="disabled" class="CheckboxIcon"/></xsl:when><xsl:otherwise><input type="radio" disabled="disabled" class="CheckboxIcon"/></xsl:otherwise></xsl:choose>
                                                    3. Jednostka organizacyjna, w tym spółka nieposiadająca osobowości prawnej
                                                </div>
                        </div>
                      </td>
                    </tr>
                    <tr>
                      <td style="height: 3.2em;" colspan="3">
                        <div class="labelText">Pełna nazwa /Imię i nazwisko:</div>
                        <div class="zawartoscPolaDuzego">
                          <xsl:choose>
                            <xsl:when test="wnio:RodzajPodmiotu = 'osoba_fizyczna'">
                              <xsl:value-of select="concat(wnio:DaneOsobyFizycznej/wnio:Imie, ' ', wnio:DaneOsobyFizycznej/wnio:Nazwisko)"/>
                            </xsl:when>
                            <xsl:otherwise>
                              <xsl:value-of select="wnio:DaneOsobyPrawnej/wnio:NazwaInstytucji"/>
                            </xsl:otherwise>
                          </xsl:choose>
                        </div>
                      </td>
                    </tr>
                    <tr>
                      <td style="width:33.33%; height: 3.2em;">
                        <div class="labelText">PESEL:</div>
                        <div class="zawartoscPola">
                          <xsl:choose>
                            <xsl:when test="wnio:RodzajPodmiotu = 'osoba_fizyczna'">
                              <xsl:value-of select="wnio:DaneOsobyFizycznej/wnio:PESEL"/>
                            </xsl:when>
                            <xsl:otherwise>
                                                        
                                                    </xsl:otherwise>
                          </xsl:choose>
                        </div>
                      </td>
                      <td style="width:33.33%" class="EmptyCellToTheRight">
                        <div class="labelText">NIP:</div>
                        <div class="zawartoscPola">
                          <xsl:choose>
                            <xsl:when test="wnio:RodzajPodmiotu = 'osoba_fizyczna'">
                              <xsl:value-of select="wnio:DaneOsobyFizycznej/wnio:NIP"/>
                            </xsl:when>
                            <xsl:otherwise>
                              <xsl:value-of select="wnio:DaneOsobyPrawnej/wnio:NIPInst"/>
                            </xsl:otherwise>
                          </xsl:choose>
                        </div>
                      </td>
                      <td style="width:33.33%" class="EmptyCell"/>
                    </tr>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:Adres">
                  <table class="topAlignedCells" style="margin-bottom: -1px;">
                    <tr>
                      <th colspan="4">
                        <h4>C2. Adres siedziby składającego deklarację</h4>
                      </th>
                    </tr>
                    <tr>
                      <td style="width:33.33%; height: 3.2em;">
                        <div class="labelText">Miejscowość:</div>
                        <div class="zawartoscPola">
                          <xsl:value-of select="wnio:Miejscowosc"/>
                        </div>
                      </td>
                      <td style="width:33.33%;">
                        <div class="labelText">Ulica:</div>
                        <div class="zawartoscPola">
                          <xsl:value-of select="wnio:Ulica"/>
                        </div>
                      </td>
                      <td style="width:16.66%">
                        <div class="labelText">Nr domu:</div>
                        <div class="zawartoscPola">
                          <xsl:value-of select="wnio:Budynek"/>
                        </div>
                      </td>
                      <td style="width:16.66%">
                        <div class="labelText">Nr lokalu:</div>
                        <div class="zawartoscPola">
                          <xsl:value-of select="wnio:Lokal"/>
                        </div>
                      </td>
                    </tr>
                    <tr>
                      <td style="width:33.33%; height: 3.2em;">
                        <div class="labelText">Kod pocztowy:</div>
                        <div class="zawartoscPola">
                          <xsl:value-of select="wnio:KodPocztowy"/>
                        </div>
                      </td>
                      <td style="width:33.33%;" class="EmptyCellToTheRight">
                        <div class="labelText">Poczta:</div>
                        <div class="zawartoscPola">
                          <xsl:value-of select="wnio:Poczta"/>
                        </div>
                      </td>
                      <td class="EmptyCell" colspan="2"/>
                    </tr>
                    <tr>
                      <td style="width:33.33%; height: 3.2em;">
                        <div class="labelText">Nr telefonu:</div>
                        <div class="zawartoscPola">
                          <xsl:value-of select="wnio:Telefon"/>
                        </div>
                      </td>
                      <td style="width:33.33%">
                        <div class="labelText">E-mail:</div>
                        <div class="zawartoscPola">
                          <xsl:value-of select="wnio:Email"/>
                        </div>
                      </td>
                      <td style="width:33.33%" colspan="2">
                        <xsl:if test="wnio:SkrytkaEPUAP != ''">
                          <div class="labelText">Skrytka ePUAP:</div>
                          <div class="zawartoscPola">
                            <xsl:value-of select="wnio:SkrytkaEPUAP"/>
                          </div>
                        </xsl:if>
                        <xsl:if test="wnio:SkrzynkaEDoreczen != ''">
                          <div class="labelText">Skrzynka e-Doręczeń:</div>
                          <div class="zawartoscPola">
                            <xsl:value-of select="wnio:SkrzynkaEDoreczen"/>
                          </div>
                        </xsl:if>
                      </td>
                    </tr>
                  </table>
                </xsl:for-each>
                <table class="topAlignedCells">
                  <tr>
                    <th colspan="4">
                      <h4>C3. Adres do korespondencji – wypełnić, jeśli jest inny niż adres nieruchomości podanej w C2.</h4>
                    </th>
                  </tr>
                  <xsl:for-each select="wnio:AdresKorespondencyjny">
                    <tr>
                      <td style="width:33.33%; height: 3.2em;">
                        <div class="labelText">Miejscowość:</div>
                        <div class="zawartoscPola">
                          <xsl:value-of select="wnio:Miejscowosc"/>
                        </div>
                      </td>
                      <td style="width:33.33%;">
                        <div class="labelText">Ulica:</div>
                        <div class="zawartoscPola">
                          <xsl:value-of select="wnio:Ulica"/>
                        </div>
                      </td>
                      <td style="width:16.66%">
                        <div class="labelText">Nr domu:</div>
                        <div class="zawartoscPola">
                          <xsl:value-of select="wnio:Budynek"/>
                        </div>
                      </td>
                      <td style="width:16.66%">
                        <div class="labelText">Nr lokalu:</div>
                        <div class="zawartoscPola">
                          <xsl:value-of select="wnio:Lokal"/>
                        </div>
                      </td>
                    </tr>
                    <tr>
                      <td style="width:33.33%; height: 3.2em;">
                        <div class="labelText">Kod pocztowy:</div>
                        <div class="zawartoscPola">
                          <xsl:value-of select="wnio:KodPocztowy"/>
                        </div>
                      </td>
                      <td style="width:33.33%;" class="EmptyCellToTheRight">
                        <div class="labelText">Poczta:</div>
                        <div class="zawartoscPola">
                          <xsl:value-of select="wnio:Poczta"/>
                        </div>
                      </td>
                      <td class="EmptyCell" colspan="2"/>
                    </tr>
                  </xsl:for-each>
                </table>
                <xsl:for-each select="wnio:DaneNieruchomosci">
                  <table class="topAlignedCells">
                    <tr>
                      <th colspan="4">
                        <h3>D. DANE NIERUCHOMOŚCI</h3>
                      </th>
                    </tr>
                    <xsl:for-each select="wnio:AdresNieruchomosci">
                      <tr>
                        <th colspan="4">
                          <h4>D1. Adres nieruchomości, której dotyczy deklaracja</h4>
                        </th>
                      </tr>
                      <tr>
                        <td style="width:33.33%; height: 3.2em;">
                          <div class="labelText">Miejscowość:</div>
                          <div class="zawartoscPola">
                            <xsl:value-of select="wnio:Miejscowosc"/>
                          </div>
                        </td>
                        <td style="width:33.33%;">
                          <div class="labelText">Ulica:</div>
                          <div class="zawartoscPola">
                            <xsl:value-of select="wnio:Ulica"/>
                          </div>
                        </td>
                        <td style="width:16.66%">
                          <div class="labelText">Nr domu:</div>
                          <div class="zawartoscPola">
                            <xsl:value-of select="wnio:Budynek"/>
                          </div>
                        </td>
                        <td style="width:16.66%">
                          <div class="labelText">Nr lokalu:</div>
                          <div class="zawartoscPola">
                            <xsl:value-of select="wnio:Lokal"/>
                          </div>
                        </td>
                      </tr>
                      <tr>
                        <td style="width:33.33%; height: 3.2em;">
                          <div class="labelText">Kod pocztowy:</div>
                          <div class="zawartoscPola">
                            <xsl:value-of select="wnio:KodPocztowy"/>
                          </div>
                        </td>
                        <td style="width:33.33%;" class="EmptyCellToTheRight">
                          <div class="labelText">Poczta:</div>
                          <div class="zawartoscPola">
                            <xsl:value-of select="wnio:Poczta"/>
                          </div>
                        </td>
                        <td style="width:33.33%;" colspan="2">
                          <div class="labelText">Nr działki w rejestrze gruntów:</div>
                          <div class="zawartoscPola">
                            <xsl:value-of select="wnio:NrDzialki"/>
                          </div>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:TabeleOdpadow">
                  <table>
                    <tr>
                      <th colspan="8">
                        <h3>E. OBLICZENIE WYSOKOŚCI OPŁATY ZA GOSPODAROWANIE ODPADAMI KOMUNALNYMI DLA NIERUCHOMOŚCI NIEZAMIESZKANEJ</h3>
                      </th>
                    </tr>
                    <tr>
                      <th colspan="8">
                        <small>UWAGA: należy dokonać wyboru wszystkich frakcji odpadów komunalnych poz. E1. - E5.</small>
                      </th>
                    </tr>
                    <xsl:for-each select="wnio:Niesegregowane">
                      <tr>
                        <th colspan="8">
                          <h4>E1. Niesegregowane (zmieszane) odpady komunalne</h4>
                        </th>
                      </tr>
                      <tr>
                        <th style="text-align: center; width: 20%;" rowspan="2">Pojemność</th>
                        <th style="text-align: center; width: 20%;">Stawka opłaty⁶</th>
                        <th style="text-align: center;" rowspan="2"/>
                        <th style="text-align: center; width: 20%;">Ilość pojemników</th>
                        <th style="text-align: center;" rowspan="2"/>
                        <th style="text-align: center; width: 20%;">Liczba wywozów w miesiącu⁷</th>
                        <th style="text-align: center;" rowspan="2"/>
                        <th style="text-align: center; width: 20%;">Opłata miesięczna za gospodarowanie odpadami<br/><i>(4 = 1 x 2 x 3)</i></th>
                      </tr>
                      <tr>
                        <th style="text-align: center;">
                          <small>1</small>
                        </th>
                        <th style="text-align: center;">
                          <small>2</small>
                        </th>
                        <th style="text-align: center;">
                          <small>3</small>
                        </th>
                        <th style="text-align: center;">
                          <small>4</small>
                        </th>
                      </tr>
                      <xsl:for-each select="wnio:Niesegregowane_Wiersz">
                        <tr>
                          <td style="text-align: center;">
                            <xsl:value-of select="wnio:Pojemnosc"/>
                            <xsl:if test="wnio:Pojemnosc = 'Inna'">: <xsl:value-of select="wnio:InnaPojemnosc"/></xsl:if>
                          </td>
                          <td style="text-align: center;">
                            <xsl:call-template name="Format2PoPrzecinku">
                              <xsl:with-param name="liczba" select="wnio:StawkaOplaty"/>
                              <xsl:with-param name="jednostka" select="'zł'"/>
                            </xsl:call-template>
                          </td>
                          <th style="text-align: center;">X</th>
                          <td style="text-align: center;">
                            <xsl:call-template name="FormatDo4NiewidocznychPoPrzecinku">
                              <xsl:with-param name="liczba" select="wnio:IloscPojemnikow"/>
                            </xsl:call-template>
                          </td>
                          <th style="text-align: center;">X</th>
                          <td style="text-align: center;">
                            <xsl:value-of select="wnio:LiczbaWywozow"/>
                          </td>
                          <th style="text-align: center;">=</th>
                          <td style="text-align: center;">
                            <xsl:call-template name="Format2PoPrzecinku">
                              <xsl:with-param name="liczba" select="wnio:OplataMiesieczna"/>
                              <xsl:with-param name="jednostka" select="'zł'"/>
                            </xsl:call-template>
                          </td>
                        </tr>
                      </xsl:for-each>
                      <tr>
                        <th colspan="7" style="text-align: right;">
                          <b style="color: black;">Miesięczna kwota opłaty (suma pozycji z kol. 4)</b>
                        </th>
                        <td style="text-align: center;">
                          <xsl:call-template name="Format2PoPrzecinku">
                            <xsl:with-param name="liczba" select="wnio:MiesiecznaKwotaOplaty"/>
                            <xsl:with-param name="jednostka" select="'zł'"/>
                          </xsl:call-template>
                        </td>
                      </tr>
                    </xsl:for-each>
                    <xsl:for-each select="wnio:Papier">
                      <tr>
                        <th colspan="8">
                          <h4>E2. Papier</h4>
                        </th>
                      </tr>
                      <tr>
                        <th style="text-align: center; width: 20%;" rowspan="2">Pojemność</th>
                        <th style="text-align: center; width: 20%;">Stawka opłaty⁶</th>
                        <th style="text-align: center;" rowspan="2"/>
                        <th style="text-align: center; width: 20%;">Ilość pojemników</th>
                        <th style="text-align: center;" rowspan="2"/>
                        <th style="text-align: center; width: 20%;">Liczba wywozów w miesiącu⁷</th>
                        <th style="text-align: center;" rowspan="2"/>
                        <th style="text-align: center; width: 20%;">Opłata miesięczna za gospodarowanie odpadami<br/><i>(4 = 1 x 2 x 3)</i></th>
                      </tr>
                      <tr>
                        <th style="text-align: center;">
                          <small>1</small>
                        </th>
                        <th style="text-align: center;">
                          <small>2</small>
                        </th>
                        <th style="text-align: center;">
                          <small>3</small>
                        </th>
                        <th style="text-align: center;">
                          <small>4</small>
                        </th>
                      </tr>
                      <xsl:for-each select="wnio:Papier_Wiersz">
                        <tr>
                          <td style="text-align: center;">
                            <xsl:value-of select="wnio:Pojemnosc"/>
                            <xsl:if test="wnio:Pojemnosc = 'Inna'">: <xsl:value-of select="wnio:InnaPojemnosc"/></xsl:if>
                          </td>
                          <td style="text-align: center;">
                            <xsl:call-template name="Format2PoPrzecinku">
                              <xsl:with-param name="liczba" select="wnio:StawkaOplaty"/>
                              <xsl:with-param name="jednostka" select="'zł'"/>
                            </xsl:call-template>
                          </td>
                          <th style="text-align: center;">X</th>
                          <td style="text-align: center;">
                            <xsl:call-template name="FormatDo4NiewidocznychPoPrzecinku">
                              <xsl:with-param name="liczba" select="wnio:IloscPojemnikow"/>
                            </xsl:call-template>
                          </td>
                          <th style="text-align: center;">X</th>
                          <td style="text-align: center;">
                            <xsl:value-of select="wnio:LiczbaWywozow"/>
                          </td>
                          <th style="text-align: center;">=</th>
                          <td style="text-align: center;">
                            <xsl:call-template name="Format2PoPrzecinku">
                              <xsl:with-param name="liczba" select="wnio:OplataMiesieczna"/>
                              <xsl:with-param name="jednostka" select="'zł'"/>
                            </xsl:call-template>
                          </td>
                        </tr>
                      </xsl:for-each>
                      <tr>
                        <th colspan="7" style="text-align: right;">
                          <b style="color: black;">Miesięczna kwota opłaty (suma pozycji z kol. 4)</b>
                        </th>
                        <td style="text-align: center;">
                          <xsl:call-template name="Format2PoPrzecinku">
                            <xsl:with-param name="liczba" select="wnio:MiesiecznaKwotaOplaty"/>
                            <xsl:with-param name="jednostka" select="'zł'"/>
                          </xsl:call-template>
                        </td>
                      </tr>
                    </xsl:for-each>
                    <xsl:for-each select="wnio:Metale">
                      <tr>
                        <th colspan="8">
                          <h4>E3. Metale i tworzywa sztuczne</h4>
                        </th>
                      </tr>
                      <tr>
                        <th style="text-align: center; width: 20%;" rowspan="2">Pojemność</th>
                        <th style="text-align: center; width: 20%;">Stawka opłaty⁶</th>
                        <th style="text-align: center;" rowspan="2"/>
                        <th style="text-align: center; width: 20%;">Ilość pojemników</th>
                        <th style="text-align: center;" rowspan="2"/>
                        <th style="text-align: center; width: 20%;">Liczba wywozów w miesiącu⁷</th>
                        <th style="text-align: center;" rowspan="2"/>
                        <th style="text-align: center; width: 20%;">Opłata miesięczna za gospodarowanie odpadami<br/><i>(4 = 1 x 2 x 3)</i></th>
                      </tr>
                      <tr>
                        <th style="text-align: center;">
                          <small>1</small>
                        </th>
                        <th style="text-align: center;">
                          <small>2</small>
                        </th>
                        <th style="text-align: center;">
                          <small>3</small>
                        </th>
                        <th style="text-align: center;">
                          <small>4</small>
                        </th>
                      </tr>
                      <xsl:for-each select="wnio:Metale_Wiersz">
                        <tr>
                          <td style="text-align: center;">
                            <xsl:value-of select="wnio:Pojemnosc"/>
                            <xsl:if test="wnio:Pojemnosc = 'Inna'">: <xsl:value-of select="wnio:InnaPojemnosc"/></xsl:if>
                          </td>
                          <td style="text-align: center;">
                            <xsl:call-template name="Format2PoPrzecinku">
                              <xsl:with-param name="liczba" select="wnio:StawkaOplaty"/>
                              <xsl:with-param name="jednostka" select="'zł'"/>
                            </xsl:call-template>
                          </td>
                          <th style="text-align: center;">X</th>
                          <td style="text-align: center;">
                            <xsl:call-template name="FormatDo4NiewidocznychPoPrzecinku">
                              <xsl:with-param name="liczba" select="wnio:IloscPojemnikow"/>
                            </xsl:call-template>
                          </td>
                          <th style="text-align: center;">X</th>
                          <td style="text-align: center;">
                            <xsl:value-of select="wnio:LiczbaWywozow"/>
                          </td>
                          <th style="text-align: center;">=</th>
                          <td style="text-align: center;">
                            <xsl:call-template name="Format2PoPrzecinku">
                              <xsl:with-param name="liczba" select="wnio:OplataMiesieczna"/>
                              <xsl:with-param name="jednostka" select="'zł'"/>
                            </xsl:call-template>
                          </td>
                        </tr>
                      </xsl:for-each>
                      <tr>
                        <th colspan="7" style="text-align: right;">
                          <b style="color: black;">Miesięczna kwota opłaty (suma pozycji z kol. 4)</b>
                        </th>
                        <td style="text-align: center;">
                          <xsl:call-template name="Format2PoPrzecinku">
                            <xsl:with-param name="liczba" select="wnio:MiesiecznaKwotaOplaty"/>
                            <xsl:with-param name="jednostka" select="'zł'"/>
                          </xsl:call-template>
                        </td>
                      </tr>
                    </xsl:for-each>
                    <xsl:for-each select="wnio:Szklo">
                      <tr>
                        <th colspan="8">
                          <h4>E4. Szkło</h4>
                        </th>
                      </tr>
                      <tr>
                        <th style="text-align: center; width: 20%;" rowspan="2">Pojemność</th>
                        <th style="text-align: center; width: 20%;">Stawka opłaty⁶</th>
                        <th style="text-align: center;" rowspan="2"/>
                        <th style="text-align: center; width: 20%;">Ilość pojemników</th>
                        <th style="text-align: center;" rowspan="2"/>
                        <th style="text-align: center; width: 20%;">Liczba wywozów w miesiącu⁷</th>
                        <th style="text-align: center;" rowspan="2"/>
                        <th style="text-align: center; width: 20%;">Opłata miesięczna za gospodarowanie odpadami<br/><i>(4 = 1 x 2 x 3)</i></th>
                      </tr>
                      <tr>
                        <th style="text-align: center;">
                          <small>1</small>
                        </th>
                        <th style="text-align: center;">
                          <small>2</small>
                        </th>
                        <th style="text-align: center;">
                          <small>3</small>
                        </th>
                        <th style="text-align: center;">
                          <small>4</small>
                        </th>
                      </tr>
                      <xsl:for-each select="wnio:Szklo_Wiersz">
                        <tr>
                          <td style="text-align: center;">
                            <xsl:value-of select="wnio:Pojemnosc"/>
                            <xsl:if test="wnio:Pojemnosc = 'Inna'">: <xsl:value-of select="wnio:InnaPojemnosc"/></xsl:if>
                          </td>
                          <td style="text-align: center;">
                            <xsl:call-template name="Format2PoPrzecinku">
                              <xsl:with-param name="liczba" select="wnio:StawkaOplaty"/>
                              <xsl:with-param name="jednostka" select="'zł'"/>
                            </xsl:call-template>
                          </td>
                          <th style="text-align: center;">X</th>
                          <td style="text-align: center;">
                            <xsl:call-template name="FormatDo4NiewidocznychPoPrzecinku">
                              <xsl:with-param name="liczba" select="wnio:IloscPojemnikow"/>
                            </xsl:call-template>
                          </td>
                          <th style="text-align: center;">X</th>
                          <td style="text-align: center;">
                            <xsl:value-of select="wnio:LiczbaWywozow"/>
                          </td>
                          <th style="text-align: center;">=</th>
                          <td style="text-align: center;">
                            <xsl:call-template name="Format2PoPrzecinku">
                              <xsl:with-param name="liczba" select="wnio:OplataMiesieczna"/>
                              <xsl:with-param name="jednostka" select="'zł'"/>
                            </xsl:call-template>
                          </td>
                        </tr>
                      </xsl:for-each>
                      <tr>
                        <th colspan="7" style="text-align: right;">
                          <b style="color: black;">Miesięczna kwota opłaty (suma pozycji z kol. 4)</b>
                        </th>
                        <td style="text-align: center;">
                          <xsl:call-template name="Format2PoPrzecinku">
                            <xsl:with-param name="liczba" select="wnio:MiesiecznaKwotaOplaty"/>
                            <xsl:with-param name="jednostka" select="'zł'"/>
                          </xsl:call-template>
                        </td>
                      </tr>
                    </xsl:for-each>
                    <xsl:for-each select="wnio:Bioodpady">
                      <tr>
                        <th colspan="8">
                          <h4>E5. Bioodpady</h4>
                        </th>
                      </tr>
                      <tr>
                        <th style="text-align: center; width: 20%;" rowspan="2">Pojemność</th>
                        <th style="text-align: center; width: 20%;">Stawka opłaty⁶</th>
                        <th style="text-align: center;" rowspan="2"/>
                        <th style="text-align: center; width: 20%;">Ilość pojemników</th>
                        <th style="text-align: center;" rowspan="2"/>
                        <th style="text-align: center; width: 20%;">Liczba wywozów w miesiącu⁷</th>
                        <th style="text-align: center;" rowspan="2"/>
                        <th style="text-align: center; width: 20%;">Opłata miesięczna za gospodarowanie odpadami<br/><i>(4 = 1 x 2 x 3)</i></th>
                      </tr>
                      <tr>
                        <th style="text-align: center;">
                          <small>1</small>
                        </th>
                        <th style="text-align: center;">
                          <small>2</small>
                        </th>
                        <th style="text-align: center;">
                          <small>3</small>
                        </th>
                        <th style="text-align: center;">
                          <small>4</small>
                        </th>
                      </tr>
                      <xsl:for-each select="wnio:Bioodpady_Wiersz">
                        <tr>
                          <td style="text-align: center;">
                            <xsl:value-of select="wnio:Pojemnosc"/>
                            <xsl:if test="wnio:Pojemnosc = 'Inna'">: <xsl:value-of select="wnio:InnaPojemnosc"/></xsl:if>
                          </td>
                          <td style="text-align: center;">
                            <xsl:call-template name="Format2PoPrzecinku">
                              <xsl:with-param name="liczba" select="wnio:StawkaOplaty"/>
                              <xsl:with-param name="jednostka" select="'zł'"/>
                            </xsl:call-template>
                          </td>
                          <th style="text-align: center;">X</th>
                          <td style="text-align: center;">
                            <xsl:call-template name="FormatDo4NiewidocznychPoPrzecinku">
                              <xsl:with-param name="liczba" select="wnio:IloscPojemnikow"/>
                            </xsl:call-template>
                          </td>
                          <th style="text-align: center;">X</th>
                          <td style="text-align: center;">
                            <xsl:value-of select="wnio:LiczbaWywozow"/>
                          </td>
                          <th style="text-align: center;">=</th>
                          <td style="text-align: center;">
                            <xsl:call-template name="Format2PoPrzecinku">
                              <xsl:with-param name="liczba" select="wnio:OplataMiesieczna"/>
                              <xsl:with-param name="jednostka" select="'zł'"/>
                            </xsl:call-template>
                          </td>
                        </tr>
                      </xsl:for-each>
                      <tr>
                        <th colspan="7" style="text-align: right;">
                          <b style="color: black;">Miesięczna kwota opłaty (suma pozycji z kol. 4)</b>
                        </th>
                        <td style="text-align: center;">
                          <xsl:call-template name="Format2PoPrzecinku">
                            <xsl:with-param name="liczba" select="wnio:MiesiecznaKwotaOplaty"/>
                            <xsl:with-param name="jednostka" select="'zł'"/>
                          </xsl:call-template>
                        </td>
                      </tr>
                    </xsl:for-each>
                    <tr>
                      <th colspan="7" style="padding-bottom: 8px;">
                        <h4 style="margin-bottom: 0px;">E6. Wyliczona, łączna miesięczna kwota opłaty dla nieruchomości niezamieszkanej</h4>
                        <small>(miesięczna kwota opłaty z poz. E1.+E2.+E3.+E4.+E5.)</small>
                      </th>
                      <td style="text-align: center;">
                        <xsl:call-template name="Format2PoPrzecinku">
                          <xsl:with-param name="liczba" select="wnio:MiesiecznaKwotaOplatySUMA"/>
                          <xsl:with-param name="jednostka" select="'zł'"/>
                        </xsl:call-template>
                      </td>
                    </tr>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:Uwagi">
                  <table>
                    <tr>
                      <th>
                        <h3>F. UWAGI SKŁADAJĄCEGO DEKLARACJĘ</h3>
                      </th>
                    </tr>
                    <tr>
                      <th>Nr rachunku bankowego, na który należy dokonywać zwrotu nadpłaty za gospodarowanie odpadami komunalnymi.<br/> Nie musisz wpisywać rachunku, jeśli zgłoszony poprzednio jest aktualny. Jeśli wpiszesz nowy rachunek, zastąpi on rachunek, który wcześniej został zgłoszony do zwrotu nadpłaty.</th>
                    </tr>
                    <tr>
                      <td style="height: 1.6em;">
                        <xsl:call-template name="FormatIBAN">
                          <xsl:with-param name="Value" select="wnio:NrRachunkuBankowego"/>
                        </xsl:call-template>
                      </td>
                    </tr>
                    <tr>
                      <th>Inne uwagi składającego deklarację</th>
                    </tr>
                    <tr>
                      <td style="height: 1.6em;">
                        <xsl:value-of select="wnio:InneUwagi"/>
                      </td>
                    </tr>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="str:Zalaczniki">
                  <table>
                    <tr>
                      <th colspan="2">
                        <h3>G. INFORMACJA O ZAŁĄCZNIKACH</h3>
                      </th>
                    </tr>
                    <tr>
                      <th>Opis</th>
                      <th style="width:33.33%">Plik</th>
                    </tr>
                    <xsl:for-each select="/wnio:Dokument/wnio:TrescDokumentu/str:Zalaczniki/str:Zalacznik[str:DaneZalacznika!='']">
                      <tr>
                        <td>
                          <xsl:value-of select="str:OpisZalacznika"/>
                        </td>
                        <td>
                          <xsl:value-of select="@nazwaPliku"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:SekcjaPodpis">
                  <table class="topAlignedCells">
                    <tr>
                      <th colspan="4">
                        <h3>H. PODPIS OSOBY SKŁADAJĄCEJ DEKLARACJĘ</h3>
                      </th>
                    </tr>
                    <tr>
                      <td style="width:25%">
                        <div class="labelText">Miejscowość:</div>
                        <div class="zawartoscPola">
                          <xsl:value-of select="wnio:PodpisMiejscowosc"/>
                        </div>
                      </td>
                      <td style="width:25%">
                        <div class="labelText">Data:</div>
                        <div class="zawartoscPola">
                          <xsl:call-template name="FormatDate">
                            <xsl:with-param name="Date" select="wnio:PodpisData"/>
                          </xsl:call-template>
                        </div>
                      </td>
                      <td style="width:25%">
                        <div class="labelText">Imię:</div>
                        <div class="zawartoscPola">
                          <xsl:value-of select="wnio:PodpisImie"/>
                        </div>
                      </td>
                      <td style="width:25%">
                        <div class="labelText">Nazwisko:</div>
                        <div class="zawartoscPola">
                          <xsl:value-of select="wnio:PodpisNazwisko"/>
                        </div>
                      </td>
                    </tr>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:Adnotacje">
                  <table>
                    <tr>
                      <th colspan="2">
                        <h3>
                          <xsl:value-of select="wnio:Adnotacje_Tytul"/>
                        </h3>
                      </th>
                    </tr>
                    <tr>
                      <th colspan="2" style="vertical-align: top; height: 6em;">
                        <div class="labelText">
                          <xsl:value-of select="wnio:Adnotacje_Pole_1"/>
                        </div>
                      </th>
                    </tr>
                    <tr>
                      <th colspan="2" style="text-align: center;">
                        <xsl:value-of select="wnio:Adnotacje_Pole_2"/>
                      </th>
                    </tr>
                    <tr>
                      <th style="width: 50%; height: 3.2em; vertical-align: top;">
                        <div class="labelText">
                          <xsl:value-of select="wnio:Adnotacje_Pole_3"/>
                        </div>
                      </th>
                      <th style="width: 50%; vertical-align: top;">
                        <div class="labelText">
                          <xsl:value-of select="wnio:Adnotacje_Pole_4"/>
                        </div>
                      </th>
                    </tr>
                  </table>
                </xsl:for-each>
                <table>
                  <tr>
                    <th>
                      <h3>Pouczenie</h3>
                    </th>
                  </tr>
                  <tr>
                    <th>
                      <xsl:value-of select="wnio:Pouczenie"/>
                    </th>
                  </tr>
                </table>
                <xsl:for-each select="wnio:Objasnienia">
                  <table>
                    <tr>
                      <th>
                        <h3>Objaśnienia dotyczące sposobu wypełnienia deklaracji:</h3>
                      </th>
                    </tr>
                    <tr>
                      <th>
                        <div>
                          <xsl:value-of select="wnio:Objasnienie_1"/>
                        </div>
                        <div style="margin-top: 0.8em;">
                          <xsl:value-of select="wnio:Objasnienie_2"/>
                        </div>
                        <div style="margin-top: 0.8em;">
                          <xsl:value-of select="wnio:Objasnienie_3"/>
                        </div>
                        <div style="margin-top: 0.8em;">
                          <xsl:value-of select="wnio:Objasnienie_4"/>
                        </div>
                        <div style="margin-top: 0.8em;">
                          <xsl:value-of select="wnio:Objasnienie_5"/>
                        </div>
                        <div style="margin-top: 0.8em;">
                          <xsl:value-of select="wnio:Objasnienie_6"/>
                        </div>
                        <div style="margin-top: 0.8em;">
                          <xsl:value-of select="wnio:Objasnienie_7"/>
                        </div>
                        <div style="margin-top: 0.8em;">
                          <xsl:value-of select="wnio:Objasnienie_8"/>
                        </div>
                      </th>
                    </tr>
                  </table>
                </xsl:for-each>
                <table>
                  <tr>
                    <th><b style="color: black;">Identyfikatorem podatkowym</b> jest:
                                        <ul style="margin-top: 0px; margin-bottom: 0px;"><li><xsl:value-of select="wnio:IdentyfikatorInfo_PESEL"/></li><li><xsl:value-of select="wnio:IdentyfikatorInfo_NIP"/></li></ul>
                                    </th>
                  </tr>
                </table>
                <xsl:for-each select="wnio:KlauzulaInformacyjna">
                  <table>
                    <tr>
                      <th>
                        <h3>KLAUZULA INFORMACYJNA</h3>
                      </th>
                    </tr>
                    <tr>
                      <th>
                        <xsl:value-of select="wnio:Klauzula_Wstep"/>
                        <ol style="margin-top: 0px; margin-bottom: 0px;">
                          <li>
                            <xsl:value-of select="wnio:Klauzula_1"/>
                          </li>
                          <li>
                            <xsl:value-of select="wnio:Klauzula_2"/>
                          </li>
                          <li>
                            <xsl:value-of select="wnio:Klauzula_3"/>
                          </li>
                          <li>
                            <xsl:value-of select="wnio:Klauzula_4"/>
                          </li>
                          <li>
                            <xsl:value-of select="wnio:Klauzula_5"/>
                          </li>
                          <li>
                            <xsl:value-of select="wnio:Klauzula_6"/>
                          </li>
                          <li>
                            <xsl:value-of select="wnio:Klauzula_7"/>
                          </li>
                          <li>
                            <xsl:value-of select="wnio:Klauzula_8"/>
                          </li>
                          <li>
                            <xsl:value-of select="wnio:Klauzula_9"/>
                          </li>
                          <li>
                            <xsl:value-of select="wnio:Klauzula_10"/>
                          </li>
                        </ol>
                      </th>
                    </tr>
                  </table>
                </xsl:for-each>
              </xsl:for-each>
              <xsl:call-template name="Podpisy_elektroniczne"/>
            </div>
          </body>
        </html>
      </xsl:template>
      <xsl:template name="FormatDate">
        <xsl:param name="Date"/>
        <xsl:choose>
          <xsl:when test="contains(substring($Date, 5, 1), '-') and contains(substring($Date, 8, 1), '-')">
            <xsl:value-of select="concat(substring($Date , 9, 2), '-', substring($Date , 6, 2), '-', substring($Date , 1, 4))"/>
          </xsl:when>
          <xsl:otherwise>
            <xsl:value-of select="$Date"/>
          </xsl:otherwise>
        </xsl:choose>
      </xsl:template>
      <xsl:template name="Format0PoPrzecinku">
        <xsl:param name="liczba"/>
        <xsl:param name="jednostka"/>
        <xsl:param name="liczbaSformatowana" select="format-number($liczba, '#,###')"/>
        <xsl:param name="liczbaSpacje" select="translate($liczbaSformatowana, ',', ' ')"/>
        <xsl:choose>
          <xsl:when test="$liczba != '' and $jednostka != ''">
            <xsl:value-of select="$liczbaSpacje"/>
            <xsl:text> </xsl:text>
            <xsl:value-of select="$jednostka"/>
          </xsl:when>
          <xsl:when test="$liczba != '' and ($jednostka = '' or not($jednostka))">
            <xsl:value-of select="$liczbaSpacje"/>
          </xsl:when>
          <xsl:otherwise/>
        </xsl:choose>
      </xsl:template>
      <xsl:template name="Format2PoPrzecinku">
        <xsl:param name="liczba"/>
        <xsl:param name="jednostka"/>
        <xsl:param name="liczbaSformatowana" select="format-number($liczba, '#,###.00')"/>
        <xsl:param name="liczbaSpacje" select="translate($liczbaSformatowana, ',', ' ')"/>
        <xsl:param name="liczbaSpacjePrzecinek" select="translate($liczbaSpacje, '.', ',')"/>
        <xsl:choose>
          <xsl:when test="$liczba != '' and $jednostka != ''">
            <xsl:value-of select="$liczbaSpacjePrzecinek"/>
            <xsl:text> </xsl:text>
            <xsl:value-of select="$jednostka"/>
          </xsl:when>
          <xsl:when test="$liczba != '' and ($jednostka = '' or not($jednostka))">
            <xsl:value-of select="$liczbaSpacjePrzecinek"/>
          </xsl:when>
          <xsl:otherwise/>
        </xsl:choose>
      </xsl:template>
      <xsl:template name="FormatDo4NiewidocznychPoPrzecinku">
        <xsl:param name="liczba"/>
        <xsl:param name="jednostka"/>
        <xsl:param name="liczbaSformatowana" select="format-number($liczba, '#,###.####')"/>
        <xsl:param name="liczbaSpacje" select="translate($liczbaSformatowana, ',', ' ')"/>
        <xsl:param name="liczbaSpacjePrzecinek" select="translate($liczbaSpacje, '.', ',')"/>
        <xsl:choose>
          <xsl:when test="$liczba != '' and $jednostka != ''">
            <xsl:value-of select="$liczbaSpacjePrzecinek"/>
            <xsl:text> </xsl:text>
            <xsl:value-of select="$jednostka"/>
          </xsl:when>
          <xsl:when test="$liczba != '' and ($jednostka = '' or not($jednostka))">
            <xsl:value-of select="$liczbaSpacjePrzecinek"/>
          </xsl:when>
          <xsl:otherwise/>
        </xsl:choose>
      </xsl:template>
      <xsl:template name="FormatIBAN">
        <xsl:param name="Value"/>
        <xsl:param name="SpacesRemoved" select="translate($Value, ' ', '')"/>
        <xsl:param name="First2Chr" select="substring($SpacesRemoved, 1, 2)"/>
        <xsl:choose>
          <xsl:when test="translate($First2Chr, '0123456789', '') != ''">
            <xsl:call-template name="GroupBy4FromLeft">
              <xsl:with-param name="Value" select="$SpacesRemoved"/>
            </xsl:call-template>
          </xsl:when>
          <xsl:otherwise>
            <xsl:value-of select="substring($SpacesRemoved, 1, 2)"/>
            <xsl:text> </xsl:text>
            <xsl:call-template name="GroupBy4FromLeft">
              <xsl:with-param name="Value" select="substring($SpacesRemoved, 3)"/>
            </xsl:call-template>
          </xsl:otherwise>
        </xsl:choose>
      </xsl:template>
      <xsl:template name="GroupBy4FromLeft">
        <xsl:param name="Value"/>
        <xsl:choose>
          <xsl:when test="string-length($Value) &gt; 4">
            <xsl:value-of select="substring($Value, 1, 4)"/>
            <xsl:text> </xsl:text>
            <xsl:call-template name="GroupBy4FromLeft">
              <xsl:with-param name="Value" select="substring($Value, 5)"/>
            </xsl:call-template>
          </xsl:when>
          <xsl:otherwise>
            <xsl:value-of select="$Value"/>
          </xsl:otherwise>
        </xsl:choose>
      </xsl:template>
      <xsl:template xmlns="http://www.w3.org/1999/xhtml" name="Podpisy_elektroniczne">
        <h2>Podpisy elektroniczne</h2>
        <table>
          <tr>
            <td>
              <xsl:choose>
                <xsl:when test="string-length(//wnio:Dokument/ds:Signature/ds:SignatureValue) &gt; 0">
                  <xsl:text>Dokument został podpisany, aby go zweryfikować należy użyć oprogramowania do weryfikacji podpisu</xsl:text>
                  <xsl:choose>
                    <xsl:when test="count(//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']) &gt; 1">
                      <br/>
                      <xsl:text>Daty złożenia podpisu: </xsl:text>
                      <xsl:for-each select="//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']">
                        <xsl:value-of select="."/>
                      </xsl:for-each>
                    </xsl:when>
                    <xsl:when test="count(//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']) = 1">
                      <br/>
                      <xsl:text>Data złożenia podpisu: </xsl:text>
                      <xsl:for-each select="//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']">
                        <xsl:value-of select="."/>
                      </xsl:for-each>
                    </xsl:when>
                    <xsl:when test="0 &gt;= count(//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime'])">
                                    </xsl:when>
                  </xsl:choose>
                </xsl:when>
                <xsl:otherwise>
                  <xsl:text>Dokument nie zawiera podpisu</xsl:text>
                </xsl:otherwise>
              </xsl:choose>
            </td>
          </tr>
        </table>
      </xsl:template>
    </xsl:stylesheet>