5725

ID5725
Data2018-09-06
Symbol2018/09/06/5725
InstytucjaUrząd Miasta Jedlina-Zdrój
NazwaDeklaracja na podatek rolny
Czy Aktualny1

Ustawy (1)

  • URI://Dziennik_Ustaw/2017/1892/6a/12/1
  • Ustawa z dnia 15 listopada 1984 r. o podatku rolnym

    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/09/06/5725/" 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>
                <table style="margin:auto; width:280px;">
                  <tr>
                    <th>1. Rok:</th>
                    <td>
                      <xsl:value-of select="wnio:Rok">
                                     
                                    </xsl:value-of>
                    </td>
                  </tr>
                </table>
                <h2>NAGŁÓWEK</h2>
                <xsl:for-each select="wnio:Naglowek">
                  <table>
                    <tr>
                      <th rowspan="4">
                        <b>A.</b>
                      </th>
                      <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>
                    <tr>
                      <th>
                                        Miejsce składania:
                                      </th>
                      <th>
                        <xsl:value-of select="wnio:MiejsceSkladania"/>
                      </th>
                    </tr>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:Podmiot">
                  <table>
                    <tr>
                      <th>
                        <b>B.</b>
                      </th>
                      <th>Status składającego 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, w tym spółka, nieposiadająca osobowości prawnej
                                      </xsl:if>
                        <xsl:if test="./@typPodmiotu='spolka_bez_osobowosci_prawnej'">spółka
                                          nieposiadająca osobowości prawnej
                                      </xsl:if>
                      </td>
                    </tr>
                  </table>
                  <table>
                    <xsl:for-each select="../wnio:ObowiazekZlozeniaDeklaracji">
                      <tr>
                        <th colspan="2">
                          <h4>C. OBOWIĄZEK ZŁOŻENIA DEKLARACJI</h4>
                        </th>
                      </tr>
                      <tr>
                        <th colspan="2">
                  3. Cel złożenia formularza:
                </th>
                      </tr>
                      <tr>
                        <td colspan="2">
                          <xsl:if test="wnio:Wybor='1'">
                    1. Deklaracja roczna
                  </xsl:if>
                          <xsl:if test="wnio:Wybor='2'">
                   2. Korekta deklaracji rocznej
                  </xsl:if>
                        </td>
                      </tr>
                      <tr>
                        <th>
                  Stan obowiązywania na dzień
                </th>
                        <td>
                          <xsl:value-of select="wnio:StanObowiazywania">
                    
                  </xsl:value-of>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                  <table>
                    <tr>
                      <th>
                        <h4>
                  D. MIEJSCE SKŁADANIA DEKLARACJI
                </h4>
                      </th>
                    </tr>
                    <tr>
                      <th>
                Urząd Miasta/Gminy, do którego adresowana jest deklaracja
              </th>
                    </tr>
                    <tr>
                      <th>
                        <xsl:value-of select="../wnio:MiejsceSkladaniaDeklaracji"/>
                      </th>
                    </tr>
                  </table>
                  <table>
                    <tr>
                      <th colspan="6">
                        <h4>
                  E. DANE PODATNIKA
                </h4>
                      </th>
                    </tr>
                    <tr>
                      <th colspan="6">
                        <h4>
                  E.1 Dane identyfikacyjne
                </h4>
                      </th>
                    </tr>
                    <xsl:for-each select="wnio:OsobaFizyczna">
                      <tr>
                        <th>Nazwisko</th>
                        <td>
                  4.
                  <xsl:value-of select="oso:Nazwisko">
                   
                  </xsl:value-of>
                </td>
                        <th>Imię</th>
                        <td>
                  5.
                  <xsl:value-of select="oso:Imie">
                   
                  </xsl:value-of>
                </td>
                        <th>Drugie imię</th>
                        <td>
                          <xsl:value-of select="oso:ImieDrugie"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Identyfikator REGON</th>
                        <td>
                  6.
                  <xsl:value-of select="wnio:REGON">
                    
                  </xsl:value-of>
                </td>
                        <th>Numer PESEL</th>
                        <td>
                  7.
                  <xsl:value-of select="oso:PESEL">
                   
                  </xsl:value-of>
                </td>
                        <th>NIP</th>
                        <td>
                          <xsl:value-of select="oso:NIP"/>
                        </td>
                      </tr>
                      <tr>
                        <th>
                  Data urodzenia
                 
                </th>
                        <td>
                  8.
                  <xsl:value-of select="oso:DataUrodzenia">
                    
                  </xsl:value-of>
                </td>
                        <th>
                  Imię ojca
                 
                </th>
                        <td>
                  9.
                  <xsl:value-of select="oso:ImieOjca">
                   
                  </xsl:value-of>
                </td>
                        <th>
                  Imię matki
                  
                </th>
                        <td>
                  10.
                  <xsl:value-of select="oso:ImieMatki">
                   
                  </xsl:value-of>
                </td>
                      </tr>
                    </xsl:for-each>
                    <xsl:for-each select="wnio:OsobaNiefizyczna">
                      <tr>
                        <th>Nazwa pełna</th>
                        <td>
                  4.
                  <xsl:value-of select="inst:NazwaInstytucji">
                    
                  </xsl:value-of>
                </td>
                        <th>
                  Nazwa skrócona
                </th>
                        <td>
                  5.
                  <xsl:value-of select="wnio:NazwaSkrocona"/>
                </td>
                      </tr>
                      <tr>
                        <th>NIP</th>
                        <td>
                          <xsl:value-of select="inst:NIP">
                   
                  </xsl:value-of>
                        </td>
                        <th>Identyfikator REGON</th>
                        <td>
                  6.
                  <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="../@typPodmiotu ='osoba_fizyczna'">
                      E.2 Adres zamieszkania
                    </xsl:if>
                            <xsl:if test="../@typPodmiotu !='osoba_fizyczna'">
                      E.2 Adres siedziby
                    </xsl:if>
                          </h4>
                        </th>
                      </tr>
                      <tr>
                        <th>Kraj</th>
                        <td colspan="5">
                  11.
                  <xsl:value-of select="adr:Kraj">
                    
                  </xsl:value-of>
                </td>
                      </tr>
                      <tr>
                        <th>Województwo</th>
                        <td>
                  12.
                  <xsl:value-of select="adr:Wojewodztwo">
                   
                  </xsl:value-of>
                </td>
                        <th>Powiat</th>
                        <td>
                  13.
                  <xsl:value-of select="adr:Powiat">
                   
                  </xsl:value-of>
                </td>
                        <th>Gmina</th>
                        <td>
                  14.
                  <xsl:value-of select="adr:Gmina">
                    
                  </xsl:value-of>
                </td>
                      </tr>
                      <tr>
                        <th>Ulica</th>
                        <td>
                  15.
                  <xsl:value-of select="adr:Ulica">
                   
                  </xsl:value-of>
                </td>
                        <th>Nr domu</th>
                        <td>
                  16.
                  <xsl:value-of select="adr:Budynek">
                    
                  </xsl:value-of>
                </td>
                        <th>Nr lokalu</th>
                        <td>
                  17.
                  <xsl:value-of select="adr:Lokal">
                   
                  </xsl:value-of>
                </td>
                      </tr>
                      <tr>
                        <th>Miejscowość</th>
                        <td>
                  18.
                  <xsl:value-of select="adr:Miejscowosc"/>
                    
                </td>
                        <th>Kod pocztowy</th>
                        <td>
                  19.
                  <xsl:value-of select="adr:KodPocztowy"/>
                    
                </td>
                        <th>Poczta</th>
                        <td>
                  20.
                  <xsl:value-of select="adr:Poczta"/>
                    
                </td>
                      </tr>
                      <tr>
                        <th>
                  Telefon
                  
                </th>
                        <td>
                  21.
                  <xsl:value-of select="adr:Telefon">
                    
                  </xsl:value-of>
                </td>
                        <th>
                  Fax
                 
                </th>
                        <td>
                  22.
                  <xsl:value-of select="wnio:Fax"/>
                </td>
                        <th>
                  Adres e-mail
                  
                </th>
                        <td>
                  23.
                  <xsl:value-of select="adr:Email">
                   
                  </xsl:value-of>
                </td>
                      </tr>
                    </table>
                  </xsl:for-each>
                  <table>
                    <xsl:for-each select="../wnio:NumerRachunku">
                      <tr>
                        <th colspan="2">
                          <h4>E.3 Numer rachunku bankowego</h4>
                        </th>
                      </tr>
                      <tr>
                        <th>
                          <xsl:value-of select="wnio:Nazwa"/>
                        </th>
                        <td>
                  24.
                  <xsl:value-of select="wnio:NazwaBanku"/>
                </td>
                      </tr>
                      <tr>
                        <th>
                          <xsl:value-of select="wnio:Numer"/>
                        </th>
                        <td>
                  25.
                  <xsl:value-of select="wnio:NumerRachunkuBankowego"/>
                </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                  <table>
                    <tr>
                      <th colspan="6">
                        <h4>Adres korespondencyjny inny niż powyższy
                                                (<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>Województwo</th>
                        <td>
                          <xsl:value-of select="adr:Wojewodztwo"/>
                        </td>
                        <th>Powiat</th>
                        <td>
                          <xsl:value-of select="adr:Powiat"/>
                        </td>
                        <th>Gmina</th>
                        <td>
                          <xsl:value-of select="adr:Gmina"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Miejscowość</th>
                        <td>
                          <xsl:value-of select="adr:Miejscowosc"/>
                        </td>
                        <th>Kod pocztowy</th>
                        <td>
                          <xsl:value-of select="adr:KodPocztowy"/>
                        </td>
                        <th>Poczta</th>
                        <td>
                          <xsl:value-of select="adr:Poczta"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Ulica</th>
                        <td>
                          <xsl:value-of select="adr:Ulica"/>
                        </td>
                        <th>Nr domu</th>
                        <td>
                          <xsl:value-of select="adr:Budynek"/>
                        </td>
                        <th>Nr lokalu</th>
                        <td>
                          <xsl:value-of select="adr:Lokal"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Telefon</th>
                        <td>
                          <xsl:value-of select="adr:Telefon"/>
                        </td>
                        <th>
                                              Fax
                                             
                                            </th>
                        <td>
                                              22.
                                              <xsl:value-of select="wnio:Fax"/>
                                            </td>
                        <th>E-mail</th>
                        <td>
                          <xsl:value-of select="adr:Email"/>
                        </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>Imię</th>
                        <td>
                          <xsl:value-of select="oso:Imie"/>
                        </td>
                        <th>Nazwisko</th>
                        <td>
                          <xsl:value-of select="oso:Nazwisko"/>
                        </td>
                        <th>PESEL</th>
                        <td>
                          <xsl:value-of select="oso:PESEL"/>
                        </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:DanePrzedmiotowOpodatkowania">
                    <table>
                      <tr>
                        <th colspan="2">
                          <h4>
                            <xsl:value-of select="wnio:Tytul"/>
                          </h4>
                        </th>
                      </tr>
                      <xsl:for-each select="wnio:FormaWladania">
                        <tr>
                          <th>
                    Forma władania
                  </th>
                          <td>
                    26.
                    <xsl:value-of select="wnio:Wybor">
                      
                    </xsl:value-of>
                  </td>
                        </tr>
                      </xsl:for-each>
                      <tr>
                        <th>
                  Numer księgi wieczystej (zbioru dokumentów)
                </th>
                        <td>
                  27.
                  <xsl:value-of select="wnio:NrKW"/>
                </td>
                      </tr>
                      <tr>
                        <th>
                  Identyfikator działki (obręb, nr działki)
                </th>
                        <td>
                  28.
                  <xsl:value-of select="wnio:Identyfikator"/>
                </td>
                      </tr>
                      <tr>
                        <th>
                  ŁĄCZNA POWIERZCHNIA GRUNTU (w ha fizycznych)
                </th>
                        <td>
                  29.
                  <xsl:value-of select="wnio:LacznaPowierzchnia">
                    
                  </xsl:value-of>
                </td>
                      </tr>
                    </table>
                  </xsl:for-each>
                  <xsl:for-each select="wnio:DanePrzedmiotowAktualne">
                    <table>
                      <tr>
                        <th colspan="7">
                          <h4>
                            <xsl:value-of select="wnio:Tytul"/>
                          </h4>
                        </th>
                      </tr>
                      <tr>
                        <xsl:for-each select="wnio:Naglowki/wnio:Naglowek">
                          <th>
                            <b>
                              <xsl:value-of select="."/>
                            </b>
                          </th>
                        </xsl:for-each>
                      </tr>
                      <xsl:for-each select="wnio:Dzial">
                        <xsl:for-each select="wnio:Tytul">
                          <tr>
                            <th>
                              <b>
                                <xsl:value-of select="."/>
                              </b>
                            </th>
                            <th colspan="6"/>
                          </tr>
                        </xsl:for-each>
                        <xsl:for-each select="wnio:Wiersz">
                          <tr>
                            <th/>
                            <td>
                              <xsl:value-of select="wnio:PowierzchniaFiz/@numer"/>
                              <xsl:text>   </xsl:text>
                              <xsl:value-of select="wnio:PowierzchniaFiz">
                        
                      </xsl:value-of>
                            </td>
                            <th>
                              <b>
                                <xsl:value-of select="wnio:Klasa"/>
                              </b>
                            </th>
                            <th>
                              <b>
                                <xsl:value-of select="wnio:Przelicznik"/>
                              </b>
                            </th>
                            <td>
                              <xsl:value-of select="wnio:PowierzchniaPrzel/@numer"/>
                              <xsl:text>   </xsl:text>
                              <xsl:value-of select="wnio:PowierzchniaPrzel"/>
                            </td>
                            <td>
                              <xsl:value-of select="wnio:Stawka/@numer"/>
                              <xsl:text>   </xsl:text>
                              <xsl:value-of select="wnio:Stawka">
                    
                      </xsl:value-of>
                            </td>
                            <td>
                              <xsl:value-of select="wnio:Kwota/@numer"/>
                              <xsl:text>   </xsl:text>
                              <xsl:value-of select="wnio:Kwota"/>
                            </td>
                          </tr>
                        </xsl:for-each>
                      </xsl:for-each>
                      <xsl:for-each select="wnio:BezKlasy">
                        <xsl:for-each select="wnio:Wiersz">
                          <tr>
                            <th>
                              <b>
                                <xsl:value-of select="wnio:Tytul"/>
                              </b>
                            </th>
                            <td colspan="2">
                              <xsl:value-of select="wnio:PowierzchniaFiz/@numer"/>
                              <xsl:text>   </xsl:text>
                              <xsl:value-of select="wnio:PowierzchniaFiz"/>
                            </td>
                            <th>
                              <b>
                                <xsl:value-of select="wnio:Przelicznik"/>
                              </b>
                            </th>
                            <td>
                              <xsl:value-of select="wnio:PowierzchniaPrzel/@numer"/>
                              <xsl:text>   </xsl:text>
                              <xsl:value-of select="wnio:PowierzchniaPrzel"/>
                            </td>
                            <td>
                              <xsl:value-of select="wnio:Stawka/@numer"/>
                              <xsl:text>   </xsl:text>
                              <xsl:value-of select="wnio:Stawka"/>
                            </td>
                            <td>
                              <xsl:value-of select="wnio:Kwota/@numer"/>
                              <xsl:text>   </xsl:text>
                              <xsl:value-of select="wnio:Kwota"/>
                            </td>
                          </tr>
                        </xsl:for-each>
                      </xsl:for-each>
                      <xsl:for-each select="wnio:Razem">
                        <tr>
                          <th colspan="6">
                            <h4>
                      ŁĄCZNA KWOTA PODATKU DO ZAPŁATY (po zaokrągleniu do pełnych złotych)
                     
                    </h4>
                          </th>
                          <td>
                            <xsl:value-of select="wnio:LacznaKwotaPodatku/@numer"/>
                            <xsl:text>   </xsl:text>
                            <xsl:value-of select="wnio:LacznaKwotaPodatku"/>
                          </td>
                        </tr>
                      </xsl:for-each>
                    </table>
                  </xsl:for-each>
                  <table>
                    <tr>
                      <th>
                        <h4>H.</h4>
                      </th>
                      <th>
                143.
                <xsl:if test="wnio:OswiadczenieOGruntach='tak'">
                  Oświadczam, że nie posiadam gruntów na terenie innych gmin: tak
                </xsl:if>
                 <xsl:if test="wnio:OswiadczenieOGruntach!='tak'">
                  Oświadczam, że nie posiadam gruntów na terenie innych gmin: nie
                </xsl:if>
              </th>
                    </tr>
                  </table>
                  <xsl:for-each select="wnio:Zwolnienia">
                    <table>
                      <tr>
                        <th colspan="3">
                          <h4>
                            <xsl:value-of select="wnio:Tytul"/>
                          </h4>
                        </th>
                      </tr>
                      <tr>
                        <xsl:for-each select="wnio:Naglowki/wnio:Naglowek">
                          <th>
                            <b>
                              <xsl:value-of select="."/>
                            </b>
                          </th>
                        </xsl:for-each>
                      </tr>
                      <xsl:for-each select="wnio:Zwolnienie">
                        <tr>
                          <th>
                            <xsl:value-of select="wnio:Tytul"/>
                            <xsl:for-each select="wnio:Punkt">
                              <br/>
                              <xsl:value-of select="."/>
                            </xsl:for-each>
                            <br/>
                            <br/>
                            <xsl:if test="wnio:Tytul/@ulga='tak'">
                  
                      W przypadku korzystania z ulgi, po upływie okresu zwolnienia<br/>
                      <xsl:value-of select="wnio:Ulga/@numer"/><xsl:text>   </xsl:text>
                      Ulga:
                      <xsl:value-of select="wnio:Ulga">
                        
                      </xsl:value-of>
                    
                </xsl:if>
                          </th>
                          <td>
                            <xsl:value-of select="wnio:Powierzchnia/@numer"/>
                            <xsl:text>   </xsl:text>
                            <xsl:value-of select="wnio:Powierzchnia">
                     
                    </xsl:value-of>
                          </td>
                          <td>
                            <xsl:value-of select="wnio:KwotaZwolnienia/@numer"/>
                            <xsl:text>   </xsl:text>
                            <xsl:value-of select="wnio:KwotaZwolnienia">
                    
                    </xsl:value-of>
                          </td>
                        </tr>
                      </xsl:for-each>
                      <tr>
                        <th colspan="3">
                          <h4>ZWOLNIENIA PODMIOTOWE</h4>
                        </th>
                      </tr>
                      <xsl:for-each select="wnio:Podmiotowe">
                        <tr>
                          <th>
                            <xsl:value-of select="wnio:Tytul"/>
                          </th>
                          <td>
                            <xsl:value-of select="wnio:Powierzchnia/@numer"/>
                            <xsl:text>   </xsl:text>
                            <xsl:value-of select="wnio:Powierzchnia">
                    
                    </xsl:value-of>
                          </td>
                          <td>
                            <xsl:value-of select="wnio:KwotaZwolnienia/@numer"/>
                            <xsl:text>   </xsl:text>
                            <xsl:value-of select="wnio:KwotaZwolnienia">
                      
                    </xsl:value-of>
                          </td>
                        </tr>
                      </xsl:for-each>
                      <xsl:for-each select="wnio:LacznaKwotaZwolnienia">
                        <tr>
                          <th colspan="2">
                            <h4>
                              <xsl:value-of select="wnio:Tytul"/>
                            </h4>
                          </th>
                          <td>
                            <xsl:value-of select="wnio:KwotaZwolnieniaRazem/@numer"/>
                            <xsl:text>   </xsl:text>
                            <xsl:value-of select="wnio:KwotaZwolnieniaRazem"/>
                          </td>
                        </tr>
                      </xsl:for-each>
                    </table>
                  </xsl:for-each>
                  <xsl:for-each select="wnio:UlgiWPodatkuRolnym">
                    <table>
                      <tr>
                        <th colspan="3">
                          <h4>
                            <xsl:value-of select="wnio:Tytul"/>
                          </h4>
                        </th>
                      </tr>
                      <xsl:for-each select="wnio:Ulga">
                        <tr>
                          <th>
                            <xsl:value-of select="wnio:Tytul"/>
                          </th>
                          <td>
                            <xsl:value-of select="wnio:Powierzchnia/@numer"/>
                            <xsl:text>   </xsl:text>
                            <xsl:value-of select="wnio:Powierzchnia"/>
                          </td>
                          <td>
                            <xsl:value-of select="wnio:KwotaUlg/@numer"/>
                            <xsl:text>   </xsl:text>
                            <xsl:value-of select="wnio:KwotaUlg"/>
                          </td>
                        </tr>
                      </xsl:for-each>
                      <xsl:for-each select="wnio:LacznaKwotaUlg">
                        <tr>
                          <th colspan="2">
                            <h4>
                              <xsl:value-of select="wnio:Tytul"/>
                            </h4>
                          </th>
                          <td>
                            <xsl:value-of select="wnio:Wartosc/@numer"/>
                            <xsl:text>   </xsl:text>
                            <xsl:value-of select="wnio:Wartosc"/>
                          </td>
                        </tr>
                      </xsl:for-each>
                    </table>
                  </xsl:for-each>
                  <xsl:for-each select="wnio:ZR1/wnio:ZR1S">
                    <table>
                      <tr>
                        <th>
                          <h4>
                    Załącznik ZR-1 składany
                  </h4>
                        </th>
                        <th>
                          <xsl:if test="wnio:Wybor='1'">
                   tak
                  </xsl:if>
                          <xsl:if test="wnio:Wybor='2'">
                    nie
                  </xsl:if>
                        </th>
                      </tr>
                    </table>
                    <xsl:if test="wnio:Wybor='1'">
                      <table>
                        <tr>
                          <th colspan="2">
                            <h4>
                              <xsl:value-of select="wnio:Tytul"/>
                            </h4>
                          </th>
                        </tr>
                        <tr>
                          <th>
                            <h4>
                      A. POŁOŻENIE GRUNTU (ADRES)
                    </h4>
                          </th>
                          <td>
                    1.
                    <xsl:value-of select="wnio:Polozenie"/>
                  </td>
                        </tr>
                      </table>
                      <table>
                        <tr>
                          <th colspan="6">
                            <h4>
                      B. DANE IDENTYFIKACYJNE PODATNIKA
                    </h4>
                          </th>
                        </tr>
                        <xsl:if test="//wnio:Podmiot/@typPodmiotu='osoba_fizyczna'">
                          <xsl:for-each select="//wnio:Podmiot/wnio:OsobaFizyczna">
                            <tr>
                              <th>Nazwisko</th>
                              <td>
                        2.
                        <xsl:value-of select="oso:Nazwisko"/>
                          
                      </td>
                            </tr>
                            <tr>
                              <th>IDENTYFIKATOR PODATKOWY PESEL</th>
                              <td>
                        3.
                        <xsl:value-of select="oso:PESEL">
                         
                        </xsl:value-of>
                      </td>
                              <th>IDENTYFIKATOR PODATKOWY NIP</th>
                              <td>
                        4.
                        <xsl:value-of select="oso:NIP">
                         
                        </xsl:value-of>
                      </td>
                            </tr>
                          </xsl:for-each>
                        </xsl:if>
                        <xsl:if test="//wnio:Podmiot/@typPodmiotu!='osoba_fizyczna'">
                          <xsl:for-each select="//wnio:Podmiot/wnio:OsobaNiefizyczna">
                            <tr>
                              <th>Nazwa pełna</th>
                              <td colspan="3">
                        2.
                        <xsl:value-of select="inst:NazwaInstytucji">
                         
                        </xsl:value-of>
                      </td>
                            </tr>
                            <tr>
                              <th>IDENTYFIKATOR PODATKOWY PESEL</th>
                              <td>
                        3.
                        <xsl:value-of select="wnio:PESEL">
                         
                        </xsl:value-of>
                      </td>
                              <th>IDENTYFIKATOR PODATKOWY NIP</th>
                              <td>
                        4. <xsl:value-of select="inst:NIP">
                          
                        </xsl:value-of>
                      </td>
                            </tr>
                          </xsl:for-each>
                        </xsl:if>
                      </table>
                      <table>
                        <tr>
                          <th colspan="2">
                            <h4>
                      C. ZWOLNIENIA Z PODATKU ROLNEGO
                    </h4>
                          </th>
                        </tr>
                      </table>
                      <table>
                        <tr>
                          <th colspan="3">
                            <b>
                              <xsl:value-of select="wnio:PrzedmiotoweTytul"/>
                            </b>
                          </th>
                        </tr>
                        <tr>
                          <xsl:for-each select="wnio:Naglowki/wnio:Naglowek">
                            <th>
                              <b>
                                <xsl:value-of select="."/>
                              </b>
                            </th>
                          </xsl:for-each>
                        </tr>
                        <xsl:for-each select="wnio:Przedmiotowe">
                          <tr>
                            <th>
                              <xsl:value-of select="wnio:Tytul"/>
                              <xsl:for-each select="wnio:Punkt">
                                <br/>
                                <xsl:value-of select="."/>
                              </xsl:for-each>
                              <br/>
                              <br/>
                              <xsl:if test="wnio:Tytul/@ulga='tak'">
                    
                        W przypadku korzystania z ulgi, po upływie okresu zwolnienia<br/>
                        <xsl:if test="../../../wnio:Podmiot/@typPodmiotu='osoba_fizyczna'"><xsl:value-of select="wnio:Ulga/@numerf"/><xsl:text>   </xsl:text></xsl:if>
                        <xsl:if test="../../../wnio:Podmiot/@typPodmiotu!='osoba_fizyczna'"><xsl:value-of select="wnio:Ulga/@numerp"/><xsl:text>   </xsl:text></xsl:if>
                        Ulga:
                        <xsl:value-of select="wnio:Ulga">
                          
                        </xsl:value-of>
                      
                  </xsl:if>
                            </th>
                            <td>
                              <xsl:if test="../../../wnio:Podmiot/@typPodmiotu='osoba_fizyczna'">
                                <xsl:value-of select="wnio:Powierzchnia/@numerf"/>
                                <xsl:text>   </xsl:text>
                              </xsl:if>
                              <xsl:if test="../../../wnio:Podmiot/@typPodmiotu!='osoba_fizyczna'">
                                <xsl:value-of select="wnio:Powierzchnia/@numerp"/>
                                <xsl:text>   </xsl:text>
                              </xsl:if>
                              <xsl:value-of select="wnio:Powierzchnia">
                        
                      </xsl:value-of>
                            </td>
                            <td>
                              <xsl:if test="../../../wnio:Podmiot/@typPodmiotu='osoba_fizyczna'">
                                <xsl:value-of select="wnio:Kwota/@numerf"/>
                                <xsl:text>   </xsl:text>
                              </xsl:if>
                              <xsl:if test="../../../wnio:Podmiot/@typPodmiotu!='osoba_fizyczna'">
                                <xsl:value-of select="wnio:Kwota/@numerp"/>
                                <xsl:text>   </xsl:text>
                              </xsl:if>
                              <xsl:value-of select="wnio:Kwota">
                       
                      </xsl:value-of>
                            </td>
                          </tr>
                        </xsl:for-each>
                        <tr>
                          <th colspan="3">
                            <b>
                              <xsl:value-of select="wnio:PodmiotoweTytul"/>
                            </b>
                          </th>
                        </tr>
                        <xsl:for-each select="wnio:Podmiotowe">
                          <tr>
                            <th>
                              <xsl:value-of select="wnio:Tytul"/>
                            </th>
                            <td>
                              <xsl:if test="../../../wnio:Podmiot/@typPodmiotu='osoba_fizyczna'">
                                <xsl:value-of select="wnio:Powierzchnia/@numerf"/>
                                <xsl:text>   </xsl:text>
                              </xsl:if>
                              <xsl:if test="../../../wnio:Podmiot/@typPodmiotu!='osoba_fizyczna'">
                                <xsl:value-of select="wnio:Powierzchnia/@numerp"/>
                                <xsl:text>   </xsl:text>
                              </xsl:if>
                              <xsl:value-of select="wnio:Powierzchnia">
                        
                      </xsl:value-of>
                            </td>
                            <td>
                              <xsl:if test="../../../wnio:Podmiot/@typPodmiotu='osoba_fizyczna'">
                                <xsl:value-of select="wnio:Kwota/@numerf"/>
                                <xsl:text>   </xsl:text>
                              </xsl:if>
                              <xsl:if test="../../../wnio:Podmiot/@typPodmiotu!='osoba_fizyczna'">
                                <xsl:value-of select="wnio:Kwota/@numerp"/>
                                <xsl:text>   </xsl:text>
                              </xsl:if>
                              <xsl:value-of select="wnio:Kwota">
                      
                      </xsl:value-of>
                            </td>
                          </tr>
                        </xsl:for-each>
                        <xsl:for-each select="wnio:Inne">
                          <tr>
                            <th>
                      Inne (należy podać podstawę prawną):<br/>
                      <xsl:value-of select="wnio:Tytul"/>
                    </th>
                            <td>
                              <xsl:if test="../../../wnio:Podmiot/@typPodmiotu='osoba_fizyczna'">
                                <xsl:value-of select="wnio:Powierzchnia/@numerf"/>
                                <xsl:text>   </xsl:text>
                              </xsl:if>
                              <xsl:if test="../../../wnio:Podmiot/@typPodmiotu!='osoba_fizyczna'">
                                <xsl:value-of select="wnio:Powierzchnia/@numerp"/>
                                <xsl:text>   </xsl:text>
                              </xsl:if>
                              <xsl:value-of select="wnio:Powierzchnia">
                       
                      </xsl:value-of>
                            </td>
                            <td>
                              <xsl:if test="../../../wnio:Podmiot/@typPodmiotu='osoba_fizyczna'">
                                <xsl:value-of select="wnio:Kwota/@numerf"/>
                                <xsl:text>   </xsl:text>
                              </xsl:if>
                              <xsl:if test="../../../wnio:Podmiot/@typPodmiotu!='osoba_fizyczna'">
                                <xsl:value-of select="wnio:Kwota/@numerp"/>
                                <xsl:text>   </xsl:text>
                              </xsl:if>
                              <xsl:value-of select="wnio:Kwota">
                        
                      </xsl:value-of>
                            </td>
                          </tr>
                        </xsl:for-each>
                        <tr>
                          <th colspan="2">
                            <h4>
                      ŁĄCZNA KWOTA ZWOLNIENIA (po zaokrągleniu do pełnych złotych)
                    </h4>
                          </th>
                          <td>
                            <xsl:if test="../../wnio:Podmiot/@typPodmiotu='osoba_fizyczna'">
                              <xsl:value-of select="wnio:KwotaRazem/@numerf"/>
                              <xsl:text>   </xsl:text>
                            </xsl:if>
                            <xsl:if test="../../wnio:Podmiot/@typPodmiotu!='osoba_fizyczna'">
                              <xsl:value-of select="wnio:KwotaRazem/@numerp"/>
                              <xsl:text>   </xsl:text>
                            </xsl:if>
                            <xsl:value-of select="wnio:KwotaRazem"/>
                          </td>
                        </tr>
                      </table>
                      <xsl:for-each select="wnio:UlgiRolne">
                        <table>
                          <tr>
                            <th colspan="3">
                              <h4>
                                <xsl:value-of select="../wnio:UlgiTytul"/>
                              </h4>
                            </th>
                          </tr>
                          <tr>
                            <xsl:for-each select="wnio:Naglowki/wnio:Naglowek">
                              <th>
                                <b>
                                  <xsl:value-of select="."/>
                                </b>
                              </th>
                            </xsl:for-each>
                          </tr>
                          <xsl:for-each select="wnio:UlgaRolna">
                            <tr>
                              <th>
                                <xsl:value-of select="wnio:Tytul"/>
                                <br/>
                                <br/>
                                <xsl:if test="wnio:Tytul/@ulga='tak'"><xsl:value-of select="wnio:Ulga/@numer"/><xsl:text>   </xsl:text>
                          Ulga:
                          <xsl:value-of select="wnio:Ulga">
                            
                          </xsl:value-of>
                       
                        
                    </xsl:if>
                              </th>
                              <td>
                                <xsl:if test="../../../../wnio:Podmiot/@typPodmiotu='osoba_fizyczna'">
                                  <xsl:value-of select="wnio:Powierzchnia/@numerf"/>
                                  <xsl:text>   </xsl:text>
                                </xsl:if>
                                <xsl:if test="../../../../wnio:Podmiot/@typPodmiotu!='osoba_fizyczna'">
                                  <xsl:value-of select="wnio:Powierzchnia/@numerp"/>
                                  <xsl:text>   </xsl:text>
                                </xsl:if>
                                <xsl:value-of select="wnio:Powierzchnia">
                          
                        </xsl:value-of>
                              </td>
                              <td>
                                <xsl:if test="../../../../wnio:Podmiot/@typPodmiotu='osoba_fizyczna'">
                                  <xsl:value-of select="wnio:KwotaRolny/@numerf"/>
                                  <xsl:text>   </xsl:text>
                                </xsl:if>
                                <xsl:if test="../../../../wnio:Podmiot/@typPodmiotu!='osoba_fizyczna'">
                                  <xsl:value-of select="wnio:KwotaRolny/@numerp"/>
                                  <xsl:text>   </xsl:text>
                                </xsl:if>
                                <xsl:value-of select="wnio:KwotaRolny">
                          
                        </xsl:value-of>
                              </td>
                            </tr>
                          </xsl:for-each>
                          <xsl:for-each select="wnio:InneRolne">
                            <tr>
                              <th>
                        Inne (należy podać podstawę prawną):<br/>
                        <xsl:value-of select="wnio:Tytul"/>
                      </th>
                              <td>
                                <xsl:if test="../../../../wnio:Podmiot/@typPodmiotu='osoba_fizyczna'">
                                  <xsl:value-of select="wnio:Powierzchnia/@numerf"/>
                                  <xsl:text>   </xsl:text>
                                </xsl:if>
                                <xsl:if test="../../../../wnio:Podmiot/@typPodmiotu!='osoba_fizyczna'">
                                  <xsl:value-of select="wnio:Powierzchnia/@numerp"/>
                                  <xsl:text>   </xsl:text>
                                </xsl:if>
                                <xsl:value-of select="wnio:Powierzchnia">
                         
                        </xsl:value-of>
                              </td>
                              <td>
                                <xsl:if test="../../../../wnio:Podmiot/@typPodmiotu='osoba_fizyczna'">
                                  <xsl:value-of select="wnio:KwotaRolny/@numerf"/>
                                  <xsl:text>   </xsl:text>
                                </xsl:if>
                                <xsl:if test="../../../../wnio:Podmiot/@typPodmiotu!='osoba_fizyczna'">
                                  <xsl:value-of select="wnio:KwotaRolny/@numerp"/>
                                  <xsl:text>   </xsl:text>
                                </xsl:if>
                                <xsl:value-of select="wnio:KwotaRolny">
                         
                        </xsl:value-of>
                              </td>
                            </tr>
                          </xsl:for-each>
                          <tr>
                            <th colspan="2">
                              <h4>
                        ŁĄCZNA KWOTA ULG (po zaokrągleniu do pełnych złotych)
                      </h4>
                            </th>
                            <td>
                              <xsl:if test="../../../wnio:Podmiot/@typPodmiotu='osoba_fizyczna'">
                                <xsl:value-of select="wnio:KwotaRolnyRazem/@numerf"/>
                                <xsl:text>   </xsl:text>
                              </xsl:if>
                              <xsl:if test="../../../wnio:Podmiot/@typPodmiotu!='osoba_fizyczna'">
                                <xsl:value-of select="wnio:KwotaRolnyRazem/@numerp"/>
                                <xsl:text>   </xsl:text>
                              </xsl:if>
                              <xsl:value-of select="wnio:KwotaRolnyRazem"/>
                            </td>
                          </tr>
                        </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>J. PODPIS PODATNIKA / OSOBY REPREZENTUJĄCEJ PODATNIKA</h4>
                    </th>
                  </tr>
                  <tr>
                    <th>Imię</th>
                    <td>
                                    193.
                                    <xsl:value-of select="oso:Imie">
                                     
                                    </xsl:value-of>
                                  </td>
                  </tr>
                  <tr>
                    <th>Nazwisko</th>
                    <td>
                                    194.
                                    <xsl:value-of select="oso:Nazwisko">
                                      
                                    </xsl:value-of>
                                  </td>
                  </tr>
                  <tr>
                    <th>Data wypełnienia zgłoszenia</th>
                    <td>
                                    195.
                                    <xsl:value-of select="wnio:DataWypelnienia"/>
                                  </td>
                  </tr>
                </table>
                <xsl:for-each select="wnio:Pouczenie">
                  <table>
                    <tr>
                      <th style="text-align: center;">
                        <b>Pouczenie:</b>
                      </th>
                    </tr>
                    <tr>
                      <th>
                        <xsl:value-of select="wnio:I"/>
                        <br/>
                        <xsl:value-of select="wnio:II"/>
                      </th>
                    </tr>
                  </table>
                </xsl:for-each>
              </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>