7880

ID7880
Data2019-06-04
Symbol2019/06/04/7880
InstytucjaUrząd Miejski w Ożarowie
NazwaWniosek o udzielenie zwolnienia i ulgi w podatku rolnym z tytułu nabycia gruntów
Czy Aktualny1

Ustawy (1)

  • URI://Dziennik_Ustaw/2019/700/16b/1
  • Ustawa z dnia 17 lutego 2005 o informatyzacji działalności podmiotów realizujących zadania publiczne

    Pliki

    Styl

    <?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wnio="http://crd.gov.pl/wzor/2019/06/04/7880/" 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="max-width: 900px; margin: 0 auto;">
              <xsl:for-each select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc">
                <h1 style="text-align: center;">
                  <xsl:value-of select="//wnio:NazwaFormularza"/>
                </h1>
                <h2>NAGŁÓWEK</h2>
                <table border="1px">
                  <tr>
                    <th style="width:15%">Miejsce składania:</th>
                    <th>
                      <xsl:value-of select="wnio:MiejsceSkladania"/>
                    </th>
                  </tr>
                </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_fizyczna2'">osoba fizyczna prowadząca
                                                działalność gospodarczą
                                            </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 = 'inna'">inny podmiot</xsl:if>
                        <xsl:if test="@typPodmiotu = 'inna'">
                          <xsl:value-of select="//wnio:Inna"/>
                        </xsl:if>
                      </td>
                    </tr>
                    <xsl:for-each select="wnio:OsobaFizyczna">
                      <tr>
                        <th style="width:10%">Nazwisko</th>
                        <td style="width:25%">
                          <xsl:value-of select="oso:Nazwisko"/>
                        </td>
                        <th style="width:10%">Imię</th>
                        <td style="width:25%">
                          <xsl:value-of select="oso:Imie"/>
                        </td>
                        <th style="width:10%">Drugie imię</th>
                        <td>
                          <xsl:value-of select="oso:ImieDrugie"/>
                        </td>
                      </tr>
                      <tr>
                        <th style="width:10%">Data urodzenia</th>
                        <td style="width:25%">
                          <xsl:value-of select="oso:DataUrodzenia"/>
                        </td>
                        <th style="width:10%">PESEL</th>
                        <td style="width:25%">
                          <xsl:value-of select="oso:PESEL"/>
                        </td>
                        <th style="width:10%">NIP</th>
                        <td style="width:25%">
                          <xsl:value-of select="oso:NIP"/>
                        </td>
                      </tr>
                      <tr>
                        <th style="width:10%">Imię matki</th>
                        <td style="width:25%">
                          <xsl:value-of select="oso:ImieMatki"/>
                        </td>
                        <th style="width:10%">Imię ojca</th>
                        <td style="width:25%">
                          <xsl:value-of select="oso:ImieOjca"/>
                        </td>
                        <th colspan="2"/>
                      </tr>
                    </xsl:for-each>
                    <xsl:for-each select="wnio:OsobaFizyczna2">
                      <tr>
                        <th style="width:10%">Nazwa pełna</th>
                        <td colspan="5" style="width:25%">
                          <xsl:value-of select="inst:NazwaInstytucji"/>
                        </td>
                      </tr>
                      <tr>
                        <th style="width:10%">Nazwa skrócona</th>
                        <td colspan="5" style="width:25%">
                          <xsl:value-of select="wnio:NazwaSkrocona"/>
                        </td>
                      </tr>
                      <tr>
                        <th style="width:10%">Nazwisko</th>
                        <td style="width:25%">
                          <xsl:value-of select="oso:Nazwisko"/>
                        </td>
                        <th style="width:10%">Imię</th>
                        <td style="width:25%">
                          <xsl:value-of select="oso:Imie"/>
                        </td>
                        <th style="width:10%">Drugie imię</th>
                        <td>
                          <xsl:value-of select="oso:ImieDrugie"/>
                        </td>
                      </tr>
                      <tr>
                        <th style="width:10%">Data urodzenia</th>
                        <td style="width:25%">
                          <xsl:value-of select="oso:DataUrodzenia"/>
                        </td>
                        <th style="width:10%">PESEL</th>
                        <td style="width:25%">
                          <xsl:value-of select="oso:PESEL"/>
                        </td>
                        <th style="width:10%">NIP</th>
                        <td style="width:25%">
                          <xsl:value-of select="oso:NIP"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                    <xsl:for-each select="wnio:OsobaNiefizyczna">
                      <tr>
                        <th style="width:10%">Nazwa pełna</th>
                        <td colspan="5" style="width:25%">
                          <xsl:value-of select="inst:NazwaInstytucji"/>
                        </td>
                      </tr>
                      <tr>
                        <th style="width:10%">Nazwa skrócona</th>
                        <td colspan="5" style="width:25%">
                          <xsl:value-of select="wnio:NazwaSkrocona"/>
                        </td>
                      </tr>
                      <tr>
                        <th style="width:10%">NIP</th>
                        <td style="width:25%">
                          <xsl:value-of select="inst:NIP"/>
                        </td>
                        <th style="width:10%">REGON</th>
                        <td style="width:25%">
                          <xsl:value-of select="inst:REGON"/>
                        </td>
                        <th style="width:10%">KRS</th>
                        <td>
                          <xsl:value-of select="inst:KRS"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                  <xsl:for-each select="wnio:Adres">
                    <table>
                      <tr>
                        <th colspan="6">
                          <xsl:if test="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/wnio:Podmiot/@typPodmiotu='osoba_fizyczna'">
                            <h4>Adres zamieszkania</h4>
                          </xsl:if>
                          <xsl:if test="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/wnio:Podmiot/@typPodmiotu='osoba_fizyczna2'">
                            <h4>Adres zamieszkania</h4>
                          </xsl:if>
                          <xsl:if test="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/wnio:Podmiot/@typPodmiotu='osoba_prawna'">
                            <h4>Adres siedziby</h4>
                          </xsl:if>
                          <xsl:if test="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/wnio:Podmiot/@typPodmiotu='jednostka_organizacyjna'">
                            <h4>Adres siedziby</h4>
                          </xsl:if>
                          <xsl:if test="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/wnio:Podmiot/@typPodmiotu='inna'">
                            <h4>Adres siedziby</h4>
                          </xsl:if>
                        </th>
                      </tr>
                      <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>E-mail</th>
                        <td colspan="3">
                          <xsl:value-of select="adr:Email"/>
                        </td>
                      </tr>
                    </table>
                  </xsl:for-each>
                  <table>
                    <tr>
                      <th colspan="6">
                        <h4>Adres korespondencyjny inny niż powyższy
                                                <xsl:value-of select="wnio:AdresKorespondencyjny/@wystepuje"/>
                                            </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>E-mail</th>
                        <td colspan="3">
                          <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 style="width: 10%">Imię</th>
                        <td style="width: 23%">
                          <xsl:value-of select="oso:Imie"/>
                        </td>
                        <th style="width: 10%">Nazwisko</th>
                        <td style="width: 23%">
                          <xsl:value-of select="oso:Nazwisko"/>
                        </td>
                        <th style="width: 10%">PESEL</th>
                        <td style="width: 23%">
                          <xsl:value-of select="oso:PESEL"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                  <table>
                    <tr>
                      <th>Współwłaściciel:</th>
                      <th>
                        <xsl:value-of select="//wnio:CzyWspowlasciciel"/>
                      </th>
                    </tr>
                  </table>
                  <xsl:if test="//wnio:CzyWspowlasciciel='Tak'">
                    <xsl:for-each select="//wnio:Wspolwlasciciel">
                      <table>
                        <tr>
                          <th colspan="6">
                            <h4>Wnioskodawca II</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_fizyczna2'">osoba fizyczna
                                                        prowadząca działalność gospodarczą
                                                    </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 = 'inna'">inny podmiot</xsl:if>
                            <xsl:if test="@typPodmiotu = 'inna'">
                              <xsl:value-of select="//wnio:Inna2"/>
                            </xsl:if>
                          </td>
                        </tr>
                        <xsl:for-each select="wnio:OsobaFizyczna">
                          <tr>
                            <th style="width:10%">Nazwisko</th>
                            <td style="width:25%">
                              <xsl:value-of select="oso:Nazwisko"/>
                            </td>
                            <th style="width:10%">Imię</th>
                            <td style="width:25%">
                              <xsl:value-of select="oso:Imie"/>
                            </td>
                            <th style="width:10%">Drugie imię</th>
                            <td>
                              <xsl:value-of select="oso:ImieDrugie"/>
                            </td>
                          </tr>
                          <tr>
                            <th style="width:10%">Data urodzenia</th>
                            <td style="width:25%">
                              <xsl:value-of select="oso:DataUrodzenia"/>
                            </td>
                            <th style="width:10%">PESEL</th>
                            <td style="width:25%">
                              <xsl:value-of select="oso:PESEL"/>
                            </td>
                            <th style="width:10%">NIP</th>
                            <td style="width:25%">
                              <xsl:value-of select="oso:NIP"/>
                            </td>
                          </tr>
                          <tr>
                            <th style="width:10%">Imię matki</th>
                            <td style="width:25%">
                              <xsl:value-of select="oso:ImieMatki"/>
                            </td>
                            <th style="width:10%">Imię ojca</th>
                            <td style="width:25%">
                              <xsl:value-of select="oso:ImieOjca"/>
                            </td>
                            <th colspan="2"/>
                          </tr>
                        </xsl:for-each>
                        <xsl:for-each select="wnio:OsobaFizyczna2">
                          <tr>
                            <th style="width:10%">Nazwa pełna</th>
                            <td colspan="5" style="width:25%">
                              <xsl:value-of select="inst:NazwaInstytucji"/>
                            </td>
                          </tr>
                          <tr>
                            <th style="width:10%">Nazwa skrócona</th>
                            <td colspan="5" style="width:25%">
                              <xsl:value-of select="wnio:NazwaSkrocona"/>
                            </td>
                          </tr>
                          <tr>
                            <th style="width:10%">Nazwisko</th>
                            <td style="width:25%">
                              <xsl:value-of select="oso:Nazwisko"/>
                            </td>
                            <th style="width:10%">Imię</th>
                            <td style="width:25%">
                              <xsl:value-of select="oso:Imie"/>
                            </td>
                            <th style="width:10%">Drugie imię</th>
                            <td>
                              <xsl:value-of select="oso:ImieDrugie"/>
                            </td>
                          </tr>
                          <tr>
                            <th style="width:10%">Data urodzenia</th>
                            <td style="width:25%">
                              <xsl:value-of select="oso:DataUrodzenia"/>
                            </td>
                            <th style="width:10%">PESEL</th>
                            <td style="width:25%">
                              <xsl:value-of select="oso:PESEL"/>
                            </td>
                            <th style="width:10%">NIP</th>
                            <td style="width:25%">
                              <xsl:value-of select="oso:NIP"/>
                            </td>
                          </tr>
                        </xsl:for-each>
                        <xsl:for-each select="wnio:OsobaNiefizyczna">
                          <tr>
                            <th style="width:10%">Nazwa pełna</th>
                            <td colspan="5" style="width:25%">
                              <xsl:value-of select="inst:NazwaInstytucji"/>
                            </td>
                          </tr>
                          <tr>
                            <th style="width:10%">Nazwa skrócona</th>
                            <td colspan="5" style="width:25%">
                              <xsl:value-of select="wnio:NazwaSkrocona"/>
                            </td>
                          </tr>
                          <tr>
                            <th style="width:10%">NIP</th>
                            <td style="width:25%">
                              <xsl:value-of select="inst:NIP"/>
                            </td>
                            <th style="width:10%">REGON</th>
                            <td style="width:25%">
                              <xsl:value-of select="inst:REGON"/>
                            </td>
                            <th style="width:10%">KRS</th>
                            <td>
                              <xsl:value-of select="inst:KRS"/>
                            </td>
                          </tr>
                        </xsl:for-each>
                      </table>
                      <xsl:for-each select="wnio:Adres">
                        <table>
                          <tr>
                            <th colspan="6">
                              <xsl:if test="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/wnio:Wspolwlasciciel/@typPodmiotu='osoba_fizyczna'">
                                <h4>Adres zamieszkania</h4>
                              </xsl:if>
                              <xsl:if test="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/wnio:Wspolwlasciciel/@typPodmiotu='osoba_fizyczna2'">
                                <h4>Adres zamieszkania</h4>
                              </xsl:if>
                              <xsl:if test="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/wnio:Wspolwlasciciel/@typPodmiotu='osoba_prawna'">
                                <h4>Adres siedziby</h4>
                              </xsl:if>
                              <xsl:if test="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/wnio:Wspolwlasciciel/@typPodmiotu='jednostka_organizacyjna'">
                                <h4>Adres siedziby</h4>
                              </xsl:if>
                              <xsl:if test="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/wnio:Wspolwlasciciel/@typPodmiotu='inna'">
                                <h4>Adres siedziby</h4>
                              </xsl:if>
                            </th>
                          </tr>
                          <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>E-mail</th>
                            <td colspan="3">
                              <xsl:value-of select="adr:Email"/>
                            </td>
                          </tr>
                        </table>
                      </xsl:for-each>
                      <table>
                        <tr>
                          <th colspan="6">
                            <h4>Adres korespondencyjny inny niż powyższy
                                                        <xsl:value-of select="wnio:AdresKorespondencyjny/@wystepuje"/>
                                                    </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>E-mail</th>
                            <td colspan="3">
                              <xsl:value-of select="adr:Email"/>
                            </td>
                          </tr>
                        </xsl:for-each>
                      </table>
                    </xsl:for-each>
                  </xsl:if>
                </xsl:for-each>
                <h2>TREŚĆ FORMULARZA</h2>
                <table>
                  <xsl:for-each select="wnio:Wniosek">
                    <table>
                      <tr>
                        <th colspan="2">Zwracam się z prośbą o zastosowanie zwolnienia i ulgi w podatku
                                                rolnym z tytułu nabycia gruntów na
                                            </th>
                        <td colspan="2">
                          <xsl:if test="//wnio:Wniosek/@typ='utworzenie'">utworzenie gospodarstwa
                                                    rolnego
                                                </xsl:if>
                          <xsl:if test="//wnio:Wniosek/@typ='powiekszenie'">powiększenie gospodarstwa
                                                    rolnego
                                                </xsl:if>
                        </td>
                      </tr>
                      <tr>
                        <th colspan="3">
                                                Grunty nabyłem/am na podstawie umowy sprzedaży w formie aktu notarialnego Nr
                                                Rep
                                                <xsl:value-of select="wnio:nrAktuNotarialnego"/> z dnia
                                                <xsl:value-of select="wnio:NabylemWDniu"/> o pow
                                                <xsl:value-of select="wnio:Powierzchnia"/> ha, działki nr
                                                <xsl:value-of select="wnio:NumerDzialki"/> położone w obrębie
                                                <xsl:value-of select="wnio:Obreb"/>
                                            </th>
                      </tr>
                    </table>
                  </xsl:for-each>
                </table>
                <table>
                  <tr>
                    <th style="text-align: center;">
                      <h4>
                                            OŚWIADCZENIE
                                        </h4>
                    </th>
                  </tr>
                  <tr>
                    <th>
                      <xsl:value-of select="//wnio:Oswiadczenie123"/>
                      <ul>
                        <li>
                          <xsl:value-of select="//wnio:Oswiadczenie1123"/>
                        </li>
                        <li>
                          <xsl:value-of select="//wnio:Oswiadczenie2123"/>
                        </li>
                        <li>
                          <xsl:value-of select="//wnio:Oswiadczenie3123"/>
                        </li>
                      </ul>
                    </th>
                  </tr>
                </table>
                <xsl:for-each select="wnio:Informacje">
                  <table>
                    <tr>
                      <th>
                        <xsl:value-of select="//wnio:Podst1"/>
                        <br/>
                        <br/>
                        <xsl:value-of select="//wnio:Podst2"/>
                        <br/>
                        <xsl:value-of select="//wnio:Podst3"/>
                        <br/>
                        <br/>
                        <xsl:value-of select="//wnio:Podst4"/>
                        <br/>
                        <xsl:value-of select="//wnio:Podst5"/>
                      </th>
                    </tr>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:Oswiadczenie1">
                  <table>
                    <tr>
                      <th style="text-align: center;">
                        <h4>
                                                OŚWIADCZENIE
                                            </h4>
                      </th>
                    </tr>
                    <tr>
                      <th>
                        <xsl:value-of select="wnio:Oswiadczenie1"/>
                        <br/>
                        <xsl:value-of select="wnio:Oswiadczenie2"/>
                      </th>
                    </tr>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:Oswiadczenie2">
                  <table>
                    <tr>
                      <th colspan="2" style="text-align: center;">
                        <h4>
                                                OŚWIADCZENIE O POMOCY
                                                <i>DE MINIMIS</i>
                                            </h4>
                      </th>
                    </tr>
                    <tr>
                      <th>
                                            Oświadczam, iż
                                            <br/>
                                            <xsl:value-of select="wnio:PelnaNazw"/>
                                        </th>
                      <td>
                        <xsl:if test="//wnio:OswiadczamIz='nie uzyskal'">W okresie w ciągu bieżącego
                                                roku podatkowego oraz dwóch poprzedzających go lat podatkowych nie uzyskał/a
                                                pomocy publicznej de minimis
                                            </xsl:if>
                        <xsl:if test="//wnio:OswiadczamIz='uzyskal'">W okresie w ciągu bieżącego roku
                                                podatkowego oraz dwóch poprzedzających go lat budżetowych uzyskał/a pomoc
                                                publiczną de minimis w następującej wielkości (proszę wypełnić poniższą
                                                tabelę)
                                            </xsl:if>
                      </td>
                    </tr>
                  </table>
                  <xsl:if test="//wnio:OswiadczamIz='uzyskal'">
                    <xsl:for-each select="//wnio:PomocDeminimis">
                      <table class="tab">
                        <tbody>
                          <tr>
                            <th rowspan="2">Podmiot udzielający pomocy</th>
                            <th rowspan="2">Podstawa prawna otrzymanej pomocy</th>
                            <th rowspan="2">Dzień udzielenia pomocy (dzień-miesiąc-rok)</th>
                            <th colspan="2">Wartość pomocy brutto</th>
                          </tr>
                          <tr>
                            <th>w PLN</th>
                            <th>w EUR</th>
                          </tr>
                        </tbody>
                        <xsl:for-each select="wnio:DeMinimis">
                          <tbody>
                            <tr>
                              <td>
                                <xsl:value-of select="wnio:Podmiot"/>
                              </td>
                              <td>
                                <xsl:value-of select="wnio:Podstawa"/>
                              </td>
                              <td>
                                <xsl:value-of select="wnio:Dzien"/>
                              </td>
                              <td>
                                <xsl:value-of select="wnio:PLN"/>
                              </td>
                              <td>
                                <xsl:value-of select="wnio:EUR"/>
                              </td>
                            </tr>
                          </tbody>
                        </xsl:for-each>
                        <tr>
                          <td colspan="2"/>
                          <th>Łączna wartość
                                                    <i>de minimis</i>
                                                </th>
                          <td>
                            <xsl:value-of select="wnio:SumaPLN"/>
                          </td>
                          <td>
                            <xsl:value-of select="wnio:SumaEUR"/>
                          </td>
                        </tr>
                      </table>
                    </xsl:for-each>
                    <table>
                      <tr>
                        <th>Oświadczam, że dane zawarte w niniejszej informacji są zgodne ze stanem
                                                faktycznym.
                                            </th>
                      </tr>
                    </table>
                  </xsl:if>
                </xsl:for-each>
                <table>
                  <tr>
                    <th>
                      <xsl:value-of select="//wnio:KolejnaInformacja"/>
                    </th>
                  </tr>
                </table>
                <table>
                  <tr>
                    <th>
                      <h4>OŚWIADCZENIE</h4>
                    </th>
                  </tr>
                  <tr>
                    <th>
                      <xsl:value-of select="//wnio:OstatnieOswiadczenie"/>
                    </th>
                  </tr>
                </table>
                <h2>STOPKA</h2>
                <table>
                  <tr>
                    <th colspan="6">
                      <h4>Wyrażam zgodę na kontakt:</h4>
                    </th>
                  </tr>
                  <xsl:for-each select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/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>
                    </tr>
                  </xsl:for-each>
                </table>
                <xsl:for-each select="str:Zalaczniki">
                  <table>
                    <tr>
                      <th colspan="4">
                        <h4>Załączniki:</h4>
                      </th>
                    </tr>
                    <tr>
                      <th>Opis</th>
                      <th>Plik</th>
                    </tr>
                    <xsl:for-each select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/str:Zalaczniki/str:Zalacznik[@rodzajZalacznika='domyslny']">
                      <tr>
                        <td style="width:40%">
                          <xsl:value-of select="str:OpisZalacznika"/>
                        </td>
                        <td>
                          <xsl:value-of select="@nazwaPliku"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                    <xsl:for-each select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/str:Zalaczniki/str:Zalacznik[@rodzajZalacznika='inny']">
                      <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:for-each select="wnio:Oswiadczenie3">
                  <table>
                    <tr>
                      <th style="text-align: center;">
                        <h4>
                                                OŚWIADCZENIE
                                            </h4>
                      </th>
                    </tr>
                    <tr>
                      <th>
                        <xsl:value-of select="wnio:Oswiadczenie31"/>
                      </th>
                    </tr>
                  </table>
                </xsl:for-each>
                <table>
                  <tr>
                    <th colspan="2">
                      <h4>Podpis osoby zeznającej:</h4>
                    </th>
                  </tr>
                  <tr>
                    <th>Imię</th>
                    <td>
                      <xsl:value-of select="oso:Imie"/>
                    </td>
                  </tr>
                  <tr>
                    <th>Nazwisko</th>
                    <td>
                      <xsl:value-of select="oso:Nazwisko"/>
                    </td>
                  </tr>
                  <tr>
                    <th>Data wypełnienia</th>
                    <td>
                      <xsl:value-of select="wnio:DataWypelnienia"/>
                    </td>
                  </tr>
                </table>
              </xsl:for-each>
              <xsl:call-template name="Podpisy_elektroniczne"/>
            </div>
          </body>
        </html>
      </xsl:template>
      <xsl:template name="TypPodmiotu">
        <xsl:param name="podmiot"/>
        <xsl:choose>
          <xsl:when test="$podmiot/@typPodmiotu='osoba_fizyczna'">osoba fizyczna</xsl:when>
          <xsl:when test="$podmiot/@typPodmiotu='osoba_prawna'">osoba prawna</xsl:when>
          <xsl:when test="$podmiot/@typPodmiotu='jednostka_organizacyjna'">jednostka organizacyjna nie mająca
                    osobowiści prawnej
                </xsl:when>
          <xsl:otherwise>
            <xsl:value-of select="$podmiot/wnio:Podmiot/@typPodmiotu"/>
          </xsl:otherwise>
        </xsl:choose>
        <xsl:text> </xsl:text>
        <xsl:value-of select="$podmiot/wnio:Podmiot/@typPodmiotu"/>
      </xsl:template>
      <xsl:template name="TypSKladajacy">
        <xsl:param name="wartosc"/>
        <xsl:choose>
          <xsl:when test="$wartosc/@typ=''">
            <span style="color:red;">Nie wybrano formy władania</span>
          </xsl:when>
          <xsl:when test="$wartosc/@typ='1'">własność</xsl:when>
          <xsl:when test="$wartosc/@typ='2'">współwłasność</xsl:when>
          <xsl:when test="$wartosc/@typ='3'">użytkowanie wieczyste</xsl:when>
          <xsl:when test="$wartosc/@typ='4'">współużytkowanie wieczyste</xsl:when>
          <xsl:when test="$wartosc/@typ='5'">posiadanie zależne</xsl:when>
          <xsl:when test="$wartosc/@typ='6'">współposiadanie zależne</xsl:when>
          <xsl:when test="$wartosc/@typ='7'">posiadanie samoistne</xsl:when>
          <xsl:when test="$wartosc/@typ='8'">współposiadanie samoistne</xsl:when>
          <xsl:otherwise>
            <xsl:value-of select="$wartosc/wnio:Skladajacy/@typ"/>
          </xsl:otherwise>
        </xsl:choose>
        <xsl:text> </xsl:text>
        <xsl:value-of select="$wartosc/wnio:Skladajacy/@typ"/>
      </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>