7293

ID7293
Data2019-03-14
Symbol2019/03/14/7293
InstytucjaUrząd Miasta Jedlina-Zdrój
NazwaInformacja o lasach
Czy Aktualny1

Ustawy (1)

  • URI://Dziennik_Ustaw/2017/1821/6/10/1
  • Ustawa z dnia 30 października 2002 r. o podatku leśnym

    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/03/14/7293/" 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="wnio:Dokument">
        <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:Dokument/wnio:TrescDokumentu/wnio:Wartosc">
                <h1>
                  <xsl:if test="./@rodzaj='3'">Informacja o lasach</xsl:if>
                </h1>
                <table style="margin:auto; width:280px;">
                  <tr>
                    <th>1. Na rok:</th>
                    <td>
                      <xsl:value-of select="wnio:Rok"/>
                    </td>
                  </tr>
                </table>
                <h2>NAGŁÓWEK</h2>
                <table>
                  <xsl:for-each select="wnio:Naglowek">
                    <tr>
                      <th>Podstawa prawna:</th>
                      <xsl:for-each select="wnio:Podstawy">
                        <th>
                          <xsl:if test="../../@rodzaj='3'">
                            <xsl:value-of select="wnio:Podstawa3"/>
                          </xsl:if>
                        </th>
                      </xsl:for-each>
                    </tr>
                    <tr>
                      <th>Składający:</th>
                      <th>
                        <xsl:for-each select="wnio:Skladajacy">
                          <b>
                            <xsl:value-of select="wnio:Poczatek"/>
                          </b>
                          <xsl:if test="../../@rodzaj='3'">
                            <xsl:value-of select="wnio:Sklada3"/>
                          </xsl:if>
                        </xsl:for-each>
                      </th>
                    </tr>
                    <tr>
                      <th>Termin składania:</th>
                      <th>
                        <xsl:value-of select="wnio:Termin"/>
                      </th>
                    </tr>
                    <tr>
                      <th>Miejsce składania:</th>
                      <th>
                        <xsl:value-of select="wnio:Miejsce"/>
                      </th>
                    </tr>
                  </xsl:for-each>
                </table>
                <xsl:for-each select="wnio:Okolicznosci">
                  <table>
                    <tr>
                      <th colspan="2">
                        <h4>
                          <xsl:value-of select="wnio:Tytul"/>
                        </h4>
                      </th>
                    </tr>
                    <tr>
                      <th colspan="2">
                        <xsl:value-of select="wnio:Podtytul"/>
                      </th>
                    </tr>
                    <tr>
                      <th colspan="2">
                        <xsl:if test="wnio:Wartosc = '1'">Informacja składana po raz pierwszy</xsl:if>
                        <xsl:if test="wnio:Wartosc = '2'">Korekta uprzednio złożonej informacji</xsl:if>
                      </th>
                    </tr>
                    <tr>
                      <th>
                                            Data nabycia / data zmiany:
                                        </th>
                      <td>
                        <xsl:value-of select="wnio:Data"/>
                      </td>
                    </tr>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:Naglowek/wnio:MiejsceSkladaniaDokladne">
                  <table>
                    <tr>
                      <th>
                        <h4>
                                                B. MIEJSCE SKŁADANIA INFORMACJI
                                            </h4>
                      </th>
                    </tr>
                    <tr>
                      <th>
                                            Urząd Miasta/Gminy, do którego adresowana jest informacja
                                        </th>
                    </tr>
                    <tr>
                      <td>
                        <xsl:value-of select="."/>
                      </td>
                    </tr>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:Podmioty">
                  <table>
                    <tr>
                      <th colspan="6">
                        <h4>
                          <xsl:value-of select="wnio:Tytul"/>
                        </h4>
                      </th>
                    </tr>
                    <xsl:for-each select="wnio:Podmiot">
                      <tr>
                        <th colspan="6">
                          <b><xsl:value-of select="concat('C.', position(), '.', '1')"/>
                                                    DANE IDENTYFIKACYJNE
                                                </b>
                        </th>
                      </tr>
                      <tr>
                        <th><xsl:value-of select="concat((((position()*23)-23)+3), '.')"/> Nazwisko
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:Nazwisko"/>
                        </td>
                        <th><xsl:value-of select="concat((((position()*23)-23)+4), '.')"/> Imię
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:Imie"/>
                        </td>
                        <th><xsl:value-of select="concat((((position()*23)-23)+5), '.')"/> Drugie imię
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:ImieDrugie"/>
                        </td>
                      </tr>
                      <tr>
                        <th><xsl:value-of select="concat((((position()*23)-23)+6), '.')"/> Identyfikator
                                                podatkowy PESEL
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:IdOsoby/wnio:PESEL"/>
                        </td>
                        <th><xsl:value-of select="concat((((position()*23)-23)+7), '.')"/> Identyfikator
                                                podatkowy NIP
                                            </th>
                        <td colspan="3">
                          <xsl:value-of select="wnio:IdOsoby/wnio:NIP"/>
                        </td>
                      </tr>
                      <tr>
                        <th><xsl:value-of select="concat((((position()*23)-23)+8), '.')"/> Identyfikator
                                                REGON
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:REGON"/>
                        </td>
                        <th><xsl:value-of select="concat((((position()*23)-23)+9), '.')"/> Klasa PKD/EKD
                                            </th>
                        <td colspan="3">
                          <xsl:value-of select="wnio:PKD"/>
                        </td>
                      </tr>
                      <tr>
                        <th colspan="6">
                                                Pola imię ojca, imię matki i data urodzenia wypełnić w przypadku, gdy numer
                                                PESEL nie został nadany.
                                            </th>
                      </tr>
                      <tr>
                        <th><xsl:value-of select="concat((((position()*23)-23)+10), '.')"/> Data
                                                urodzenia
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:DataUrodzenia"/>
                        </td>
                        <th><xsl:value-of select="concat((((position()*23)-23)+11), '.')"/> Imię ojca
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:ImieOjca"/>
                        </td>
                        <th><xsl:value-of select="concat(position()*23-23+12, '.')"/> Imię matki
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:ImieMatki"/>
                        </td>
                      </tr>
                      <tr>
                        <th colspan="6">
                          <b><xsl:value-of select="concat('C.', position(), '.', '2')"/>
                                                    ADRES ZAMIESZKANIA
                                                </b>
                        </th>
                      </tr>
                      <tr>
                        <th><xsl:value-of select="concat(position()*23-23+13, '.')"/> Kraj
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:Adres/wnio:Kraj"/>
                        </td>
                        <th><xsl:value-of select="concat((((position()*23)-23)+14), '.')"/> Województwo
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:Adres/wnio:Wojewodztwo"/>
                        </td>
                        <th><xsl:value-of select="concat((((position()*23)-23)+15), '.')"/> Powiat
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:Adres/wnio:Powiat"/>
                        </td>
                      </tr>
                      <tr>
                        <th><xsl:value-of select="concat((((position()*23)-23)+16), '.')"/> Gmina
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:Adres/wnio:Gmina"/>
                        </td>
                        <th><xsl:value-of select="concat((((position()*23)-23)+17), '.')"/> Ulica
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:Adres/wnio:Ulica"/>
                        </td>
                        <th><xsl:value-of select="concat((((position()*23)-23)+18), '.')"/> Nr domu
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:Adres/wnio:Budynek"/>
                        </td>
                      </tr>
                      <tr>
                        <th><xsl:value-of select="concat((((position()*23)-23)+19), '.')"/> Nr lokalu
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:Adres/wnio:Lokal"/>
                        </td>
                        <th><xsl:value-of select="concat((((position()*23)-23)+20), '.')"/> Miejscowość
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:Adres/wnio:Miejscowosc"/>
                        </td>
                        <th><xsl:value-of select="concat((((position()*23)-23)+21), '.')"/> Kod pocztowy
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:Adres/wnio:KodPocztowy"/>
                        </td>
                      </tr>
                      <tr>
                        <th><xsl:value-of select="concat((((position()*23)-23)+22), '.')"/> Poczta
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:Adres/wnio:Poczta"/>
                        </td>
                        <th><xsl:value-of select="concat((((position()*23)-23)+23), '.')"/> Telefon
                                                kontaktowy
                                            </th>
                        <td colspan="3">
                          <xsl:value-of select="wnio:Adres/wnio:Telefon"/>
                        </td>
                      </tr>
                      <tr>
                        <th><xsl:value-of select="concat((((position()*23)-23)+24), '.')"/> Fax
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:Adres/wnio:Fax"/>
                        </td>
                        <th><xsl:value-of select="concat((((position()*23)-23)+25), '.')"/> Adres e-mail
                                            </th>
                        <td colspan="3">
                          <xsl:value-of select="wnio:Adres/wnio:Email"/>
                        </td>
                      </tr>
                      <tr>
                        <th colspan="6">
                          <b>
                                                    Adres korespondencyjny (wypełnić w przypadku, gdy adres ten jest inny
                                                    niż adres
                                                    zamieszkania) występuje:
                                                    (<xsl:value-of select="wnio:AdresKorespondencyjny/@wystepuje"/>)
                                                </b>
                        </th>
                      </tr>
                      <xsl:for-each select="wnio:AdresKorespondencyjny/wnio:Adres">
                        <tr>
                          <th>Kraj</th>
                          <td>
                            <xsl:value-of select="adr:Kraj"/>
                          </td>
                          <th>Województwo</th>
                          <td>
                            <xsl:value-of select="adr:Wojewodztwo"/>
                          </td>
                          <th>Powiat</th>
                          <td>
                            <xsl:value-of select="adr:Powiat"/>
                          </td>
                        </tr>
                        <tr>
                          <th>Gmina</th>
                          <td>
                            <xsl:value-of select="adr:Gmina"/>
                          </td>
                          <th>Ulica</th>
                          <td>
                            <xsl:value-of select="adr:Ulica"/>
                          </td>
                          <th>Nr domu</th>
                          <td>
                            <xsl:value-of select="adr:Budynek"/>
                          </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>Nr lokalu</th>
                          <td>
                            <xsl:value-of select="adr:Lokal"/>
                          </td>
                        </tr>
                        <tr>
                          <th>Telefon kontaktowy</th>
                          <td>
                            <xsl:value-of select="adr:Telefon"/>
                          </td>
                          <th>Adres e-mail</th>
                          <td colspan="3">
                            <xsl:value-of select="adr:Email"/>
                          </td>
                        </tr>
                      </xsl:for-each>
                    </xsl:for-each>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:Dane">
                  <table>
                    <tr>
                      <th colspan="4">
                        <h4>
                          <xsl:value-of select="wnio:Tytul"/>
                        </h4>
                      </th>
                    </tr>
                    <tr>
                      <th>
                        <xsl:value-of select="wnio:PodTytul"/>
                      </th>
                      <td colspan="3">
                                            49.
                                            <xsl:value-of select="wnio:Polozenie"/>
                                        </td>
                    </tr>
                    <tr>
                      <th>
                                            Forma władania
                                        </th>
                      <td colspan="3">
                                            50.
                                            <xsl:if test="wnio:Wybor = '1'">własność</xsl:if>
                                            <xsl:if test="wnio:Wybor = '2'">współwłasność</xsl:if>
                                            <xsl:if test="wnio:Wybor = '3'">użytkowanie wieczyste</xsl:if>
                                            <xsl:if test="wnio:Wybor = '4'">współużytkowanie wieczyste</xsl:if>
                                            <xsl:if test="wnio:Wybor = '5'">posiadanie zależne</xsl:if>
                                            <xsl:if test="wnio:Wybor = '6'">współposiadanie zależne</xsl:if>
                                            <xsl:if test="wnio:Wybor = '7'">posiadanie samoistne</xsl:if>
                                            <xsl:if test="wnio:Wybor = '8'">współposiadanie samoistne</xsl:if>
                                        </td>
                    </tr>
                    <tr>
                      <th rowspan="2">
                                            Tytuł prawny władania nieruchomością (akt notarialny, umowa, postanowienie sądu
                                            itp.)
                                        </th>
                      <th>
                                            Data podpisania dokumentu
                                        </th>
                      <th colspan="2">
                                            Oznaczenie dokumentu (repertorium, nr, sygn. akt)
                                        </th>
                    </tr>
                    <tr>
                      <td>
                                            51.
                                            <xsl:value-of select="wnio:Data"/>
                                        </td>
                      <td colspan="2">
                                            52.
                                            <xsl:value-of select="wnio:Oznaczenie"/>
                                        </td>
                    </tr>
                    <tr>
                      <th>
                                            Nr księgi wieczystej dla gruntu
                                        </th>
                      <td colspan="3">
                                            53.
                                            <xsl:value-of select="wnio:NrKsiegiGrunty"/>
                                        </td>
                    </tr>
                    <tr>
                      <th>
                                            Nr księgi wieczystej dla budynku/lokalu (należy uzupełnić, jeżeli takie księgi
                                            zostały wyodrębnione)
                                        </th>
                      <td colspan="3">
                                            54.
                                            <xsl:value-of select="wnio:NrKsiegiBudynki"/>
                                        </td>
                    </tr>
                    <tr>
                      <th>
                                            Identyfikator działki, budynku, lokalu (obręb, nr działki, nr budynku, nr
                                            lokalu)
                                        </th>
                      <td>
                                            55. Działka
                                            <xsl:value-of select="wnio:Dzialka"/>
                                        </td>
                      <td>
                                            56. Budynek
                                            <xsl:value-of select="wnio:Budynek"/>
                                        </td>
                      <td>
                                            57. Lokal
                                            <xsl:value-of select="wnio:Lokal"/>
                                        </td>
                    </tr>
                  </table>
                </xsl:for-each>
                <h2>TREŚĆ DOKUMENTU</h2>
                <xsl:if test="./@rodzaj='3'">
                  <xsl:for-each select="wnio:Lesny">
                    <table>
                      <tr>
                        <th>
                          <h4>
                            <xsl:value-of select="wnio:Tytul"/>
                          </h4>
                        </th>
                      </tr>
                    </table>
                    <xsl:for-each select="wnio:PowierzchniaNiepodlegajacych">
                      <table>
                        <tr>
                          <th colspan="2">
                            <h4>
                              <xsl:value-of select="wnio:Tytul"/>
                            </h4>
                          </th>
                        </tr>
                        <tr>
                          <xsl:for-each select="wnio:Naglowki/wnio:Naglowek">
                            <th/>
                            <th>
                              <b>
                                <xsl:value-of select="."/>
                              </b>
                            </th>
                          </xsl:for-each>
                        </tr>
                        <xsl:for-each select="wnio:Wiersz">
                          <tr>
                            <th>
                              <xsl:value-of select="wnio:Tytul"/>
                            </th>
                            <td>
                              <xsl:value-of select="wnio:Powierzchnia/@numer"/>
                              <xsl:value-of select="' '"/>
                              <xsl:value-of select="wnio:Powierzchnia"/>
                            </td>
                          </tr>
                        </xsl:for-each>
                        <xsl:for-each select="wnio:Razem">
                          <tr>
                            <th>
                              <xsl:value-of select="wnio:Tytul"/>
                            </th>
                            <td>
                              <xsl:value-of select="wnio:Powierzchnia/@numer"/>
                              <xsl:value-of select="' '"/>
                              <xsl:value-of select="format-number(wnio:Powierzchnia, '0.0000')"/>
                            </td>
                          </tr>
                        </xsl:for-each>
                      </table>
                    </xsl:for-each>
                  </xsl:for-each>
                </xsl:if>
                <h2>STOPKA</h2>
                <xsl:for-each select="wnio:Zalaczniki">
                  <table>
                    <tr>
                      <th colspan="4">
                        <h4>H. INFORMACJA O ZAŁĄCZNIKACH (do niniejszej informacji dołączono następujące
                                                załączniki)
                                            </h4>
                      </th>
                    </tr>
                    <tr>
                      <th colspan="3">
                                            Rodzaj załącznika
                                        </th>
                      <th>
                                            Liczba załączników
                                        </th>
                    </tr>
                    <tr>
                      <th>
                                            148. nr 3
                                        </th>
                      <td>
                        <xsl:if test="wnio:Wybor1 = '1'">tak</xsl:if>
                        <xsl:if test="wnio:Wybor1 = '2'">nie</xsl:if>
                      </td>
                      <td rowspan="3">151.</td>
                      <td>
                        <xsl:value-of select="count(wnio:Wybor1[.='1'])"/>
                      </td>
                    </tr>
                    <tr>
                      <th>
                                            149. nr 4
                                        </th>
                      <td>
                        <xsl:if test="wnio:Wybor2 = '1'">tak</xsl:if>
                        <xsl:if test="wnio:Wybor2 = '2'">nie</xsl:if>
                      </td>
                      <td>
                        <xsl:value-of select="count(wnio:Wybor2[.='1'])"/>
                      </td>
                    </tr>
                    <tr>
                      <th>
                                            150. nr 5:
                                        </th>
                      <td/>
                      <td>
                        <xsl:if test="../@rodzaj='3'">
                          <xsl:value-of select="count(wnio:ZL1[.='1'])"/>
                        </xsl:if>
                      </td>
                    </tr>
                    <xsl:if test="../@rodzaj='3'">
                      <tr>
                        <th>ZL-1</th>
                        <td>
                          <xsl:if test="wnio:ZL1 = '1'">tak</xsl:if>
                          <xsl:if test="wnio:ZL1 = '2'">nie</xsl:if>
                        </td>
                        <td colspan="2"/>
                      </tr>
                    </xsl:if>
                  </table>
                  <xsl:if test="wnio:Wybor1 = '1'">
                    <table>
                      <tr>
                        <th colspan="6">
                          <h4>ZN-1 DANE O PODATNIKACH</h4>
                        </th>
                      </tr>
                      <tr>
                        <th colspan="6">
                          <h4>A. DANE PODATNIKA / PODATNIKÓW</h4>
                        </th>
                      </tr>
                      <xsl:for-each select="wnio:Podatnik">
                        <tr>
                          <th>
                            <h4>
                              <xsl:value-of select="concat('A.', position())"/>
                            </h4>
                          </th>
                          <th colspan="5">
                            <h4><xsl:value-of select="concat('A.', position(), '.1')"/> DANE
                                                        IDENTYFIKACYJNE
                                                    </h4>
                          </th>
                        </tr>
                        <tr>
                          <th>
                                                    Nazwisko
                                                </th>
                          <td>
                            <xsl:value-of select="concat((count(current()/preceding::oso:Nazwisko)+1)*21-21+1, '.')"/>
                            <xsl:value-of select="' '"/>
                            <xsl:value-of select="oso:Nazwisko"/>
                          </td>
                          <th>
                                                    Imię
                                                </th>
                          <td>
                            <xsl:value-of select="concat((count(current()/preceding::oso:Imie)+1)*21-21+2, '.')"/>
                            <xsl:value-of select="' '"/>
                            <xsl:value-of select="oso:Imie"/>
                          </td>
                          <th>
                                                    Drugie imię
                                                </th>
                          <td>
                            <xsl:value-of select="concat((count(current()/preceding::oso:ImieDrugie)+1)*21-21+3, '.')"/>
                            <xsl:value-of select="' '"/>
                            <xsl:value-of select="oso:ImieDrugie"/>
                          </td>
                        </tr>
                        <tr>
                          <th>
                                                    Identyfikator podatkowy PESEL
                                                </th>
                          <td>
                            <xsl:value-of select="concat((count(current()/preceding::oso:PESEL)+1)*21-21+4, '.')"/>
                            <xsl:value-of select="' '"/>
                            <xsl:value-of select="oso:PESEL"/>
                          </td>
                          <th>
                                                    NIP
                                                </th>
                          <td colspan="3">
                            <xsl:value-of select="concat((count(current()/preceding::oso:NIP)+1)*21-21+5, '.')"/>
                            <xsl:value-of select="' '"/>
                            <xsl:value-of select="oso:NIP"/>
                          </td>
                        </tr>
                        <tr>
                          <th colspan="6">
                                                    Pola data urodzenia, imię ojca, imię matki należy wypełnić w przypadku,
                                                    gdy numer PESEL nie został nadany.
                                                </th>
                        </tr>
                        <tr>
                          <th>
                                                    Data urodzenia
                                                </th>
                          <td>
                            <xsl:value-of select="concat((count(current()/preceding::oso:DataUrodzenia)+1)*21-21+6, '.')"/>
                            <xsl:value-of select="' '"/>
                            <xsl:value-of select="oso:DataUrodzenia"/>
                          </td>
                          <th>
                                                    Imię ojca
                                                </th>
                          <td>
                            <xsl:value-of select="concat((count(current()/preceding::oso:ImieOjca)+1)*21-21+7, '.')"/>
                            <xsl:value-of select="' '"/>
                            <xsl:value-of select="oso:ImieOjca"/>
                          </td>
                          <th>
                                                    Imię matki
                                                </th>
                          <td>
                            <xsl:value-of select="concat((count(current()/preceding::oso:ImieMatki)+1)*21-21+8, '.')"/>
                            <xsl:value-of select="' '"/>
                            <xsl:value-of select="oso:ImieMatki"/>
                          </td>
                        </tr>
                        <tr>
                          <th/>
                          <th colspan="5">
                            <h4><xsl:value-of select="concat('A.', position(), '.2')"/> ADRES
                                                        ZAMIESZKANIA
                                                    </h4>
                          </th>
                        </tr>
                        <xsl:for-each select="adr:Adres">
                          <tr>
                            <th>Kraj</th>
                            <td>
                              <xsl:value-of select="concat((count(current()/preceding::adr:Kraj)+1)*21-21+9, '.')"/>
                              <xsl:value-of select="' '"/>
                              <xsl:value-of select="adr:Kraj"/>
                            </td>
                            <th>Województwo</th>
                            <td>
                              <xsl:value-of select="concat((count(current()/preceding::adr:Wojewodztwo))*21-21+10, '.')"/>
                              <xsl:value-of select="' '"/>
                              <xsl:value-of select="adr:Wojewodztwo"/>
                            </td>
                            <th>Powiat</th>
                            <td>
                              <xsl:value-of select="concat((count(current()/preceding::adr:Powiat))*21-21+11, '.')"/>
                              <xsl:value-of select="' '"/>
                              <xsl:value-of select="adr:Powiat"/>
                            </td>
                          </tr>
                          <tr>
                            <th>Gmina</th>
                            <td>
                              <xsl:value-of select="concat((count(current()/preceding::adr:Gmina))*21-21+12, '.')"/>
                              <xsl:value-of select="' '"/>
                              <xsl:value-of select="adr:Gmina"/>
                            </td>
                            <th>Ulica</th>
                            <td>
                              <xsl:value-of select="concat((count(current()/preceding::adr:Ulica)-3+1)*21-21+13, '.')"/>
                              <xsl:value-of select="' '"/>
                              <xsl:value-of select="adr:Ulica"/>
                            </td>
                            <th>Nr domu</th>
                            <td>
                              <xsl:value-of select="concat((count(current()/preceding::adr:Budynek)-3+1)*21-21+14, '.')"/>
                              <xsl:value-of select="' '"/>
                              <xsl:value-of select="adr:Budynek"/>
                            </td>
                          </tr>
                          <tr>
                            <th>Miejscowość</th>
                            <td>
                              <xsl:value-of select="concat((count(current()/preceding::adr:Miejscowosc)-3+1)*21-21+15, '.')"/>
                              <xsl:value-of select="' '"/>
                              <xsl:value-of select="adr:Miejscowosc"/>
                            </td>
                            <th>Kod pocztowy</th>
                            <td>
                              <xsl:value-of select="concat((count(current()/preceding::adr:KodPocztowy)-3+1)*21-21+16, '.')"/>
                              <xsl:value-of select="' '"/>
                              <xsl:value-of select="adr:KodPocztowy"/>
                            </td>
                            <th>Nr lokalu</th>
                            <td>
                              <xsl:value-of select="concat((count(current()/preceding::adr:Lokal)+1)*21-21+17, '.')"/>
                              <xsl:value-of select="' '"/>
                              <xsl:value-of select="adr:Lokal"/>
                            </td>
                          </tr>
                          <tr>
                            <th>Poczta</th>
                            <td>
                              <xsl:value-of select="concat((count(current()/preceding::adr:Poczta)+1)*21-21+18, '.')"/>
                              <xsl:value-of select="' '"/>
                              <xsl:value-of select="adr:Poczta"/>
                            </td>
                            <th>Telefon</th>
                            <td colspan="3">
                              <xsl:value-of select="concat((count(current()/preceding::adr:Kontakt/adr:Telefon)+1)*21-21+19, '.')"/>
                              <xsl:value-of select="' '"/>
                              <xsl:value-of select="../adr:Kontakt/adr:Telefon"/>
                            </td>
                          </tr>
                          <tr>
                            <th>
                                                        Fax
                                                    </th>
                            <td>
                              <xsl:value-of select="concat((count(current()/preceding::adr:Kontakt/adr:Faks)+1)*21-21+20, '.')"/>
                              <xsl:value-of select="' '"/>
                              <xsl:value-of select="../adr:Kontakt/adr:Faks"/>
                            </td>
                            <th>
                                                        Adres e-mail
                                                    </th>
                            <td colspan="3">
                              <xsl:value-of select="concat((count(current()/preceding::adr:Kontakt/adr:Email)+1)*21-21+21, '.')"/>
                              <xsl:value-of select="' '"/>
                              <xsl:value-of select="../adr:Kontakt/adr:Email"/>
                            </td>
                          </tr>
                        </xsl:for-each>
                      </xsl:for-each>
                    </table>
                  </xsl:if>
                  <xsl:if test="wnio:Wybor2 = '1'">
                    <xsl:for-each select="wnio:DaneONieruchomosciach">
                      <table>
                        <tr>
                          <th colspan="6">
                            <h4>
                                                        ZN-2 DANE O NIERUCHOMOŚCIACH
                                                    </h4>
                          </th>
                        </tr>
                        <tr>
                          <th colspan="6">
                            <h4>
                                                        A. PRZEZNACZENIE FORMULARZA
                                                    </h4>
                          </th>
                        </tr>
                        <tr>
                          <th colspan="6">
                                                    1. Niniejszy formularz stanowi załącznik do informacji IN, IR, IL-1
                                                </th>
                        </tr>
                        <tr>
                          <th colspan="6">
                            <h4>
                                                        B. DANE PODATNIKA / PODATNIKÓW
                                                    </h4>
                          </th>
                        </tr>
                        <tr>
                          <th colspan="6">
                            <h4>
                                                        B.1 DANE IDENTYFIKACYJNE
                                                    </h4>
                          </th>
                        </tr>
                        <tr>
                          <th>
                                                    Rodzaj
                                                </th>
                          <td colspan="5">
                            <xsl:if test="wnio:Rodzaj = '1'">osoba fizyczna</xsl:if>
                            <xsl:if test="wnio:Rodzaj = '2'">osoba prawna</xsl:if>
                            <xsl:if test="wnio:Rodzaj = '3'">jednostka organizacyjna nieposiadająca
                                                        osobowości prawnej
                                                    </xsl:if>
                          </td>
                        </tr>
                        <xsl:if test="wnio:Rodzaj = '1'">
                          <tr>
                            <th>
                                                        Nazwisko
                                                    </th>
                            <td>
                                                        2.
                                                        <xsl:value-of select="oso:Nazwisko"/>
                                                    </td>
                            <th>
                                                        Imię
                                                    </th>
                            <td>
                                                        3.
                                                        <xsl:value-of select="oso:Imie"/>
                                                    </td>
                            <th>
                                                        Drugie imię
                                                    </th>
                            <td>
                                                        4.
                                                        <xsl:value-of select="oso:ImieDrugie"/>
                                                    </td>
                          </tr>
                          <tr>
                            <th>
                                                        Identyfikator REGON
                                                    </th>
                            <td>
                                                        5.
                                                        <xsl:value-of select="wnio:REGON"/>
                                                    </td>
                            <th>
                                                        PESEL
                                                    </th>
                            <td colspan="3">
                                                        6.
                                                        <xsl:value-of select="oso:PESEL"/>
                                                    </td>
                          </tr>
                        </xsl:if>
                        <xsl:if test="wnio:Rodzaj != '1'">
                          <tr>
                            <th>
                                                        Nazwa pełna
                                                    </th>
                            <td colspan="5">
                                                        2.
                                                        <xsl:value-of select="inst:NazwaInstytucji"/>
                                                    </td>
                          </tr>
                          <tr>
                            <th>
                                                        Nazwa skrócona
                                                    </th>
                            <td>
                                                        3.
                                                        <xsl:value-of select="inst:NazwaSkrocona"/>
                                                    </td>
                            <th>
                                                        Identyfikator REGON
                                                    </th>
                            <td colspan="3">
                                                        4.
                                                        <xsl:value-of select="inst:REGON"/>
                                                    </td>
                          </tr>
                        </xsl:if>
                      </table>
                      <table>
                        <tr>
                          <th colspan="6">
                            <h4>
                                                        C. DANE O NIERUCHOMOŚCIACH I OBIEKTACH BUDOWLANYCH PODLEGAJĄCYCH
                                                        OPODATKOWANIU LUB ZWOLNIENIU
                                                    </h4>
                          </th>
                        </tr>
                        <tr>
                          <th style="text-align: center;">
                                                    Położenie nieruchomości (adres)
                                                </th>
                          <th style="text-align: center;">
                                                    Forma władania
                                                </th>
                          <th style="text-align: center;">
                                                    Numer księgi wieczystej dla gruntu
                                                </th>
                          <th style="text-align: center;">
                                                    Identyfikator działki (obręb / arkusz mapy / nr działki)
                                                </th>
                          <th style="text-align: center;">
                                                    Powierzchnia działki (w ha fizycznych)
                                                </th>
                        </tr>
                        <xsl:for-each select="wnio:Dzialki">
                          <tr>
                            <td>
                              <xsl:if test="../wnio:Rodzaj = '1'">
                                <xsl:value-of select="concat((count(current()/preceding::wnio:Polozenie))*5-5+7, '.')"/>
                              </xsl:if>
                              <xsl:if test="../wnio:Rodzaj != '1'">
                                <xsl:value-of select="concat((count(current()/preceding::wnio:Polozenie))*5-5+5, '.')"/>
                              </xsl:if>
                              <xsl:value-of select="' '"/>
                              <xsl:value-of select="wnio:Polozenie"/>
                            </td>
                            <td>
                              <xsl:if test="../wnio:Rodzaj = '1'">
                                <xsl:value-of select="concat((count(current()/preceding::wnio:FormaWladania)+1)*5-5+8, '.')"/>
                              </xsl:if>
                              <xsl:if test="../wnio:Rodzaj != '1'">
                                <xsl:value-of select="concat((count(current()/preceding::wnio:FormaWladania)+1)*5-5+6, '.')"/>
                              </xsl:if>
                              <xsl:value-of select="' '"/>
                              <xsl:value-of select="wnio:FormaWladania"/>
                            </td>
                            <td>
                              <xsl:if test="../wnio:Rodzaj = '1'">
                                <xsl:value-of select="concat((count(current()/preceding::wnio:NumerKsiegi)+1)*5-5+9, '.')"/>
                              </xsl:if>
                              <xsl:if test="../wnio:Rodzaj != '1'">
                                <xsl:value-of select="concat((count(current()/preceding::wnio:NumerKsiegi)+1)*5-5+7, '.')"/>
                              </xsl:if>
                              <xsl:value-of select="' '"/>
                              <xsl:value-of select="wnio:NumerKsiegi"/>
                            </td>
                            <td>
                              <xsl:if test="../wnio:Rodzaj = '1'">
                                <xsl:value-of select="concat((count(current()/preceding::wnio:Identyfikator)+1)*5-5+10, '.')"/>
                              </xsl:if>
                              <xsl:if test="../wnio:Rodzaj != '1'">
                                <xsl:value-of select="concat((count(current()/preceding::wnio:Identyfikator)+1)*5-5+8, '.')"/>
                              </xsl:if>
                              <xsl:value-of select="' '"/>
                              <xsl:value-of select="wnio:Identyfikator"/>
                            </td>
                            <td>
                              <xsl:if test="../wnio:Rodzaj = '1'">
                                <xsl:value-of select="concat((count(current()/preceding::wnio:PowierzchniaDzialki)+1)*5-5+11, '.')"/>
                              </xsl:if>
                              <xsl:if test="../wnio:Rodzaj != '1'">
                                <xsl:value-of select="concat((count(current()/preceding::wnio:PowierzchniaDzialki)+1)*5-5+9, '.')"/>
                              </xsl:if>
                              <xsl:value-of select="' '"/>
                              <xsl:value-of select="wnio:PowierzchniaDzialki"/>
                            </td>
                          </tr>
                        </xsl:for-each>
                      </table>
                      <table>
                        <tr>
                          <th>
                                                    Łączna powierzchnia gruntów
                                                </th>
                          <td>
                            <xsl:if test="wnio:Rodzaj = '1'">
                              <xsl:value-of select="concat((count(wnio:Dzialki/wnio:PowierzchniaDzialki)*5-5+11)+1, '.')"/>
                            </xsl:if>
                            <xsl:if test="wnio:Rodzaj != '1'">
                              <xsl:value-of select="concat((count(wnio:Dzialki/wnio:PowierzchniaDzialki)*5-5+9)+1, '.')"/>
                            </xsl:if>
                            <xsl:value-of select="' '"/>
                            <xsl:value-of select="format-number(wnio:LacznaPowierzchnia, '0.0000')"/>
                          </td>
                        </tr>
                      </table>
                    </xsl:for-each>
                  </xsl:if>
                  <xsl:for-each select="wnio:DaneOZwolnieniach">
                    <xsl:if test="../../@rodzaj='3'">
                      <xsl:if test="../wnio:ZL1 = '1'">
                        <table>
                          <tr>
                            <th>
                              <h4>ZL-1 DANE O ZWOLNIENIACH PODATKOWYCH W PODATKU LEŚNYM</h4>
                            </th>
                          </tr>
                        </table>
                        <table>
                          <tr>
                            <th colspan="6">
                              <h4>
                                                            A. POŁOŻENIE LASU (ADRES)
                                                        </h4>
                            </th>
                          </tr>
                          <tr>
                            <td colspan="6">
                                                        1.
                                                        <xsl:value-of select="wnio:Polozenie"/>
                                                    </td>
                          </tr>
                          <tr>
                            <th colspan="6">
                              <h4>
                                                            B. DANE IDENTYFIKACYJNE PODATNIKA
                                                        </h4>
                            </th>
                          </tr>
                          <tr>
                            <th>Rodzaj</th>
                            <td colspan="5">
                              <xsl:if test="wnio:Rodzaj2 = '1'">osoba fizyczna</xsl:if>
                              <xsl:if test="wnio:Rodzaj2 = '2'">osoba prawna</xsl:if>
                              <xsl:if test="wnio:Rodzaj2 = '3'">jednostka organizacyjna
                                                            nieposiadająca
                                                            osobowości prawnej
                                                        </xsl:if>
                            </td>
                          </tr>
                          <xsl:if test="wnio:Rodzaj2 = '1'">
                            <tr>
                              <th>
                                                            Nazwisko
                                                        </th>
                              <td>
                                                            2.
                                                            <xsl:value-of select="oso:Nazwisko"/>
                                                        </td>
                              <th>Imię</th>
                              <td>
                                                            3.
                                                            <xsl:value-of select="oso:Imie"/>
                                                        </td>
                              <th>Drugie imię</th>
                              <td>
                                                            4.
                                                            <xsl:value-of select="oso:ImieDrugie"/>
                                                        </td>
                            </tr>
                            <tr>
                              <th>
                                                            PESEL
                                                        </th>
                              <td>
                                                            5.
                                                            <xsl:value-of select="oso:PESEL"/>
                                                        </td>
                              <th>
                                                            NIP
                                                        </th>
                              <td colspan="3">
                                                            6.
                                                            <xsl:value-of select="oso:NIP"/>
                                                        </td>
                            </tr>
                          </xsl:if>
                          <xsl:if test="wnio:Rodzaj2 != '1'">
                            <tr>
                              <th>
                                                            Nazwa pełna
                                                        </th>
                              <td colspan="3">
                                                            2.
                                                            <xsl:value-of select="inst:NazwaInstytucji"/>
                                                        </td>
                              <th>
                                                            Nazwa skrócona
                                                        </th>
                              <td>
                                                            3.
                                                            <xsl:value-of select="inst:NazwaSkrocona"/>
                                                        </td>
                            </tr>
                            <tr>
                              <th>
                                                            NIP
                                                        </th>
                              <td>
                                                            4.
                                                            <xsl:value-of select="inst:NIP"/>
                                                        </td>
                              <th>
                                                            Identyfikator REGON
                                                        </th>
                              <td colspan="3">
                                                            5.
                                                            <xsl:value-of select="inst:REGON"/>
                                                        </td>
                            </tr>
                          </xsl:if>
                        </table>
                        <table>
                          <tr>
                            <th colspan="2">
                              <h4>C. ZWOLNIENIA Z PODATKU LEŚNEGO</h4>
                            </th>
                          </tr>
                          <tr>
                            <th colspan="2">
                              <h4>ZWOLNIENIA PRZEDMIOTOWE</h4>
                            </th>
                          </tr>
                          <tr>
                            <th>
                              <b>Tytuł prawny zwolnienia</b>
                            </th>
                            <th>
                              <b>Powierzchnia w ha</b>
                            </th>
                          </tr>
                          <xsl:for-each select="wnio:ZwolnieniaPrzedmiotowe/wnio:Przedmiotowe">
                            <tr>
                              <th>
                                <xsl:value-of select="wnio:Tytul"/>
                              </th>
                              <td>
                                <xsl:value-of select="wnio:Powierzchnia/@numer"/>
                                <xsl:value-of select="' '"/>
                                <xsl:value-of select="wnio:Powierzchnia"/>
                              </td>
                            </tr>
                          </xsl:for-each>
                          <tr>
                            <th colspan="2">
                              <h4>
                                                            ZWOLNIENIA PODMIOTOWE
                                                        </h4>
                            </th>
                          </tr>
                          <xsl:for-each select="wnio:ZwolnieniaPrzedmiotowe/wnio:Podmiotowe">
                            <tr>
                              <th>
                                <xsl:value-of select="wnio:Tytul"/>
                              </th>
                              <td>
                                <xsl:value-of select="wnio:Powierzchnia/@numer"/>
                                <xsl:value-of select="' '"/>
                                <xsl:value-of select="wnio:Powierzchnia"/>
                              </td>
                            </tr>
                          </xsl:for-each>
                          <xsl:for-each select="wnio:ZwolnieniaPrzedmiotowe/wnio:Inne">
                            <tr>
                              <th>
                                                            Inne (należy podać podstawę prawną):
                                                            <br/>
                                                            <xsl:value-of select="wnio:Tytul"/>
                                                        </th>
                              <td>
                                <xsl:value-of select="wnio:Powierzchnia/@numer"/>
                                <xsl:value-of select="' '"/>
                                <xsl:value-of select="wnio:Powierzchnia"/>
                              </td>
                            </tr>
                          </xsl:for-each>
                        </table>
                      </xsl:if>
                    </xsl:if>
                  </xsl:for-each>
                </xsl:for-each>
                <xsl:for-each select="wnio:Rachunek">
                  <table>
                    <tr>
                      <th colspan="2">
                        <h4>
                          <xsl:value-of select="wnio:Tytul"/>
                        </h4>
                      </th>
                    </tr>
                    <xsl:for-each select="wnio:Wiersz">
                      <tr>
                        <th>
                          <xsl:value-of select="wnio:Tytul"/>
                        </th>
                        <td>
                          <xsl:value-of select="wnio:Wartosc/@numer"/>
                          <xsl:value-of select="' '"/>
                          <xsl:value-of select="wnio:Wartosc"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:Podpis">
                  <table>
                    <tr>
                      <th colspan="2">
                        <h4>
                          <xsl:value-of select="wnio:Tytul"/>
                        </h4>
                      </th>
                    </tr>
                    <tr>
                      <th>Imię</th>
                      <td>
                                            154.
                                            <xsl:value-of select="oso:Imie"/>
                                        </td>
                    </tr>
                    <tr>
                      <th>Nazwisko</th>
                      <td>
                                            155.
                                            <xsl:value-of select="oso:Nazwisko"/>
                                        </td>
                    </tr>
                    <tr>
                      <th>Data wypełnienia</th>
                      <td>
                                            156.
                                            <xsl:value-of select="wnio:DataWypelnienia"/>
                                        </td>
                    </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>