8266

ID8266
Data2019-07-31
Symbol2019/07/31/8266
InstytucjaUrząd Gminy Kobylin-Borzymy
NazwaDeklaracja o wysokości opłaty za gospodarowanie odpadami komunalnymi
Czy Aktualny1

Ustawy (1)

  • URI://Dziennik_Ustaw/2018/1454/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/2019/07/31/8266/" 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;
                        }
    
                        table .title {
                            background-color: #FFFFFF;
                            width: 100%;
                            border: 0px;
                        }
    
                        p {
                            margin-top: 1em;
                            margin-bottom: 1em;
                        }
    
                        h1 {
                            font-size: 24px;
                            margin-top: 0;
                            background-color: #dde;
                            font-weight: bold;
                            font-size: 14px;
                            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: 14px;
                            margin-top: 2em;
                            color: #0A2D4C;
                        }
    
                        h4 {
                            font-size: 12px;
                            margin-top: 2em;
                            color: #4A6D8C;
                        }
    
                        b {
                            color: #4A6D8C;
                        }
    
                        li {
                            line-height: 1.2em;
                        }
    
                        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: 3px;
                        }
    
                        td, th {
                            border: 1px solid #CCC;
                            padding: 3px;
                        }
    
                        th {
                            background-color: #EEE;
                            text-align: left;
                            font-weight: normal;
                        }
    
                        textarea {
                            width: 90%;
                            height: 100%
                        }
                    </style>
          </head>
          <body>
            <div style="width: 900px; margin: 0 auto;">
              <xsl:for-each select="//wnio:TrescDokumentu/wnio:Wartosc">
                <h1 style="text-align: center;">
                  <xsl:value-of select="//wnio:DaneDokumentu/str:Naglowek/str:NazwaDokumentu"/>
                </h1>
                <h2>NAGŁÓWEK</h2>
                <table border="1px">
                  <tr>
                    <th>Podstawa prawna:</th>
                    <th>
                      <xsl:value-of select="wnio:PodstawaPrawna"/>
                    </th>
                  </tr>
                  <tr>
                    <th>Składający:</th>
                    <th>
                      <xsl:value-of select="wnio:Skladajacy"/>
                    </th>
                  </tr>
                  <tr>
                    <th>Termin składania:</th>
                    <th>
                      <xsl:value-of select="wnio:TerminSkladania"/>
                    </th>
                  </tr>
                </table>
                <table>
                  <tr>
                    <th>
                      <h4>MIEJSCE SKŁADANIA DEKLARACJI</h4>
                    </th>
                  </tr>
                  <tr>
                    <td>
                      <xsl:value-of select="wnio:MiejsceSkladania"/>
                    </td>
                  </tr>
                </table>
                <xsl:for-each select="wnio:ObowiazekZlozeniaDeklaracji">
                  <table>
                    <tr>
                      <th>
                        <h4>OBOWIĄZEK ZŁOŻENIA DEKLARACJI</h4>
                      </th>
                    </tr>
                    <tr>
                      <th>
                        <xsl:value-of select="wnio:Ustawa"/>
                      </th>
                    </tr>
                    <tr>
                      <th>
                            Okoliczności powodujące obowiązek złożenia deklaracji
                        </th>
                    </tr>
                    <tr>
                      <td>
                        <xsl:value-of select="wnio:Wybor">
                               
                            </xsl:value-of>
                      </td>
                    </tr>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:Podmiot">
                  <table>
                    <tr>
                      <th colspan="6">
                        <h4>DANE SKŁADAJĄCEGO DEKLARACJĘ</h4>
                      </th>
                    </tr>
                    <tr>
                      <th colspan="6">
                        <h4>SKŁADAJĄCY DEKLARACJĘ</h4>
                      </th>
                    </tr>
                    <tr>
                      <th style="width:10%">Składający deklarację</th>
                      <td colspan="5">
                        <xsl:if test="./@typPodmiotu='osoba_fizyczna'">osoba fizyczna</xsl:if>
                        <xsl:if test="./@typPodmiotu='osoba_prawna'">osoba prawna</xsl:if>
                        <xsl:if test="./@typPodmiotu='jednostka_organizacyjna'">jednostka
                                                organizacyjna nieposiadająca osobowości prawnej
                                            </xsl:if>
                      </td>
                    </tr>
                    <tr>
                      <th style="width:10%">Tytuł prawny, rodzaj władania</th>
                      <td colspan="5">
                        <xsl:value-of select="../wnio:RodzajWladania">
                                
                            </xsl:value-of>
                        <xsl:if test="../wnio:RodzajWladania='inny'">
                          <xsl:text>: </xsl:text>
                          <xsl:value-of select="../wnio:InnyRodzajWladania">
                                    
                                </xsl:value-of>
                        </xsl:if>
                      </td>
                    </tr>
                    <xsl:for-each select="wnio:OsobaFizyczna">
                      <tr>
                        <th style="width:10%">Nazwisko</th>
                        <td style="width:25%">
                          <xsl:value-of select="oso:Nazwisko">
                                   
                                </xsl:value-of>
                        </td>
                        <th style="width:10%">Imię</th>
                        <td style="width:25%">
                          <xsl:value-of select="oso:Imie">
                                  
                                </xsl:value-of>
                        </td>
                        <th style="width:10%">Drugie imię</th>
                        <td>
                          <xsl:value-of select="oso:ImieDrugie"/>
                        </td>
                      </tr>
                      <tr>
                        <th style="width:10%">PESEL</th>
                        <td style="width:25%">
                          <xsl:value-of select="oso:PESEL">
                                  
                                </xsl:value-of>
                        </td>
                        <th style="width:10%">NIP</th>
                        <td style="width:25%" colspan="3">
                          <xsl:value-of select="oso:NIP">
                                  
                                </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th>Imię ojca</th>
                        <td>
                          <xsl:value-of select="oso:ImieOjca">
                                    
                                </xsl:value-of>
                        </td>
                        <th>Imię matki</th>
                        <td colspan="3">
                          <xsl:value-of select="oso:ImieMatki">
                                   
                                </xsl:value-of>
                        </td>
                      </tr>
                    </xsl:for-each>
                    <xsl:for-each select="wnio:OsobaNiefizyczna">
                      <tr>
                        <th style="width:10%">Pełna nazwa</th>
                        <td colspan="5" style="width:25%">
                          <xsl:value-of select="inst:NazwaInstytucji">
                                   
                                </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th style="width:10%">NIP</th>
                        <td style="width:25%">
                          <xsl:value-of select="inst:NIP">
                                  
                                </xsl:value-of>
                        </td>
                        <th style="width:10%">REGON</th>
                        <td style="width:25%">
                          <xsl:value-of select="inst:REGON">
                                  
                                </xsl:value-of>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                  <xsl:for-each select="wnio:Adres">
                    <table>
                      <tr>
                        <th colspan="6">
                          <h4>
                            <xsl:if test="//wnio:Podmiot[@typPodmiotu ='osoba_fizyczna']">
                                        ADRES ZAMIESZKANIA
                                    </xsl:if>
                            <xsl:if test="//wnio:Podmiot[@typPodmiotu!='osoba_fizyczna']">
                                        ADRES SIEDZIBY
                                    </xsl:if>
                          </h4>
                        </th>
                      </tr>
                      <tr>
                        <th>Kraj</th>
                        <td colspan="5">
                          <xsl:value-of select="adr:Kraj">
                                   
                                </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th>Województwo</th>
                        <td>
                          <xsl:value-of select="adr:Wojewodztwo">
                                   
                                </xsl:value-of>
                        </td>
                        <th>Powiat</th>
                        <td>
                          <xsl:value-of select="adr:Powiat">
                                    
                                    
                                </xsl:value-of>
                        </td>
                        <th>Gmina</th>
                        <td>
                          <xsl:value-of select="adr:Gmina">
                                    
                                    
                                </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th>Miejscowość</th>
                        <td>
                          <xsl:value-of select="adr:Miejscowosc">
                                    
                                    
                                </xsl:value-of>
                        </td>
                        <th>Kod pocztowy</th>
                        <td>
                          <xsl:value-of select="adr:KodPocztowy">
                                    
                                    
                                </xsl:value-of>
                        </td>
                        <th>Poczta</th>
                        <td>
                          <xsl:value-of select="adr:Poczta">
                                    
                                    
                                </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th>Ulica</th>
                        <td>
                          <xsl:value-of select="adr:Ulica">
                                    
                                </xsl:value-of>
                        </td>
                        <th>Nr domu</th>
                        <td>
                          <xsl:value-of select="adr:Budynek">
                                    
                                    
                                </xsl:value-of>
                        </td>
                        <th>Nr lokalu</th>
                        <td>
                          <xsl:value-of select="adr:Lokal">
                                    
                                </xsl:value-of>
                        </td>
                      </tr>
                    </table>
                  </xsl:for-each>
                  <table>
                    <tr>
                      <th colspan="6">
                        <h4>Adres korespondencyjny inny niż powyższy
                               
                                (<xsl:value-of select="wnio:AdresKorespondencyjny/@wystepuje">
                                    
                                </xsl:value-of>)
                                
                            </h4>
                      </th>
                    </tr>
                    <xsl:for-each select="wnio:AdresKorespondencyjny[@wystepuje='tak']">
                      <tr>
                        <th>Kraj</th>
                        <td colspan="5">
                          <xsl:value-of select="adr:Kraj">
                                    
                                </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th>Województwo</th>
                        <td>
                          <xsl:value-of select="adr:Wojewodztwo">
                                    
                                </xsl:value-of>
                        </td>
                        <th>Powiat</th>
                        <td>
                          <xsl:value-of select="adr:Powiat">
                                    
                                    
                                </xsl:value-of>
                        </td>
                        <th>Gmina</th>
                        <td>
                          <xsl:value-of select="adr:Gmina">
                                    
                                    
                                </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th>Miejscowość</th>
                        <td>
                          <xsl:value-of select="adr:Miejscowosc">
                                    
                                    
                                </xsl:value-of>
                        </td>
                        <th>Kod pocztowy</th>
                        <td>
                          <xsl:value-of select="adr:KodPocztowy">
                                    
                                    
                                </xsl:value-of>
                        </td>
                        <th>Poczta</th>
                        <td>
                          <xsl:value-of select="adr:Poczta">
                                    
                                    
                                </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th>Ulica</th>
                        <td>
                          <xsl:value-of select="adr:Ulica">
                                    
                                </xsl:value-of>
                        </td>
                        <th>Nr domu</th>
                        <td>
                          <xsl:value-of select="adr:Budynek">
                                    
                                    
                                </xsl:value-of>
                        </td>
                        <th>Nr lokalu</th>
                        <td>
                          <xsl:value-of select="adr:Lokal">
                                    
                                </xsl:value-of>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                </xsl:for-each>
                <h2>TREŚĆ FORMULARZA</h2>
                <xsl:for-each select="//wnio:TrescDokumentu/wnio:Wartosc">
                  <xsl:for-each select="wnio:AdresNieruchomosci">
                    <table>
                      <tr>
                        <th colspan="4">
                          <h4>
                            <xsl:value-of select="wnio:Tytul"/>
                          </h4>
                        </th>
                      </tr>
                      <tr>
                        <th>Miejscowość</th>
                        <td>
                          <xsl:value-of select="wnio:Miejscowosc">
                                    
                                </xsl:value-of>
                        </td>
                        <th>Ulica</th>
                        <td>
                          <xsl:value-of select="wnio:Ulica"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Numer budynku (posesji)</th>
                        <td>
                          <xsl:value-of select="wnio:Budynek">
                                    
                                </xsl:value-of>
                        </td>
                        <th>Numer lokalu</th>
                        <td>
                          <xsl:value-of select="wnio:Lokal"/>
                        </td>
                      </tr>
                      <tr>
                        <th>
                                Numer ewidencyjny działki z rejestru gruntów
                                
                            </th>
                        <td>
                          <xsl:value-of select="wnio:NumerEwi">
                                    
                                </xsl:value-of>
                        </td>
                        <th>Kod pocztowy / poczta</th>
                        <td><xsl:value-of select="wnio:KodPocztowy">
                                  
                                </xsl:value-of> /  <xsl:value-of select="wnio:Poczta">
                                    
                                </xsl:value-of>
                            </td>
                      </tr>
                    </table>
                  </xsl:for-each>
                  <xsl:for-each select="wnio:WysokoscOplaty">
                    <table>
                      <tr>
                        <th colspan="4">
                          <h4>
                            <xsl:value-of select="wnio:Tytul"/>
                          </h4>
                        </th>
                      </tr>
                      <xsl:for-each select="wnio:Oswiadczenie">
                        <tr>
                          <th colspan="4">
                            <h4>OŚWIADCZENIE O SPOSOBIE GROMADZENIA ODPADÓW</h4>
                          </th>
                        </tr>
                        <tr>
                          <th colspan="4">
                                    Podać sposób gromadzenia odpadów komunalnych
                                </th>
                        </tr>
                        <tr>
                          <td colspan="4">
                            <xsl:if test="wnio:Wybor='1'">
                                            oświadczam, że na terenie nieruchomości odpady będą gromadzone w sposób
                                            selektywny
                                    </xsl:if>
                            <xsl:if test="wnio:Wybor='2'">
                                            oświadczam, że nie będę gromadził odpadów w sposób selektywny
                                    </xsl:if>
                          </td>
                        </tr>
                        <tr>
                          <th colspan="4">
                                    Oświadczam, że powstające w gospodarstwie domowym odpady ulegające biodegradacji, w tym
                                    odpady zielone będę wykorzystywał we własnym zakresie poprzez kompostowanie w
                                    przydomowym kompostowniku
                                </th>
                        </tr>
                        <tr>
                          <td colspan="4">
                            <xsl:if test="wnio:Wybor2='1'">
                                            tak
                                    </xsl:if>
                            <xsl:if test="wnio:Wybor2='2'">
                                            nie
                                    </xsl:if>
                          </td>
                        </tr>
                      </xsl:for-each>
                      <xsl:for-each select="wnio:Osoby">
                        <tr>
                          <th colspan="4">
                            <h4>OŚWIADCZENIE O OSOBACH ZAMIESZKUJĄCYCH NIERUCHOMOŚĆ NA KTÓREJ POWSTAJĄ ODPADY
                                        KOMUNALNE WSKAZANEJ W NINIEJSZEJ DEKLARACJI</h4>
                          </th>
                        </tr>
                        <tr>
                          <th colspan="4">
                                    Oświadczam, że nieruchomość jest zamieszkała
                                </th>
                        </tr>
                        <tr>
                          <td colspan="4">
                            <xsl:if test="wnio:Wybor='1'">
                                            przez cały rok
                                    </xsl:if>
                            <xsl:if test="wnio:Wybor='2'">
                                            czasowo w miesiącach: 
                                    </xsl:if>
                            <xsl:if test="wnio:Wybor='2'">
                              <xsl:for-each select="wnio:Miesiace">
                                <xsl:if test="wnio:Kwartal1/wnio:Styczen/wnio:Wybor='1'"><br/>Styczeń
                                            </xsl:if>
                                <xsl:if test="wnio:Kwartal1/wnio:Luty/wnio:Wybor='1'"><br/>Luty
                                            </xsl:if>
                                <xsl:if test="wnio:Kwartal1/wnio:Marzec/wnio:Wybor='1'"><br/>Marzec
                                            </xsl:if>
                                <xsl:if test="wnio:Kwartal2/wnio:Kwiecien/wnio:Wybor='1'"><br/>Kwiecień
                                            </xsl:if>
                                <xsl:if test="wnio:Kwartal2/wnio:Maj/wnio:Wybor='1'"><br/>Maj
                                            </xsl:if>
                                <xsl:if test="wnio:Kwartal2/wnio:Czerwiec/wnio:Wybor='1'"><br/>Czerwiec
                                            </xsl:if>
                                <xsl:if test="wnio:Kwartal3/wnio:Lipiec/wnio:Wybor='1'"><br/>Lipiec
                                            </xsl:if>
                                <xsl:if test="wnio:Kwartal3/wnio:Sierpien/wnio:Wybor='1'"><br/>Sierpień
                                            </xsl:if>
                                <xsl:if test="wnio:Kwartal3/wnio:Wrzesien/wnio:Wybor='1'"><br/>Wrzesień
                                            </xsl:if>
                                <xsl:if test="wnio:Kwartal4/wnio:Pazdziernik/wnio:Wybor='1'"><br/>Październik
                                            </xsl:if>
                                <xsl:if test="wnio:Kwartal4/wnio:Listopad/wnio:Wybor='1'"><br/>Listopad
                                            </xsl:if>
                                <xsl:if test="wnio:Kwartal4/wnio:Grudzien/wnio:Wybor='1'"><br/>Grudzień
                                            </xsl:if>
                              </xsl:for-each>
                            </xsl:if>
                          </td>
                        </tr>
                        <tr>
                          <th colspan="4">
                                    Oświadczam, że na terenie nieruchomości, na której powstają odpady komunalne wskazanej w
                                    niniejszej deklaracji faktycznie zamieszkuje
                                    <xsl:value-of select="wnio:LiczbaOsob">
                                        
                                    </xsl:value-of>
                                    osób.
                                </th>
                        </tr>
                        <xsl:if test="wnio:LiczbaOsob &gt; 0">
                          <tr>
                            <th colspan="4">
                                        Wykaz osób zamieszkujących nieruchomość
                                    </th>
                          </tr>
                          <tr>
                            <th/>
                            <th>Imię</th>
                            <th colspan="2">Nazwisko</th>
                          </tr>
                          <xsl:for-each select="wnio:Osoba">
                            <tr>
                              <th>
                                <xsl:value-of select="concat(count(current()/preceding::wnio:Osoba)+1, '.')"/>
                              </th>
                              <td>
                                <xsl:value-of select="wnio:Imie">
                                                
                                            </xsl:value-of>
                              </td>
                              <td>
                                <xsl:value-of select="wnio:Nazwisko">
                                               
                                            </xsl:value-of>
                              </td>
                            </tr>
                          </xsl:for-each>
                        </xsl:if>
                      </xsl:for-each>
                    </table>
                    <xsl:if test="wnio:Osoby/wnio:Wybor='1'">
                      <xsl:for-each select="wnio:WyliczenieOplatyRok">
                        <table>
                          <tr>
                            <th colspan="4">
                              <h4>
                                <xsl:value-of select="wnio:Tytul"/>
                              </h4>
                            </th>
                          </tr>
                          <tr>
                            <th>
                              <b>Rodzaj gospodarstwa</b>
                            </th>
                            <th>
                              <b>Liczba gospodarstw na nieruchomości</b>
                            </th>
                            <th>
                              <b>Stawka opłaty miesięcznej (zł)</b>
                            </th>
                            <th>
                              <b>Kwota opłaty za miesiąc (zł)</b>
                            </th>
                          </tr>
                          <xsl:if test="../wnio:Osoby/wnio:LiczbaOsob &gt;=1 and ../wnio:Osoby/wnio:LiczbaOsob &lt;=2">
                            <tr>
                              <th>
                                            Małe gospodarstwo domowe (1-2 osoby)
                                        </th>
                              <td>
                                <xsl:value-of select="wnio:Liczba1">
                                              
                                            </xsl:value-of>
                              </td>
                              <th>
                                <xsl:value-of select="wnio:Stawka1"/>
                              </th>
                              <th>
                                <xsl:value-of select="wnio:Kwota1"/>
                              </th>
                            </tr>
                            <tr>
                              <th colspan="3">
                                            Łączna kwota opłaty kwartalnej [zł/kwartał]
                                        </th>
                              <th>
                                <xsl:value-of select="wnio:KwotaRazem1"/>
                              </th>
                            </tr>
                          </xsl:if>
                          <xsl:if test="../wnio:Osoby/wnio:LiczbaOsob &gt;=3 and  ../wnio:Osoby/wnio:LiczbaOsob &lt;=5">
                            <tr>
                              <th>
                                            Średnie gospodarstwo domowe (3-5 osób)
                                        </th>
                              <td>
                                <xsl:value-of select="wnio:Liczba2">
                                               
                                            </xsl:value-of>
                              </td>
                              <th>
                                <xsl:value-of select="wnio:Stawka2"/>
                              </th>
                              <th>
                                <xsl:value-of select="wnio:Kwota2"/>
                              </th>
                            </tr>
                            <tr>
                              <th colspan="3">
                                            Łączna kwota opłaty kwartalnej [zł/kwartał]
                                        </th>
                              <th>
                                <xsl:value-of select="wnio:KwotaRazem2"/>
                              </th>
                            </tr>
                          </xsl:if>
                          <xsl:if test="../wnio:Osoby/wnio:LiczbaOsob=6 or ../wnio:Osoby/wnio:LiczbaOsob &gt; 6">
                            <tr>
                              <th>
                                            Duże gospodarstwo domowe (6 osób i więcej)
                                        </th>
                              <td>
                                <xsl:value-of select="wnio:Liczba3">
                                                
                                            </xsl:value-of>
                              </td>
                              <th>
                                <xsl:value-of select="wnio:Stawka3"/>
                              </th>
                              <th>
                                <xsl:value-of select="wnio:Kwota3"/>
                              </th>
                            </tr>
                            <tr>
                              <th colspan="3">
                                            Łączna kwota opłaty kwartalnej [zł/kwartał]
                                        </th>
                              <th>
                                <xsl:value-of select="wnio:KwotaRazem3"/>
                              </th>
                            </tr>
                          </xsl:if>
                        </table>
                      </xsl:for-each>
                    </xsl:if>
                    <xsl:if test="wnio:Osoby/wnio:Wybor='2'">
                      <xsl:for-each select="wnio:WyliczenieOplatyMiesiac">
                        <table>
                          <tr>
                            <th colspan="6">
                              <h4>
                                <xsl:value-of select="wnio:Tytul"/>
                              </h4>
                            </th>
                          </tr>
                          <tr>
                            <th rowspan="2">
                              <b>Rodzaj gospodarstwa</b>
                            </th>
                            <th rowspan="2">
                              <b>Stawka opłaty miesięcznej (zł)</b>
                            </th>
                            <th colspan="4" style="text-align: center;">
                              <b>Stawka opłaty kwartalnej</b>
                            </th>
                          </tr>
                          <tr>
                            <th>
                              <b>I KWARTAŁ</b>
                            </th>
                            <th>
                              <b>II KWARTAŁ</b>
                            </th>
                            <th>
                              <b>III KWARTAŁ</b>
                            </th>
                            <th>
                              <b>IV KWARTAŁ</b>
                            </th>
                          </tr>
                          <xsl:if test="../wnio:Osoby/wnio:LiczbaOsob &gt;=1 and ../wnio:Osoby/wnio:LiczbaOsob &lt;=2">
                            <tr>
                              <th>
                                            Małe gospodarstwo domowe (1-2 osoby)
                                        </th>
                              <th>
                                <xsl:value-of select="wnio:Stawka1"/>
                              </th>
                              <th>
                                <xsl:value-of select="wnio:Obliczenie1I"/>
                              </th>
                              <th>
                                <xsl:value-of select="wnio:Obliczenie1II"/>
                              </th>
                              <th>
                                <xsl:value-of select="wnio:Obliczenie1III"/>
                              </th>
                              <th>
                                <xsl:value-of select="wnio:Obliczenie1IV"/>
                              </th>
                            </tr>
                          </xsl:if>
                          <xsl:if test="../wnio:Osoby/wnio:LiczbaOsob &gt;=3 and  ../wnio:Osoby/wnio:LiczbaOsob &lt;=5">
                            <tr>
                              <th>
                                            Średnie gospodarstwo domowe (3-5 osób)
                                        </th>
                              <th>
                                <xsl:value-of select="wnio:Stawka2"/>
                              </th>
                              <th>
                                <xsl:value-of select="wnio:Obliczenie2I"/>
                              </th>
                              <th>
                                <xsl:value-of select="wnio:Obliczenie2II"/>
                              </th>
                              <th>
                                <xsl:value-of select="wnio:Obliczenie2III"/>
                              </th>
                              <th>
                                <xsl:value-of select="wnio:Obliczenie2IV"/>
                              </th>
                            </tr>
                          </xsl:if>
                          <xsl:if test="../wnio:Osoby/wnio:LiczbaOsob=6 or ../wnio:Osoby/wnio:LiczbaOsob &gt; 6">
                            <tr>
                              <th>
                                            Duże gospodarstwo domowe (6 osób i więcej)
                                        </th>
                              <th>
                                <xsl:value-of select="wnio:Stawka3"/>
                              </th>
                              <th>
                                <xsl:value-of select="wnio:Obliczenie3I"/>
                              </th>
                              <th>
                                <xsl:value-of select="wnio:Obliczenie3II"/>
                              </th>
                              <th>
                                <xsl:value-of select="wnio:Obliczenie3III"/>
                              </th>
                              <th>
                                <xsl:value-of select="wnio:Obliczenie3IV"/>
                              </th>
                            </tr>
                          </xsl:if>
                        </table>
                      </xsl:for-each>
                    </xsl:if>
                  </xsl:for-each>
                </xsl:for-each>
                <h2>STOPKA</h2>
                <xsl:if test="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/wnio:Podmiot/wnio:Kontakt/@rodzaj!=''">
                  <table>
                    <tr>
                      <th colspan="4">
                        <h4>Wyrażam zgodę na kontakt:</h4>
                      </th>
                    </tr>
                    <xsl:for-each select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Podmiot/wnio:Kontakt">
                      <tr>
                        <td style="width:40%">
                          <xsl:value-of select="./@rodzaj"/>
                        </td>
                        <td style="width:40%">
                          <xsl:value-of select="wnio:Telefoniczny[../@rodzaj='telefoniczny']"/>
                          <xsl:value-of select="wnio:Email[../@rodzaj='email']"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                </xsl:if>
                <xsl:if test="str:Zalaczniki/str:Zalacznik">
                  <xsl:for-each select="str:Zalaczniki">
                    <table>
                      <tr>
                        <th colspan="2">
                          <h4>Załączniki:</h4>
                        </th>
                      </tr>
                      <tr>
                        <th>Opis</th>
                        <th>Plik</th>
                      </tr>
                      <xsl:for-each select="//wnio:TrescDokumentu/wnio:Wartosc/str:Zalaczniki/str:Zalacznik">
                        <tr>
                          <td style="width:40%">
                            <xsl:value-of select="str:OpisZalacznika"/>
                          </td>
                          <td>
                            <xsl:value-of select="@nazwaPliku"/>
                          </td>
                        </tr>
                      </xsl:for-each>
                    </table>
                  </xsl:for-each>
                </xsl:if>
                <table>
                  <tr>
                    <th colspan="2">
                      <h4>OŚWIADCZENIE I PODPIS SKŁADAJĄCEGO DEKLARACJĘ / OSOBY REPREZENTUJĄCEJ SKŁADAJĄCEGO
                        DEKLARACJĘ</h4>
                    </th>
                  </tr>
                  <tr>
                    <th colspan="2">
                      <b>
                        <xsl:value-of select="wnio:Oswiadczenie"/>
                      </b>
                    </th>
                  </tr>
                  <xsl:if test="wnio:Podmiot/@typPodmiotu='osoba_fizyczna'">
                    <tr>
                      <th colspan="2">
                        <b>
                          <xsl:value-of select="wnio:OswiadczenieOsobyFizycznej"/>
                        </b>
                      </th>
                    </tr>
                  </xsl:if>
                  <tr>
                    <th>Imię</th>
                    <td>
                      <xsl:value-of select="oso:Imie">
                           
                        </xsl:value-of>
                    </td>
                  </tr>
                  <tr>
                    <th>Nazwisko</th>
                    <td>
                      <xsl:value-of select="oso:Nazwisko">
                            
                        </xsl:value-of>
                    </td>
                  </tr>
                  <tr>
                    <th>Data wypełnienia</th>
                    <td>
                      <xsl:value-of select="wnio:DataWypelnienia"/>
                    </td>
                  </tr>
                </table>
              </xsl:for-each>
              <xsl:call-template name="Podpisy_elektroniczne"/>
            </div>
          </body>
        </html>
      </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>