5644

ID5644
Data2018-08-02
Symbol2018/08/02/5644
InstytucjaUrząd Miejski w Nałęczowie
NazwaDeklaracja na podatek od nieruchomości
Czy Aktualny1

Ustawy (1)

  • URI://Dziennik_Ustaw/2017/1785/6/14/1
  • Ustawa z dnia 12 stycznia 1991 r. o podatkach i opłatach lokalnych

    Pliki

    Styl

    <?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wnio="http://crd.gov.pl/wzor/2018/08/02/5644/" 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>
            <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;">Deklaracja na podatek od nieruchomości</h1>
                <table style="margin:auto; width:280px;">
                  <tr>
                    <th>na rok:</th>
                    <td>
                      <xsl:value-of select="wnio:Rok"/>
                    </td>
                  </tr>
                </table>
                <table border="1px">
                  <tr>
                    <th style="width:15%">Podstawa prawna:</th>
                    <th>
                      <xsl:value-of select="wnio:PodstawaPrawna"/>
                    </th>
                  </tr>
                  <tr>
                    <th>Składający:</th>
                    <th>
                      <xsl:value-of select="wnio:Skladajacy"/>
                    </th>
                  </tr>
                  <tr>
                    <th>Termin składania:</th>
                    <th>
                      <xsl:value-of select="wnio:TerminSkladania"/>
                    </th>
                  </tr>
                  <tr>
                    <th>Miejsce składania:</th>
                    <th>
                      <xsl:value-of select="wnio:MiejsceSkladania"/>
                    </th>
                  </tr>
                </table>
                <table>
                  <tr>
                    <th>
                      <h4>MIEJSCE SKŁADANIA DEKLARACJI</h4>
                    </th>
                  </tr>
                  <tr>
                    <td>
                      <xsl:value-of select="wnio:MiejsceSkladaniaDokladne"/>
                    </td>
                  </tr>
                </table>
                <table>
                  <tr>
                    <th colspan="2">
                      <h4>OBOWIĄZEK ZŁOŻENIA DEKLARACJI</h4>
                      <br/>
                      <xsl:value-of select="wnio:ObowiazekInfo"/>
                    </th>
                  </tr>
                  <tr>
                    <th style="width:40%">Okoliczności powodujące obowiązek złożenia deklaracji</th>
                    <td>
                      <xsl:if test="wnio:ObowiazekZlozeniaDeklaracji='po_raz_pierwszy'">Deklaracja
                                            roczna
                                        </xsl:if>
                      <xsl:if test="wnio:ObowiazekZlozeniaDeklaracji='korekta'">Korekta deklaracji
                                            rocznej
                                        </xsl:if>
                    </td>
                  </tr>
                  <xsl:for-each select="wnio:DataZmiany">
                    <tr>
                      <th>Data zmiany (miesiąc - rok)</th>
                      <td>
                        <xsl:value-of select="."/>
                      </td>
                    </tr>
                  </xsl:for-each>
                </table>
                <table>
                  <tr>
                    <th>
                      <h4>PODMIOT ZOBOWIĄZANY DO ZŁOŻENIA DEKLARACJI</h4>
                    </th>
                  </tr>
                  <tr>
                    <td>Rodzaj podmiotu:
                                        <xsl:if test="wnio:PodmiotZobowiazanyDoZlozenia/@typ='1'">właściciel, użytkownik,
                                            posiadacz
                                        </xsl:if>
                                        <xsl:if test="wnio:PodmiotZobowiazanyDoZlozenia/@typ='2'">współwłaściciel,
                                            współużytkownik, współposiadacz
                                        </xsl:if>
                                    </td>
                  </tr>
                </table>
                <xsl:for-each select="wnio:Podmiot">
                  <table>
                    <tr>
                      <th colspan="6">
                        <h4>DANE PODATNIKA</h4>
                      </th>
                    </tr>
                    <tr>
                      <th colspan="6">
                        <h4>DANE IDENTYFIKACYJNE</h4>
                      </th>
                    </tr>
                    <tr>
                      <th style="width:10%">Rodzaj</th>
                      <td colspan="5">
                        <xsl:if test="@typPodmiotu='osoba_fizyczna'">osoba fizyczna</xsl:if>
                        <xsl:if test="@typPodmiotu='osoba_prawna'">osoba prawna</xsl:if>
                        <xsl:if test="@typPodmiotu='jednostka_organizacyjna'">jednostka organizacyjna, w
                                                tym spółka, nieposiadająca osobowości prawnej
                                            </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%">PESEL
                                            </th>
                        <td>
                          <xsl:value-of select="oso:PESEL"/>
                        </td>
                        <th>NIP</th>
                        <td colspan="3">
                          <xsl:value-of select="oso:NIP"/>
                        </td>
                      </tr>
                      <xsl:for-each select="wnio:NieNadanoPeselu">
                        <tr>
                          <th>Data urodzenia
                                                </th>
                          <td>
                            <xsl:value-of select="oso:DataUrodzenia"/>
                          </td>
                          <th>Imię ojca
                                                </th>
                          <td>
                            <xsl:value-of select="oso:ImieOjca"/>
                          </td>
                          <th>Imię matki
                                                </th>
                          <td>
                            <xsl:value-of select="oso:ImieMatki"/>
                          </td>
                        </tr>
                      </xsl:for-each>
                    </xsl:for-each>
                    <xsl:for-each select="wnio:OsobaNiefizyczna">
                      <tr>
                        <th style="width:10%">Nazwa pełna</th>
                        <td colspan="3" style="width:55%">
                          <xsl:value-of select="inst:NazwaInstytucji"/>
                        </td>
                        <th style="width:10%">Nazwa skrócona</th>
                        <td style="width:25%">
                          <xsl:value-of select="wnio:NazwaSkrocona"/>
                        </td>
                      </tr>
                      <tr>
                        <th style="width:10%">NIP</th>
                        <td colspan="5" style="width:55%">
                          <xsl:value-of select="inst:NIP"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                  <xsl:for-each select="wnio:Adres">
                    <table>
                      <tr>
                        <th colspan="6">
                          <h4>ADRES SIEDZIBY/ ADRES ZAMIESZKANIA</h4>
                        </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>
                </xsl:for-each>
                <xsl:for-each select="wnio:E">
                  <table align="center">
                    <tbody>
                      <tr>
                        <th>
                          <h4>DANE DOTYCZĄCE PRZEDMIOTÓW OPODATKOWANIA NIEPODLEGAJĄCYCH ZWOLNIENIU
                                                </h4>
                        </th>
                      </tr>
                    </tbody>
                  </table>
                  <table align="center">
                    <tr>
                      <th colspan="4">
                        <h4>POWIERZCHNIA GRUNTÓW</h4>
                      </th>
                    </tr>
                    <xsl:for-each select="wnio:E_1">
                      <tr>
                        <th style="width:40%"/>
                        <th style="width:20%">Podstawa opodatkowania w m<sup>2</sup> (ha)
                                            </th>
                        <th style="width:20%">Stawka podatku (zł, gr)</th>
                        <th style="width:20%">Kwota podatku (zł, gr)</th>
                      </tr>
                      <tr>
                        <th>Grunty związane z prowadzeniem działalności gospodarczej bez względu na
                                                sposób
                                                zakwalifikowania w ewidencji gruntów i budynków
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:E_1_1_1"/>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_1_2_1"/>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_1_3_1"/>
                        </td>
                      </tr>
                      <tr>
                        <th>
                                                Grunty związane z prowadzeniem działalności gospodarczej, w zakresie
                                                produkcji i wytwarzania
                                                wód mineralnych i napojów bez względu na sposób zakwalifikowania w ewidencji
                                                gruntów i
                                                budynków
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:E_1_1_6"/>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_1_2_6"/>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_1_3_6"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Grunty pod wodami powierzchniowymi stojącymi lub wodami powierzchniowymi
                                                płynącymi jezior i
                                                zbiorników sztucznych
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:E_1_1_3"/>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_1_2_3"/>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_1_3_3"/>
                        </td>
                      </tr>
                      <tr>
                        <th>
                          <xsl:value-of select="wnio:E_1_1_4_opis"/>
                        </th>
                        <td>
                          <xsl:value-of select="wnio:E_1_1_4"/>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_1_2_4"/>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_1_3_4"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Grunty pozostałe grunty, w tym zajęte na prowadzenie odpłatnej statutowej
                                                działalności
                                                pożytku publicznego przez organizacje pożytku publicznego
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:E_1_1_5"/>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_1_2_5"/>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_1_3_5"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                  <table align="center">
                    <tr>
                      <th colspan="5">
                        <h4>POWIERZCHNIA BUDYNKÓW LUB ICH CZĘŚCI</h4>
                      </th>
                    </tr>
                    <xsl:for-each select="wnio:E_2">
                      <tr>
                        <th colspan="2" style="width:40%"/>
                        <th style="width:20%">Podstawa opodatkowania w m
                                                <sup>2</sup>
                                            </th>
                        <th style="width:20%">Stawka podatku (zł, gr)</th>
                        <th style="width:20%">Kwota podatku (zł, gr)</th>
                      </tr>
                      <tr>
                        <th colspan="2">Budynki mieszkalne - ogółem</th>
                        <td>
                          <xsl:value-of select="wnio:E_2_1_1"/>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_2_2_1"/>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_2_3_1"/>
                        </td>
                      </tr>
                      <tr>
                        <th rowspan="2"><br/>w tym kondygnacji o wysokości:
                                            </th>
                        <th>- od 1,40 do 2,20m (zaliczyć 50% powierzchni)</th>
                        <td>
                          <xsl:value-of select="wnio:E_2_1_2"/>
                        </td>
                        <th rowspan="2"/>
                        <th rowspan="2"/>
                      </tr>
                      <tr>
                        <th>- powyżej 2,20m</th>
                        <td>
                          <xsl:value-of select="wnio:E_2_1_3"/>
                        </td>
                      </tr>
                      <tr>
                        <th colspan="2">Związane z prowadzeniem działalności gospodarczej oraz budynki
                                                mieszkalne lub
                                                ich części zajęte na prowadzenie działalności gospodarczej - ogółem
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:E_2_1_4"/>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_2_2_4"/>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_2_3_4"/>
                        </td>
                      </tr>
                      <tr>
                        <th rowspan="2"><br/>w tym kondygnacji o wysokości:
                                            </th>
                        <th>- od 1,40 do 2,20m (zaliczyć 50% powierzchni)</th>
                        <td>
                          <xsl:value-of select="wnio:E_2_1_5"/>
                        </td>
                        <th rowspan="2"/>
                        <th rowspan="2"/>
                      </tr>
                      <tr>
                        <th>- powyżej 2,20m</th>
                        <td>
                          <xsl:value-of select="wnio:E_2_1_6"/>
                        </td>
                      </tr>
                      <tr>
                        <th colspan="2">Związane z prowadzeniem działalności gospodarczej w zakresie
                                                produkcji i
                                                wytwarzania wód mineralnych i napojów - ogółem
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:E_2_1_16"/>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_2_2_16"/>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_2_3_16"/>
                        </td>
                      </tr>
                      <tr>
                        <th rowspan="2"><br/>w tym kondygnacji o wysokości:
                                            </th>
                        <th>- od 1,40 do 2,20m (zaliczyć 50% powierzchni)</th>
                        <td>
                          <xsl:value-of select="wnio:E_2_1_17"/>
                        </td>
                        <th rowspan="2"/>
                        <th rowspan="2"/>
                      </tr>
                      <tr>
                        <th>- powyżej 2,20m</th>
                        <td>
                          <xsl:value-of select="wnio:E_2_1_18"/>
                        </td>
                      </tr>
                      <tr>
                        <th colspan="2">Zajęte na prowadzenie działalności gospodarczej w zakresie
                                                obrotu kwalifikowanym
                                                materiałem siewnym - ogółem
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:E_2_1_7"/>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_2_2_7"/>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_2_3_7"/>
                        </td>
                      </tr>
                      <tr>
                        <th rowspan="2"><br/>w tym kondygnacji o wysokości:
                                            </th>
                        <th>- od 1,40 do 2,20m (zaliczyć 50% powierzchni)</th>
                        <td>
                          <xsl:value-of select="wnio:E_2_1_8"/>
                        </td>
                        <th rowspan="2"/>
                        <th rowspan="2"/>
                      </tr>
                      <tr>
                        <th>- powyżej 2,20m</th>
                        <td>
                          <xsl:value-of select="wnio:E_2_1_9"/>
                        </td>
                      </tr>
                      <tr>
                        <th colspan="2">Związanych z udzielaniem świadczeń zdrowotnych w rozumieniu
                                                przepisów o
                                                działalności leczniczej, zajętych przez podmioty udzielające tych świadczeń
                                                - ogółem
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:E_2_1_10"/>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_2_2_10"/>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_2_3_10"/>
                        </td>
                      </tr>
                      <tr>
                        <th rowspan="2"><br/>w tym kondygnacji o wysokości:
                                            </th>
                        <th>- od 1,40 do 2,20m (zaliczyć 50% powierzchni)</th>
                        <td>
                          <xsl:value-of select="wnio:E_2_1_11"/>
                        </td>
                        <th rowspan="2"/>
                        <th rowspan="2"/>
                      </tr>
                      <tr>
                        <th>- powyżej 2,20m</th>
                        <td>
                          <xsl:value-of select="wnio:E_2_1_12"/>
                        </td>
                      </tr>
                      <tr>
                        <th colspan="2">Pozostałe, w tym zajętych na prowadzenie odpłatnej statutowej
                                                działalności
                                                pożytku publicznego przez organizacje pożytku publicznego - ogółem
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:E_2_1_13"/>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_2_2_13"/>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_2_3_13"/>
                        </td>
                      </tr>
                      <tr>
                        <th rowspan="2"><br/>w tym kondygnacji o wysokości:
                                            </th>
                        <th>- od 1,40 do 2,20m (zaliczyć 50% powierzchni)</th>
                        <td>
                          <xsl:value-of select="wnio:E_2_1_14"/>
                        </td>
                        <th rowspan="2"/>
                        <th rowspan="2"/>
                      </tr>
                      <tr>
                        <th>- powyżej 2,20m</th>
                        <td>
                          <xsl:value-of select="wnio:E_2_1_15"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                  <table>
                    <tr>
                      <th colspan="4">
                        <h4>WARTOŚĆ BUDOWLI LUB ICH CZĘŚCI ZWIĄZANYCH Z PROWADZENIEM DZIAŁALNOŚCI
                                                GOSPODARCZEJ
                                            </h4>
                      </th>
                    </tr>
                    <xsl:for-each select="wnio:E_3">
                      <tr>
                        <th style="width:40%"/>
                        <th style="width:20%">Podstawa opodatkowania w pełnych złotych
                                            </th>
                        <th style="width:20%">Stawka podatku %</th>
                        <th style="width:20%">Kwota podatku (zł, gr)</th>
                      </tr>
                      <tr>
                        <th>Budowle - wykorzystywane do zbiorowego zaopatrzenia ludności w wodę i
                                                zbiorowego
                                                odprowadzania ścieków
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:E_3_1_1"/>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_3_2_1"/>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_3_3_1"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Budowle - pozostałe</th>
                        <td>
                          <xsl:value-of select="wnio:E_3_1_2"/>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_3_2_2"/>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_3_3_2"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:F">
                  <table>
                    <tr>
                      <th colspan="2">
                        <h4>ŁĄCZNA KWOTA PODATKU</h4>
                      </th>
                    </tr>
                    <tr>
                      <th>Kwota podatku
                                        </th>
                      <td style="width:30%"><xsl:value-of select="wnio:F_1"/>
                                            zł
                                        </td>
                    </tr>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:DanePrzedmiotow">
                  <xsl:for-each select="wnio:DanePrzedmiotow">
                    <h2>ZN-1/A DANE O NIERUCHOMOŚCIACH
                                    </h2>
                    <table>
                      <tr>
                        <th colspan="2">
                          <h4>POŁOŻENIE NIERUCHOMOŚCI</h4>
                        </th>
                      </tr>
                      <tr style="width:20%;">
                        <th>Adres nieruchomości</th>
                        <td>
                          <xsl:value-of select="wnio:AdresNieruchomosci"/>
                        </td>
                      </tr>
                    </table>
                    <table>
                      <tr>
                        <th colspan="2">
                          <h4>TYTUŁ PRAWNY</h4>
                        </th>
                      </tr>
                      <tr>
                        <th>Forma władania:</th>
                        <th>
                          <xsl:if test="wnio:RodzajSkladajacy/@typ='1'">właściciel, użytkownik,
                                                    posiadacz
                                                </xsl:if>
                          <xsl:if test="wnio:RodzajSkladajacy/@typ='2'">współwłaściciel,
                                                    współużytkownik, współposiadacz
                                                </xsl:if>
                        </th>
                      </tr>
                    </table>
                    <table>
                      <tr>
                        <th colspan="6">
                          <h4>IDENTYFIKATORY GEODEZYJNE DZIAŁEK, BUDYNKÓW, LOKALI
                                                </h4>
                        </th>
                      </tr>
                      <tr>
                        <th>Działki
    
                                            </th>
                        <td style="width:30%;">
                          <xsl:value-of select="wnio:IdentyfikatorDzialki"/>
                        </td>
                        <th style="width:10%;">Powierzchnia
    
                                            </th>
                        <td style="width:15%;">
                          <xsl:value-of select="wnio:PowierzchniaDzialki"/>
                        </td>
                        <th style="width:10%;">Symbol użytku</th>
                        <td style="width:15%;">
                          <xsl:value-of select="wnio:SymbolUzytku"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Budynki
    
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:Budynki"/>
                        </td>
                        <th>Powierzchnia użytkowa
    
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:PowierzchniaUzytkowa"/>
                        </td>
                        <th>Funkcja budynku</th>
                        <td>
                          <xsl:value-of select="wnio:FunkcjaBudynku"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Lokale
    
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:Lokale"/>
                        </td>
                        <th>Powierzchnia użytkowa
    
                                            </th>
                        <td colspan="3">
                          <xsl:value-of select="wnio:PowierzchniaUzytkowaLokale"/>
                        </td>
                      </tr>
                    </table>
                    <table>
                      <tr>
                        <th colspan="2">
                          <h4>KSIĘGA WIECZYSTA</h4>
                        </th>
                      </tr>
                      <tr>
                        <th>Numer księgi wieczystej lub zbioru
                                                dokumentów
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:NrKsiegiWieczystej"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Nazwa sądu prowadzącego księgę wieczystą / zbiór
                                                dokumentów
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:NazwaSadu"/>
                        </td>
                      </tr>
                    </table>
                  </xsl:for-each>
                </xsl:for-each>
                <xsl:if test="wnio:ZwolnieniaOdNieruchomosci/@type='tak'">
                  <br/>
                  <h2>ZN-1/B DANE O ZWOLNIENIACH PODATKOWYCH W PODATKU OD NIERUCHOMOŚCI
                                </h2>
                  <xsl:for-each select="wnio:ZwolnieniaOdNieruchomosci/wnio:ZwolnieniaOdNieruchomosci">
                    <table align="center">
                      <tr>
                        <th colspan="5">
                          <h4>DANE DOTYCZĄCE ZWOLNIEŃ PODATKOWYCH WYNIKAJĄCE Z USTAWY</h4>
                        </th>
                      </tr>
                      <tr>
                        <th style="width:40%">Tytuł prawny zwolnienia</th>
                        <th style="width:20%">Grunty powierzchnia w m<sup>2</sup></th>
                        <th style="width:20%">Budynki lub ich części<br/>powierzchnia użytkowa w m<sup>2</sup>
                                            </th>
                        <th style="width:20%">Budowle wartość w zł</th>
                      </tr>
                      <tr>
                        <th>
                          <xsl:call-template name="RichText">
                            <xsl:with-param name="text" select="wnio:Art7u1p1_opis"/>
                          </xsl:call-template>
                        </th>
                        <td>
                          <xsl:value-of select="wnio:Art7u1p1_1">
                                                    
                                                </xsl:value-of>
                        </td>
                        <th/>
                        <td>
                          <xsl:value-of select="wnio:Art7u1p1_3">
                                                    
                                                </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th>
                          <xsl:value-of select="wnio:Art7u1p1a_opis"/>
                        </th>
                        <td>
                          <xsl:value-of select="wnio:Art7u1p1a_1">
                                                    
                                                </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:Art7u1p1a_2">
                                                    
                                                </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:Art7u1p1a_3">
                                                    
                                                </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th>
                          <xsl:value-of select="wnio:Art7u1p2_opis"/>
                        </th>
                        <td>
                          <xsl:value-of select="wnio:Art7u1p2_1">
                                                    
                                                </xsl:value-of>
                        </td>
                        <th/>
                        <td>
                          <xsl:value-of select="wnio:Art7u1p2_3">
                                                    
                                                </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th>
                          <xsl:value-of select="wnio:Art7u1p2a_opis"/>
                        </th>
                        <td>
                          <xsl:value-of select="wnio:Art7u1p2a_1">
                                                    
                                                </xsl:value-of>
                        </td>
                        <th/>
                        <th/>
                      </tr>
                      <tr>
                        <th>
                          <xsl:value-of select="wnio:Art7u1p3_opis"/>
                        </th>
                        <td>
                          <xsl:value-of select="wnio:Art7u1p3_1">
                                                    
                                                </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:Art7u1p3_2">
                                                    
                                                </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:Art7u1p3_3">
                                                    
                                                </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th>
                          <xsl:call-template name="RichText">
                            <xsl:with-param name="text" select="wnio:Art7u1p4_opis"/>
                          </xsl:call-template>
                        </th>
                        <th/>
                        <td>
                                                a)
                                                <xsl:value-of select="wnio:Art7u1p4_2a">
                                                    
                                                </xsl:value-of>
                                                <br/>
                                                b)
                                                <xsl:value-of select="wnio:Art7u1p4_2b">
                                                    
                                                </xsl:value-of>
                                                <br/>
                                                c)
                                                <xsl:value-of select="wnio:Art7u1p4_2c">
                                                    
                                                </xsl:value-of>
                                            </td>
                        <th/>
                      </tr>
                      <tr>
                        <th>
                          <xsl:value-of select="wnio:Art7u1p5_opis"/>
                        </th>
                        <td>
                          <xsl:value-of select="wnio:Art7u1p5_1">
                                                    
                                                </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:Art7u1p5_2">
                                                    
                                                </xsl:value-of>
                        </td>
                        <th/>
                      </tr>
                      <tr>
                        <th>
                          <xsl:value-of select="wnio:Art7u1p6_opis"/>
                        </th>
                        <td>
                          <xsl:value-of select="wnio:Art7u1p6_1">
                                                    
                                                </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:Art7u1p6_2">
                                                    
                                                </xsl:value-of>
                        </td>
                        <th/>
                      </tr>
                      <tr>
                        <th>
                          <xsl:value-of select="wnio:Art7u1p7_opis"/>
                        </th>
                        <td>
                          <xsl:value-of select="wnio:Art7u1p7_1">
                                                    
                                                </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:Art7u1p7_2">
                                                    
                                                </xsl:value-of>
                        </td>
                        <th/>
                      </tr>
                      <tr>
                        <th>
                          <xsl:value-of select="wnio:Art7u1p8_opis"/>
                        </th>
                        <td>
                          <xsl:value-of select="wnio:Art7u1p8_1">
                                                    
                                                </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:Art7u1p8_2">
                                                    
                                                </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:Art7u1p8_3">
                                                    
                                                </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th>
                          <xsl:value-of select="wnio:Art7u1p8a_opis"/>
                        </th>
                        <td>
                          <xsl:value-of select="wnio:Art7u1p8a_1">
                                                    
                                                </xsl:value-of>
                        </td>
                        <th/>
                        <th/>
                      </tr>
                      <tr>
                        <th>
                          <xsl:value-of select="wnio:Art7u1p9_opis"/>
                        </th>
                        <td>
                          <xsl:value-of select="wnio:Art7u1p9_1">
                                                    
                                                </xsl:value-of>
                        </td>
                        <th/>
                        <td>
                          <xsl:value-of select="wnio:Art7u1p9_3">
                                                    
                                                </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th>
                          <xsl:value-of select="wnio:Art7u1p10_opis"/>
                        </th>
                        <td>
                          <xsl:value-of select="wnio:Art7u1p10_1">
                                                    
                                                </xsl:value-of>
                        </td>
                        <th/>
                        <th/>
                      </tr>
                      <tr>
                        <th>
                          <xsl:call-template name="RichText">
                            <xsl:with-param name="text" select="wnio:Art7u1p11_opis1"/>
                          </xsl:call-template>
                          <br/>
                          <xsl:call-template name="RichText">
                            <xsl:with-param name="text" select="wnio:Art7u1p11_opis2"/>
                          </xsl:call-template>
                        </th>
                        <td>
                          <xsl:value-of select="wnio:Art7u1p11_1">
                                                    
                                                </xsl:value-of>
                        </td>
                        <th/>
                        <th/>
                      </tr>
                      <tr>
                        <th>
                          <xsl:value-of select="wnio:Art7u1p12_opis"/>
                        </th>
                        <td>
                          <xsl:value-of select="wnio:Art7u1p12_1">
                                                    
                                                </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:Art7u1p12_2">
                                                    
                                                </xsl:value-of>
                        </td>
                        <th/>
                      </tr>
                      <tr>
                        <th>
                          <xsl:value-of select="wnio:Art7u1p13_opis"/>
                        </th>
                        <th/>
                        <td>
                          <xsl:value-of select="wnio:Art7u1p13_2">
                                                    
                                                </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:Art7u1p13_3">
                                                    
                                                </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th>
                          <xsl:value-of select="wnio:Art7u1p14_opis"/>
                        </th>
                        <td>
                          <xsl:value-of select="wnio:Art7u1p14_1">
                                                    
                                                </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:Art7u1p14_2">
                                                    
                                                </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:Art7u1p14_3">
                                                    
                                                </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th>
                          <xsl:value-of select="wnio:Art7u2p1_opis"/>
                        </th>
                        <td>
                          <xsl:value-of select="wnio:Art7u2p1_1">
                                                    
                                                </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:Art7u2p1_2">
                                                    
                                                </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:Art7u2p1_3">
                                                    
                                                </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th>
                          <xsl:value-of select="wnio:Art7u2p2_opis"/>
                        </th>
                        <td>
                          <xsl:value-of select="wnio:Art7u2p2_1">
                                                    
                                                </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:Art7u2p2_2">
                                                    
                                                </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:Art7u2p2_3">
                                                    
                                                </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th>
                          <xsl:value-of select="wnio:Art7u2p3_opis"/>
                        </th>
                        <td>
                          <xsl:value-of select="wnio:Art7u2p3_1">
                                                    
                                                </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:Art7u2p3_2">
                                                    
                                                </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:Art7u2p3_3">
                                                    
                                                </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th>
                          <xsl:value-of select="wnio:Art7u2p4_opis"/>
                        </th>
                        <td>
                          <xsl:value-of select="wnio:Art7u2p4_1">
                                                    
                                                </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:Art7u2p4_2">
                                                    
                                                </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:Art7u2p4_3">
                                                    
                                                </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th>
                          <xsl:value-of select="wnio:Art7u2p5_opis"/>
                        </th>
                        <td>
                          <xsl:value-of select="wnio:Art7u2p5_1">
                                                    
                                                </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:Art7u2p5_2">
                                                    
                                                </xsl:value-of>
                        </td>
                        <th/>
                      </tr>
                      <tr>
                        <th>
                          <xsl:value-of select="wnio:Art7u2p5a_opis"/>
                        </th>
                        <td>
                          <xsl:value-of select="wnio:Art7u2p5a_1">
                                                    
                                                </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:Art7u2p5a_2">
                                                    
                                                </xsl:value-of>
                        </td>
                        <th/>
                      </tr>
                      <xsl:for-each select="wnio:Zwolnienie[@rodzaj='inne']">
                        <tr>
                          <td style="width:40%">
                            <xsl:value-of select="wnio:Art_inny0">
                                                        
                                                    </xsl:value-of>
                          </td>
                          <td style="width:20%">
                            <xsl:value-of select="wnio:Art_inny1">
                                                        
                                                    </xsl:value-of>
                          </td>
                          <td style="width:20%">
                            <xsl:value-of select="wnio:Art_inny2">
                                                        
                                                    </xsl:value-of>
                          </td>
                          <td style="width:20%" colspan="2">
                            <xsl:value-of select="wnio:Art_inny3">
                                                        
                                                    </xsl:value-of>
                          </td>
                        </tr>
                      </xsl:for-each>
                    </table>
                    <table>
                      <tr>
                        <th colspan="4">
                          <h4>DANE DOTYCZĄCE ZWOLNIEŃ PODATKOWYCH WYNIKAJĄCE Z UCHWAŁY RADY GMINY</h4>
                        </th>
                      </tr>
                      <tr>
                        <th style="width:40%">
                          <xsl:value-of select="wnio:Art7u3Budynki_opis"/>
                        </th>
                        <th style="width:20%"/>
                        <td style="width:20%">
                          <xsl:value-of select="wnio:Art7u3Budynki_2"/>
                        </td>
                        <th style="width:20%"/>
                      </tr>
                      <tr>
                        <th>
                          <xsl:value-of select="wnio:Art7u3Nieruchomosci_opis"/>
                        </th>
                        <td>
                          <xsl:value-of select="wnio:Art7u3Nieruchomosci_1"/>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:Art7u3Nieruchomosci_2"/>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:Art7u3Nieruchomosci_3"/>
                        </td>
                      </tr>
                    </table>
                  </xsl:for-each>
                </xsl:if>
                <table>
                  <tr>
                    <th colspan="4">
                      <h4>INFORMACJA O ZAŁĄCZNIKACH</h4>
                    </th>
                  </tr>
                  <tr>
                    <th width="20%">Liczba załączników ZL-1/A</th>
                    <th width="20%">Załącznik ZL-1/B składany</th>
                  </tr>
                  <tr>
                    <td>
                      <xsl:value-of select="count(wnio:DanePrzedmiotow/wnio:DanePrzedmiotow)"/>
                    </td>
                    <td>
                      <xsl:value-of select="//wnio:ZwolnieniaOdNieruchomosci/@type"/>
                    </td>
                  </tr>
                </table>
                <table>
                  <tr>
                    <th colspan="2">
                      <h4>PODPIS PODATNIKA / OSOBY REPREZENTUJĄCEJ PODATNIKA</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 deklaracji</th>
                    <td>
                      <xsl:value-of select="wnio:DataWypelnienia"/>
                    </td>
                  </tr>
                </table>
                <table>
                  <tr>
                    <th>
                      <h4>
                                            POUCZENIE
                                        </h4>
                    </th>
                  </tr>
                  <tr>
                    <td>
                      <xsl:value-of select="wnio:Pouczenie"/>
                    </td>
                  </tr>
                </table>
              </xsl:for-each>
              <xsl:call-template name="Podpisy_elektroniczne"/>
            </div>
          </body>
        </html>
      </xsl:template>
      <xsl:template name="RichText">
        <xsl:param name="text"/>
        <xsl:variable name="startText" select="substring-before(concat($text,'&#xA;'),'&#xA;')"/>
        <xsl:variable name="nextText" select="substring-after($text,'&#xA;')"/>
        <xsl:if test="normalize-space($startText)">
          <xsl:value-of select="substring-before(concat($startText,'&lt;br/&gt;'),'&lt;br/&gt;')"/>
          <xsl:if test="normalize-space($nextText)">
            <xhtml:br/>
          </xsl:if>
        </xsl:if>
        <xsl:if test="contains($text,'&#xA;')">
          <xsl:call-template name="RichText">
            <xsl:with-param name="text" select="$nextText"/>
          </xsl:call-template>
        </xsl:if>
      </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>