5574

ID5574
Data2018-07-17
Symbol2018/07/17/5574
InstytucjaUrząd Gminy Brudzew
NazwaDeklaracja o wysokości opłaty za gospodarowanie odpadami komunalnymi
Czy Aktualny1

Ustawy (1)

  • URI://Dziennik_Ustaw/2017/1289/6n/1/2/a
  • Ustawa z dnia 13 września 1996r. 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/2018/07/17/5574/" 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" xmlns:xfl="http://www.w3.org/1999/XSL/Transform" version="1.0">
      <xsl:template match="/">
        <html xmlns="http://www.w3.org/1999/xhtml">
          <head>
            <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="max-width: 900px; margin: 0 auto;">
              <xsl:for-each select="//wnio:TrescDokumentu/wnio:Wartosc">
                <xsl:for-each select="wnio:Naglowek">
                  <h1>
                    <xsl:value-of select="wnio:NazwaFormularza"/>
                  </h1>
                  <table style="width: auto; margin: 0 auto;">
                    <tr>
                      <th>Na rok:</th>
                      <td>
                        <xsl:value-of select="wnio:Rok"/>
                      </td>
                    </tr>
                  </table>
                  <h2>NAGŁÓWEK</h2>
                  <table>
                    <tr>
                      <th style="width:15%">Podstawa prawna:</th>
                      <th>
                        <xsl:value-of select="wnio:PodstawaPrawna"/>
                      </th>
                    </tr>
                    <tr>
                      <th>Miejsce składania:</th>
                      <th>
                        <xsl:value-of select="wnio:MiejsceSkladania"/>
                      </th>
                    </tr>
                  </table>
                </xsl:for-each>
                <table>
                  <tr>
                    <th colspan="2">
                      <h4>OBOWIĄZEK ZŁOŻENIA DEKLARACJI</h4>
                    </th>
                  </tr>
                  <tr>
                    <th style="width:40%">Okoliczności powodujące obowiązek złożenia informacji</th>
                    <td>
                      <xsl:if test="wnio:ObowiazekZlozeniaInformacji='po_raz_pierwszy'">deklaracja składana po raz pierwszy</xsl:if>
                      <xsl:if test="wnio:ObowiazekZlozeniaInformacji='korekta'">korekta uprzednio złożonej deklaracji</xsl:if>
                      <xsl:if test="wnio:ObowiazekZlozeniaInformacji='zmiana'">zmiana danych będących podstawą ustalenia wysokości opłaty</xsl:if>
                    </td>
                  </tr>
                  <xsl:if test="wnio:ObowiazekZlozeniaInformacji='zmiana'">
                    <tr>
                      <th>Data zmiany</th>
                      <td>
                        <xsl:value-of select="wnio:DataZmiany">
    
                                            </xsl:value-of>
                      </td>
                    </tr>
                    <tr>
                      <th>Uzasadnienie przyczyny zmiany</th>
                      <td>
                        <xsl:value-of select="wnio:PrzyczynaZmiany">
    
                                            </xsl:value-of>
                      </td>
                    </tr>
                  </xsl:if>
                  <xsl:if test="wnio:ObowiazekZlozeniaInformacji='korekta'">
                    <tr>
                      <th>Uzasadnienie przyczyny korekty</th>
                      <td>
                        <xsl:value-of select="wnio:PrzyczynaZmiany">
    
                                            </xsl:value-of>
                      </td>
                    </tr>
                  </xsl:if>
                </table>
                <xsl:for-each select="wnio:Podmiot">
                  <table>
                    <tr>
                      <th colspan="6">
                        <h4>Wnioskodawca</h4>
                      </th>
                    </tr>
                    <tr>
                      <th style="width:10%">Rodzaj</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>
                        <xsl:if test="@typPodmiotu='inne'">inne</xsl:if>
                      </td>
                    </tr>
                    <xsl:for-each select="wnio:OsobaFizyczna">
                      <tr>
                        <th>Nazwisko</th>
                        <td style="width:27%">
                          <xsl:value-of select="oso:Nazwisko">
    
    
                                                </xsl:value-of>
                        </td>
                        <th style="width:10%">Imię</th>
                        <td>
                          <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>Data urodzenia</th>
                        <td>
                          <xsl:value-of select="oso:DataUrodzenia">
    
                                                </xsl:value-of>
                        </td>
                        <th>PESEL</th>
                        <td>
                          <xsl:value-of select="oso:PESEL">
    
    
                                                </xsl:value-of>
                        </td>
                        <th>NIP</th>
                        <td>
                          <xsl:value-of select="oso:NIP">
    
    
                                                </xsl:value-of>
                        </td>
                      </tr>
                    </xsl:for-each>
                    <xsl:for-each select="wnio:OsobaNiefizyczna">
                      <tr>
                        <th>Nazwa</th>
                        <td colspan="5">
                          <xsl:value-of select="inst:NazwaInstytucji">
    
    
                                                </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th style="width:10%">NIP</th>
                        <td style="width:27%">
                          <xsl:value-of select="inst:NIP">
    
    
                                                </xsl:value-of>
                        </td>
                        <th style="width:10%">REGON</th>
                        <td>
                          <xsl:value-of select="inst:REGON">
    
    
                                                </xsl:value-of>
                        </td>
                        <th style="width:10%">KRS</th>
                        <td>
                          <xsl:value-of select="inst:KRS">
    
                                                </xsl:value-of>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                  <xsl:for-each select="wnio:Adres">
                    <table>
                      <tr>
                        <th colspan="6">
                          <h4>Adres</h4>
                        </th>
                      </tr>
                      <tr>
                        <th>Kraj</th>
                        <td colspan="5">
                          <xsl:value-of select="adr:Kraj"/>
                        </td>
                      </tr>
                      <tr>
                        <th style="width:10%">Województwo</th>
                        <td style="width:27%">
                          <xsl:value-of select="adr:Wojewodztwo"/>
                        </td>
                        <th style="width:10%">Powiat</th>
                        <td>
                          <xsl:value-of select="adr:Powiat">
    
    
                                                </xsl:value-of>
                        </td>
                        <th style="width:10%">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>
                      <tr>
                        <th>Telefon</th>
                        <td>
                          <xsl:value-of select="adr:Telefon">
    
    
                                                </xsl:value-of>
                        </td>
                        <th>E-mail</th>
                        <td colspan="3">
                          <xsl:value-of select="adr:Email">
    
    
                                                </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:Adres/@rodzaj"/>
                                                <xsl:value-of select="wnio:AdresKorespondencyjny/@wystepuje"/>
                                            </h4>
                      </th>
                    </tr>
                    <xsl:for-each select="wnio:AdresKorespondencyjny[@wystepuje='tak']">
                      <tr>
                        <th>Kraj</th>
                        <td colspan="5">
                          <xsl:value-of select="adr:Kraj"/>
                        </td>
                      </tr>
                      <tr>
                        <th style="width:10%">Województwo</th>
                        <td style="width:27%">
                          <xsl:value-of select="adr:Wojewodztwo"/>
                        </td>
                        <th style="width:10%">Powiat</th>
                        <td>
                          <xsl:value-of select="adr:Powiat">
    
    
                                                </xsl:value-of>
                        </td>
                        <th style="width:10%">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>
                      <tr>
                        <th>Telefon</th>
                        <td>
                          <xsl:value-of select="adr:Telefon">
    
    
                                                </xsl:value-of>
                        </td>
                        <th>E-mail</th>
                        <td colspan="3">
                          <xsl:value-of select="adr:Email">
    
    
                                                </xsl:value-of>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                  <table>
                    <tr>
                      <th colspan="6">
                        <h4>Pełnomocnik
                                                <xsl:value-of select="wnio:Pelnomocnik/@wystepuje"/>
                                            </h4>
                      </th>
                    </tr>
                    <xsl:for-each select="wnio:Pelnomocnik[@wystepuje='tak']">
                      <tr>
                        <th style="width:10%">Imię</th>
                        <td style="width:27%;">
                          <xsl:value-of select="oso:Imie">
    
    
                                                </xsl:value-of>
                        </td>
                        <th style="width:10%">Nazwisko</th>
                        <td>
                          <xsl:value-of select="oso:Nazwisko">
    
    
                                                </xsl:value-of>
                        </td>
                        <th style="width:10%">PESEL</th>
                        <td>
                          <xsl:value-of select="oso:PESEL">
    
    
                                                </xsl:value-of>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                </xsl:for-each>
                <h2>TREŚĆ DOKUMENTU</h2>
                <xsl:for-each select="wnio:Nieruchomosc">
                  <table>
                    <tr>
                      <th colspan="2">
                        <h4>TYTUŁ PRAWNY</h4>
                      </th>
                    </tr>
                    <xsl:for-each select="wnio:Skladajacy">
                      <tr>
                        <th style="width:40%">Forma władania nieruchomością:</th>
                        <th>
                          <xsl:if test="@typ='1'">własność</xsl:if>
                          <xsl:if test="@typ='2'">współwłasność</xsl:if>
                          <xsl:if test="@typ='3'">zarząd</xsl:if>
                          <xsl:if test="@typ='4'">użytkowanie wieczyste</xsl:if>
                          <xsl:if test="@typ='5'">inna</xsl:if>
                        </th>
                      </tr>
                      <xsl:if test="@typ='5'">
                        <tr>
                          <th>Inna forma władania</th>
                          <td>
                            <xsl:value-of select="wnio:Inna"/>
                          </td>
                        </tr>
                      </xsl:if>
                    </xsl:for-each>
                  </table>
                  <table>
                    <tbody>
                      <tr>
                        <th colspan="6">
                          <h4>INFORMACJE O NIERUCHOMOŚCI DLA KTÓREJ SKŁADANA JEST DEKLARACJA</h4>
                        </th>
                      </tr>
                      <tr>
                        <th>Miejscowość:</th>
                        <td colspan="3">
                          <xsl:value-of select="adr:Miejscowosc">
    
                                                </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th>Ulica:</th>
                        <td>
                          <xsl:value-of select="adr:Ulica">
    
                                                </xsl:value-of>
                        </td>
                        <th>Numer domu:</th>
                        <td>
                          <xsl:value-of select="adr:Budynek">
    
                                                </xsl:value-of>
                        </td>
                        <th>Numer lokalu:</th>
                        <td>
                          <xsl:value-of select="adr:Lokal"/>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                </xsl:for-each>
                <table>
                  <tbody>
                    <tr>
                      <th colspan="3" style="width:45%">Sposób zbierania odpadów na nieruchomości</th>
                      <td colspan="3">
                        <xsl:value-of select="wnio:SposobZbioru"/>
                      </td>
                    </tr>
                  </tbody>
                </table>
                <xsl:for-each select="wnio:D">
                  <table>
                    <tr>
                      <th colspan="10">
                        <h4>
                          <xsl:value-of select="wnio:Tytul"/>
                        </h4>
                      </th>
                    </tr>
                    <xsl:for-each select="wnio:CzI">
                      <tr>
                        <th colspan="10">
                          <h4>DOTYCZY WŁAŚCICIELA NIERUCHOMOŚCI ZAMIESZKAŁEJ PRZEZ 1-5 OSÓB</h4>
                        </th>
                      </tr>
                      <xsl:for-each select="wnio:Stawka">
                        <tr>
                          <th>
                            <b>
                              <xsl:value-of select="wnio:Tytul"/>
                            </b>
                            <br/>
                            <xsl:for-each select="wnio:Opis">
                              <xsl:value-of select="."/>
                            </xsl:for-each>
                          </th>
                          <td>
                            <xsl:value-of select="wnio:Wartosc"/>
                          </td>
                        </tr>
                      </xsl:for-each>
                      <xsl:for-each select="wnio:LiczbaOsob">
                        <tr>
                          <th>
                            <b>
                              <xsl:value-of select="wnio:Tytul"/>
                            </b>
                            <br/>
                            <xsl:for-each select="wnio:Opis">
                              <xsl:value-of select="."/>
                            </xsl:for-each>
                          </th>
                          <td>
                            <xsl:value-of select="wnio:Wartosc"/>
                          </td>
                        </tr>
                      </xsl:for-each>
                      <xsl:for-each select="wnio:KwotaOplaty">
                        <tr>
                          <th>
                            <b>
                              <xsl:value-of select="wnio:Tytul"/>
                            </b>
                            <br/>
                            <xsl:for-each select="wnio:Opis">
                              <xsl:value-of select="."/>
                            </xsl:for-each>
                          </th>
                          <td>
                            <xsl:value-of select="wnio:Wartosc"/>
                          </td>
                        </tr>
                      </xsl:for-each>
                      <xsl:for-each select="wnio:LacznaWysokosc">
                        <tr>
                          <th>
                            <b>
                              <xsl:value-of select="wnio:Tytul"/>
                            </b>
                            <br/>
                            <xsl:for-each select="wnio:Opis">
                              <xsl:value-of select="."/>
                            </xsl:for-each>
                          </th>
                          <td>
                            <xsl:value-of select="wnio:Wartosc"/>
                          </td>
                        </tr>
                      </xsl:for-each>
                    </xsl:for-each>
                    <xsl:for-each select="wnio:CzII">
                      <tr>
                        <th colspan="10">
                          <h4>DOTYCZY WŁAŚCICIELA NIERUCHOMOŚCI ZAMIESZKAŁEJ PRZEZ 6 OSÓB I WIĘCEJ
                                                </h4>
                        </th>
                      </tr>
                      <xsl:for-each select="wnio:A">
                        <tr>
                          <th colspan="10">
                            <b>1-5 OSÓB</b>
                          </th>
                        </tr>
                        <xsl:for-each select="wnio:Stawka">
                          <tr>
                            <th>
                              <b>
                                <xsl:value-of select="wnio:Tytul"/>
                              </b>
                              <br/>
                              <xsl:for-each select="wnio:Opis">
                                <xsl:value-of select="."/>
                              </xsl:for-each>
                            </th>
                            <td>
                              <xsl:value-of select="wnio:Wartosc"/>
                            </td>
                          </tr>
                        </xsl:for-each>
                        <xsl:for-each select="wnio:LiczbaOsob">
                          <tr>
                            <th>
                              <b>
                                <xsl:value-of select="wnio:Tytul"/>
                              </b>
                              <br/>
                              <xsl:for-each select="wnio:Opis">
                                <xsl:value-of select="."/>
                              </xsl:for-each>
                            </th>
                            <td>
                              <xsl:value-of select="wnio:Wartosc"/>
                            </td>
                          </tr>
                        </xsl:for-each>
                        <xsl:for-each select="wnio:KwotaOplaty">
                          <tr>
                            <th>
                              <b>
                                <xsl:value-of select="wnio:Tytul"/>
                              </b>
                              <br/>
                              <xsl:for-each select="wnio:Opis">
                                <xsl:value-of select="."/>
                              </xsl:for-each>
                            </th>
                            <td>
                              <xsl:value-of select="wnio:Wartosc"/>
                            </td>
                          </tr>
                        </xsl:for-each>
                        <xsl:for-each select="wnio:LacznaWysokosc">
                          <tr>
                            <th>
                              <b>
                                <xsl:value-of select="wnio:Tytul"/>
                              </b>
                              <br/>
                              <xsl:for-each select="wnio:Opis">
                                <xsl:value-of select="."/>
                              </xsl:for-each>
                            </th>
                            <td>
                              <xsl:value-of select="wnio:Wartosc"/>
                            </td>
                          </tr>
                        </xsl:for-each>
                      </xsl:for-each>
                      <xsl:for-each select="wnio:B">
                        <tr>
                          <th colspan="10">
                            <b>KAŻDA KOLEJNA OSOBA</b>
                          </th>
                        </tr>
                        <xsl:for-each select="wnio:Stawka">
                          <tr>
                            <th>
                              <b>
                                <xsl:value-of select="wnio:Tytul"/>
                              </b>
                              <br/>
                              <xsl:for-each select="wnio:Opis">
                                <xsl:value-of select="."/>
                              </xsl:for-each>
                            </th>
                            <td>
                              <xsl:value-of select="wnio:Wartosc"/>
                            </td>
                          </tr>
                        </xsl:for-each>
                        <xsl:for-each select="wnio:LiczbaOsob">
                          <tr>
                            <th>
                              <b>
                                <xsl:value-of select="wnio:Tytul"/>
                              </b>
                              <br/>
                              <xsl:for-each select="wnio:Opis">
                                <xsl:value-of select="."/>
                              </xsl:for-each>
                            </th>
                            <td>
                              <xsl:value-of select="wnio:Wartosc"/>
                            </td>
                          </tr>
                        </xsl:for-each>
                        <xsl:for-each select="wnio:KwotaOplaty">
                          <tr>
                            <th>
                              <b>
                                <xsl:value-of select="wnio:Tytul"/>
                              </b>
                              <br/>
                              <xsl:for-each select="wnio:Opis">
                                <xsl:value-of select="."/>
                              </xsl:for-each>
                            </th>
                            <td>
                              <xsl:value-of select="wnio:Wartosc"/>
                            </td>
                          </tr>
                        </xsl:for-each>
                        <xsl:for-each select="wnio:LacznaWysokosc">
                          <tr>
                            <th>
                              <b>
                                <xsl:value-of select="wnio:Tytul"/>
                              </b>
                              <br/>
                              <xsl:for-each select="wnio:Opis">
                                <xsl:value-of select="."/>
                              </xsl:for-each>
                            </th>
                            <td>
                              <xsl:value-of select="wnio:Wartosc"/>
                            </td>
                          </tr>
                        </xsl:for-each>
                      </xsl:for-each>
                      <tr>
                        <th>Suma opłat</th>
                        <td colspan="2"><xsl:value-of select="wnio:SumaOplat"/>
                                                zł
                                            </td>
                      </tr>
                      <xsl:for-each select="wnio:LacznaWysokosc">
                        <tr>
                          <th>
                            <xsl:value-of select="wnio:Tytul"/>
                          </th>
                          <td colspan="2"><xsl:value-of select="wnio:Wartosc"/>
                                                    zł
                                                </td>
                        </tr>
                      </xsl:for-each>
                    </xsl:for-each>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:E">
                  <table>
                    <tr>
                      <th colspan="10">
                        <h4>
                          <xsl:value-of select="wnio:Tytul"/>
                        </h4>
                      </th>
                    </tr>
                    <tr>
                      <th>L.p.</th>
                      <th>Imię dziecka</th>
                      <th>Nazwisko dziecka</th>
                      <th>Data urodzenia</th>
                      <th>Nr karty dużej rodziny oraz data jej obowiązywania</th>
                      <th>Kwota zwolnienia</th>
                      <th/>
                    </tr>
                    <xsl:for-each select="wnio:Zwolnienia">
                      <xsl:for-each select="wnio:Zwolnienie">
                        <tr class="tooWideInput">
                          <th>
                            <xsl:value-of select="position()"/>
                          </th>
                          <td>
                            <xsl:value-of select="oso:Imie"/>
                          </td>
                          <td>
                            <xsl:value-of select="oso:Nazwisko"/>
                          </td>
                          <td>
                            <xsl:value-of select="oso:DataUrodzenia"/>
                          </td>
                          <td>
                            <xsl:value-of select="wnio:NrKarty"/>
                          </td>
                          <td>
                            <xsl:value-of select="wnio:KwotaZwolnienia"/>
                          </td>
                          <th>
    
                                                </th>
                        </tr>
                      </xsl:for-each>
                    </xsl:for-each>
                    <tr>
                      <th colspan="6">Łączna kwota zwolnienia</th>
                      <td><xsl:value-of select="wnio:LacznaKwota"/>
                                            zł
                                        </td>
                    </tr>
                    <tr>
                      <th colspan="6">Miesięczna kwota opłaty dla rodziny wielodzietnej</th>
                      <td><xsl:value-of select="wnio:MiesiecznaKwotaOplaty"/>
                                            zł
                                        </td>
                    </tr>
                    <tr>
                      <th colspan="6">Łączna wysokość opłaty za gospodarowanie odpadami komunalnymi
                                            <br/>
                                            (za dwa miesiące kalendarzowe)
                                        </th>
                      <td><xsl:value-of select="../wnio:LacznaWysokoscOplaty"/>
                                            zł
                                        </td>
                    </tr>
                  </table>
                </xsl:for-each>
                <h2>STOPKA</h2>
                <table>
                  <tr>
                    <th colspan="6">
                      <h4>Wyrażam zgodę na kontakt:</h4>
                    </th>
                  </tr>
                  <xsl:for-each select="wnio:Podmiot/wnio:Kontakt">
                    <tr>
                      <td style="width:40%">
                        <xsl:if test="@rodzaj='email'">elektroniczny (e-mail)</xsl:if>
                        <xsl:if test="@rodzaj='telefoniczny'">telefoniczny</xsl:if>
                      </td>
                      <td style="width:40%">
                        <xsl:value-of select="."/>
                      </td>
                      <td style="width:10%">
                                        </td>
                    </tr>
                  </xsl:for-each>
                </table>
                <xsl:for-each select="str:Zalaczniki">
                  <table>
                    <tr>
                      <th colspan="3">
                        <h4>Załączniki:</h4>
                      </th>
                    </tr>
                    <tr>
                      <th>Opis</th>
                      <th>Plik</th>
                    </tr>
                    <xsl:for-each select="str:Zalacznik[@rodzajZalacznika='inny']">
                      <tr>
                        <td style="width:70%">
                          <xsl:value-of select="str:OpisZalacznika"/>
                        </td>
                        <td>
                          <xsl:value-of select="@nazwaPliku"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                </xsl:for-each>
                <table>
                  <tr>
                    <th>
                      <h4>OBJAŚNIENIA</h4>
                    </th>
                  </tr>
                  <tr>
                    <th>
                      <ol>
                        <xsl:for-each select="wnio:Objasnienia/wnio:Pkt">
                          <li>
                            <xsl:value-of select="."/>
                          </li>
                        </xsl:for-each>
                      </ol>
                    </th>
                  </tr>
                </table>
                <table>
                  <tr>
                    <th>
                      <h4>Pouczenie</h4>
                    </th>
                  </tr>
                  <tr>
                    <td>
                      <ol>
                        <xsl:for-each select="wnio:Pouczenie/wnio:Pkt">
                          <li>
                            <xsl:value-of select="."/>
                          </li>
                        </xsl:for-each>
                      </ol>
                    </td>
                  </tr>
                </table>
                <table>
                  <tr>
                    <th colspan="2">
                      <h4>Oświadczenie i podpis składającego deklarację:</h4>
                    </th>
                  </tr>
                  <tr>
                    <th>
                      <xsl:value-of select="wnio:Oswiadczenie"/>
                    </th>
                  </tr>
                  <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>Miejscowość</th>
                    <td>
                      <xsl:value-of select="wnio:MiejscowoscUzytkownika"/>
                    </td>
                  </tr>
                  <tr>
                    <th>Data wypełnienia deklaracji</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 name="PodmiotZobowiazanyDoZlozenia">
        <xsl:param name="wartosc"/>
        <xsl:choose>
          <xsl:when test="$wartosc='1'">właściciel</xsl:when>
          <xsl:when test="$wartosc='2'">współwłaściciel</xsl:when>
          <xsl:when test="$wartosc='3'">użytkownik wieczysty</xsl:when>
          <xsl:when test="$wartosc='4'">współużytkownik wieczysty</xsl:when>
          <xsl:when test="$wartosc='5'">posiadacz samoistny</xsl:when>
          <xsl:when test="$wartosc='6'">współposiadacz samoistny</xsl:when>
          <xsl:when test="$wartosc='7'">posiadacz zależny</xsl:when>
          <xsl:when test="$wartosc='8'">współposiadacz zależny</xsl:when>
          <xsl:otherwise>
            <xsl:value-of select="$wartosc"/>
          </xsl:otherwise>
        </xsl:choose>
        <xsl:text> </xsl:text>
        <xsl:value-of select="$wartosc/../wnio:PodmiotZobowiazanyDoZlozenia/@typ"/>
      </xsl:template>
      <xsl:template name="ObowiazekZlozeniaDeklaracji">
        <xsl:param name="okolicznosci"/>
        <xsl:choose>
          <xsl:when test="$okolicznosci='po_raz_pierwszy'">informacja składana po raz pierwszy</xsl:when>
          <xsl:when test="$okolicznosci='korekta'">korekta uprzednio złożonej informacji</xsl:when>
          <xsl:otherwise>
            <xsl:value-of select="$okolicznosci"/>
          </xsl:otherwise>
        </xsl:choose>
        <xsl:text> </xsl:text>
        <xsl:value-of select="$okolicznosci/wnio:Wartosc"/>
      </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>