7180

ID7180
Data2019-02-25
Symbol2019/02/25/7180
InstytucjaUrząd Gminy Lipusz
NazwaDeklaracja na podatek od nieruchomości
Czy Aktualny1

Ustawy (1)

  • URI://Dziennik_Ustaw/2018/1445/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/2019/02/25/7180/" 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:TrescDokumentu/wnio:Wartosc">
                <h1 style="text-align: center;">
                  <xsl:value-of select="/wnio:Dokument/wnio:DaneDokumentu/str:Naglowek/str:NazwaDokumentu"/>
                </h1>
                <table style="margin:auto; width:280px;">
                  <tr>
                    <th>1. Rok:</th>
                    <td>
                      <xsl:value-of select="wnio:Rok"/>
                    </td>
                  </tr>
                </table>
                <h2>NAGŁÓWEK</h2>
                <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:Termin"/>
                    </th>
                  </tr>
                  <tr>
                    <th>Miejsce składania:</th>
                    <th>
                      <xsl:value-of select="wnio:MiejsceSkladania"/>
                    </th>
                  </tr>
                </table>
                <table>
                  <tr>
                    <th>
                      <h4>A. MIEJSCE SKŁADANIA DEKLARACJI</h4>
                    </th>
                  </tr>
                  <tr>
                    <td>
                      <b>2. Nazwa i adres siedziby organu podatkowego<br/>
    					<xsl:value-of select="wnio:MiejsceSkladaniaInformacji"/>
    				</b>
                    </td>
                  </tr>
                </table>
                <table>
                  <tr>
                    <th colspan="2">
                      <h4>B. OBOWIĄZEK ZŁOŻENIA DEKLARACJI</h4>
                    </th>
                  </tr>
                  <tr>
                    <th colspan="2">
                      <xsl:value-of select="wnio:ObowiazekPodatnika"/>
                    </th>
                  </tr>
                  <tr>
                    <th style="width:40%">3. Okoliczności powodujące obowiązek złożenia deklaracji</th>
                    <td>
                      <xsl:if test="wnio:ObowiazekZlozeniaInformacji='po_raz_pierwszy'">1. deklaracja roczna</xsl:if>
                      <xsl:if test="wnio:ObowiazekZlozeniaInformacji='korekta'">2. korekta deklaracji rocznej</xsl:if>
                    </td>
                  </tr>
                  <xsl:for-each select="wnio:Data">
                    <tr>
                      <th>(miesiąc - rok)</th>
                      <td><xsl:value-of select="wnio:Miesiac"/> 
                                        <xsl:value-of select="wnio:Rok"/>
                                    </td>
                    </tr>
                  </xsl:for-each>
                </table>
                <table>
                  <tr>
                    <th colspan="2">
                      <h4>C. PODMIOT ZOBOWIĄZANY DO ZŁOŻENIA DEKLARACJI</h4>
                    </th>
                  </tr>
                  <tr>
                    <th>4. Rodzaj podmiotu</th>
                    <td colspan="3">
                      <xsl:value-of select="wnio:PodmiotZobowiazanyDoZlozenia"/>
                    </td>
                  </tr>
                </table>
                <table>
                  <tr>
                    <th colspan="2">
                      <h4>D. DANE PODATNIKA</h4>
                    </th>
                  </tr>
                  <tr>
                    <th colspan="2">
                      <h4>D.1. DANE IDENTYFIKACYJNE</h4>
                    </th>
                  </tr>
                </table>
                <table>
                  <tr>
                    <th style="width:10%">5. Rodzaj podatnika</th>
                    <td>
                      <xsl:call-template name="TypPodmiotu">
                        <xsl:with-param name="podmiot" select="wnio:Podmiot"/>
                      </xsl:call-template>
                    </td>
                  </tr>
                </table>
                <xsl:for-each select="wnio:Podmiot">
                  <table>
                    <xsl:for-each select="wnio:OsobaFizyczna">
                      <tr>
                        <th style="width:10%">6. Nazwisko</th>
                        <td style="width:25%">
                          <xsl:value-of select="oso:Nazwisko"/>
                        </td>
                        <th style="width:10%">6. Pierwsze imię</th>
                        <td style="width:25%">
                          <xsl:value-of select="oso:Imie"/>
                        </td>
                        <th>6. Data urodzenia</th>
                        <td>
                          <xsl:value-of select="oso:DataUrodzenia"/>
                        </td>
                      </tr>
                      <tr>
                        <th>7. Imię ojca</th>
                        <td>
                          <xsl:value-of select="oso:ImieOjca"/>
                        </td>
                        <th>7. Imię matki</th>
                        <td>
                          <xsl:value-of select="oso:ImieMatki"/>
                        </td>
                        <th>8. Adres e-mail</th>
                        <td>
                          <xsl:value-of select="../wnio:Adres/adr:Email"/>
                        </td>
                      </tr>
                      <tr>
                        <th>8. Identyfikator REGON</th>
                        <td>
                          <xsl:value-of select="inst:REGON"/>
                        </td>
                        <th style="width:10%">9. Numer PESEL</th>
                        <td style="width:25%">
                          <xsl:value-of select="oso:PESEL"/>
                        </td>
                        <th>10. Numer Identyfikacji Podatkowej NIP</th>
                        <td>
                          <xsl:value-of select="oso:NIP"/>
                        </td>
                      </tr>
                      <tr>
                        <th>11. Nr. KRS</th>
                        <td>
                          <xsl:value-of select="wnio:KRS"/>
                        </td>
                        <th>12. PKD</th>
                        <td colspan="3">
                          <xsl:value-of select="wnio:PKD"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                    <xsl:for-each select="wnio:OsobaNiefizyczna">
                      <tr>
                        <th style="width:10%">6. Nazwa pełna</th>
                        <td>
                          <xsl:value-of select="inst:NazwaInstytucji"/>
                        </td>
                        <th style="width:10%">7. Nazwa skrócona</th>
                        <td style="width:25%">
                          <xsl:value-of select="wnio:NazwaSkrocona"/>
                        </td>
                        <th>8. Adres e-mail</th>
                        <td>
                          <xsl:value-of select="../wnio:Adres/adr:Email"/>
                        </td>
                      </tr>
                      <tr>
                        <th>8. Identyfikator REGON</th>
                        <td>
                          <xsl:value-of select="inst:REGON"/>
                        </td>
                        <th>10. Numer Identyfikacji Podatkowej NIP</th>
                        <td>
                          <xsl:value-of select="inst:NIP"/>
                        </td>
                        <th>11. Nr KRS</th>
                        <td>
                          <xsl:value-of select="inst:KRS"/>
                        </td>
                      </tr>
                      <tr>
                        <th>12. PKD</th>
                        <td colspan="5">
                          <xsl:value-of select="wnio:PKD"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                  <xsl:for-each select="wnio:Adres">
                    <table>
                      <tr>
                        <th colspan="6">
                          <h4>
                            <xsl:if test="../@typPodmiotu='osoba_fizyczna'">D.2. ADRES ZAMIESZKANIA</xsl:if>
                            <xsl:if test="../@typPodmiotu!='osoba_fizyczna'">D.2. ADRES SIEDZIBY</xsl:if>
                          </h4>
                        </th>
                      </tr>
                      <tr>
                        <th>13. Kraj</th>
                        <td colspan="5">
                          <xsl:value-of select="adr:Kraj"/>
                        </td>
                      </tr>
                      <tr>
                        <th>14. Województwo</th>
                        <td>
                          <xsl:value-of select="adr:Wojewodztwo"/>
                        </td>
                        <th>15. Powiat</th>
                        <td>
                          <xsl:value-of select="adr:Powiat"/>
                        </td>
                        <th>16. Gmina</th>
                        <td>
                          <xsl:value-of select="adr:Gmina"/>
                        </td>
                      </tr>
                      <tr>
                        <th>17. Ulica</th>
                        <td>
                          <xsl:value-of select="adr:Ulica"/>
                        </td>
                        <th>18. Nr domu</th>
                        <td>
                          <xsl:value-of select="adr:Budynek"/>
                        </td>
                        <th>19. Nr lokalu</th>
                        <td>
                          <xsl:value-of select="adr:Lokal"/>
                        </td>
                      </tr>
                      <tr>
                        <th>20. Miejscowość</th>
                        <td>
                          <xsl:value-of select="adr:Miejscowosc"/>
                        </td>
                        <th>21. Kod pocztowy</th>
                        <td>
                          <xsl:value-of select="adr:KodPocztowy"/>
                        </td>
                        <th>22. Poczta</th>
                        <td>
                          <xsl:value-of select="adr:Poczta"/>
                        </td>
                      </tr>
                    </table>
                  </xsl:for-each>
                  <table>
                    <tr>
                      <th colspan="6">
                        <h4>D.3. ADRES DO KORESPONDENCJI (jeśli jest inny niż adres siedziby)
                                            (<xsl:value-of select="wnio:AdresKorespondencyjny/@wystepuje"/>)
                                        </h4>
                      </th>
                    </tr>
                    <xsl:for-each select="wnio:AdresKorespondencyjny[@wystepuje='tak']">
                      <tr>
                        <th>23. Kraj</th>
                        <td colspan="5">
                          <xsl:value-of select="adr:Kraj"/>
                        </td>
                      </tr>
                      <tr>
                        <th>24. Województwo</th>
                        <td>
                          <xsl:value-of select="adr:Wojewodztwo"/>
                        </td>
                        <th>25. Powiat</th>
                        <td>
                          <xsl:value-of select="adr:Powiat"/>
                        </td>
                        <th>26. Gmina</th>
                        <td>
                          <xsl:value-of select="adr:Gmina"/>
                        </td>
                      </tr>
                      <tr>
                        <th>27. Ulica</th>
                        <td>
                          <xsl:value-of select="adr:Ulica"/>
                        </td>
                        <th>28. Nr domu</th>
                        <td>
                          <xsl:value-of select="adr:Budynek"/>
                        </td>
                        <th>29. Nr lokalu</th>
                        <td>
                          <xsl:value-of select="adr:Lokal"/>
                        </td>
                      </tr>
                      <tr>
                        <th>30. Miejscowość</th>
                        <td>
                          <xsl:value-of select="adr:Miejscowosc"/>
                        </td>
                        <th>31. Kod pocztowy</th>
                        <td>
                          <xsl:value-of select="adr:KodPocztowy"/>
                        </td>
                        <th>32. Poczta</th>
                        <td>
                          <xsl:value-of select="adr:Poczta"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                </xsl:for-each>
                <h2>TREŚĆ FORMULARZA</h2>
                <xsl:for-each select="wnio:PrzedmiotyOpodatkowania">
                  <table>
                    <tr>
                      <th colspan="5">
                        <h4 style="display: inline-block;">E. DANE DOTYCZĄCE PRZEDMIOTÓW OPODATKOWANIA NIEPODLEGAJĄCYCH ZWOLNIENIU
                                        </h4>
                      </th>
                    </tr>
                    <xsl:for-each select="wnio:Grunty">
                      <tr>
                        <th colspan="2">
                          <h4>
                            <xsl:value-of select="wnio:Tytul"/>
                          </h4>
                        </th>
                        <th>
                          <b>Podstawa opodatkowania w m<sup>2</sup> (ha) z dokładnością do 1 m<sup>2</sup> </b>
                        </th>
                        <th>
                          <b>Stawka podatku w zł, gr</b>
                        </th>
                        <th>
                          <b>Kwota podatku</b>
                        </th>
                      </tr>
                      <xsl:for-each select="wnio:Pozycja">
                        <tr>
                          <th colspan="2">
                            <b>
                              <xsl:value-of select="concat(position(), '. ', wnio:Opis)"/>
                            </b>
                            <xsl:for-each select="wnio:Hint"/>
                          </th>
                          <td>
                            <xsl:value-of select="concat((count(current()/preceding::wnio:Pozycja)+1)*3-3+33, '.')"/>
                            <br/>
                            <xsl:if test="@typ='m2'"><xsl:value-of select="wnio:Podstawa"/> m
                                                    <sup>2</sup>
                                                </xsl:if>
                            <xsl:if test="@typ='ha'"><xsl:value-of select="wnio:Podstawa"/> ha
                                                </xsl:if>
                          </td>
                          <td>
                            <xsl:value-of select="concat((count(current()/preceding::wnio:Pozycja)+1)*3-3+34, '.')"/>
                            <br/>
                            <xsl:value-of select="wnio:Stawka"/>
                          </td>
                          <th>
                            <xsl:value-of select="concat((count(current()/preceding::wnio:Pozycja)+1)*3-3+35, '.')"/>
                            <br/>
                            <xsl:value-of select="wnio:Kwota"/>
                          </th>
                        </tr>
                      </xsl:for-each>
                    </xsl:for-each>
                    <xsl:for-each select="wnio:Budynki">
                      <tr>
                        <th colspan="2">
                          <h4 style="display: inline-block;">
                            <xsl:value-of select="wnio:Tytul"/>
                          </h4>
                          <xsl:for-each select="wnio:Hint"/>
                        </th>
                        <th>
                          <b>Podstawa opodatkowania w m<sup>2</sup></b>
                        </th>
                        <th>
                          <b>Stawka podatku w zł, gr</b>
                        </th>
                        <th>
                          <b>Kwota podatku w zł, gr</b>
                        </th>
                      </tr>
                      <xsl:for-each select="wnio:Pozycja">
                        <tr>
                          <th colspan="2">
                            <b>
                              <xsl:value-of select="concat(position(), '. ', wnio:Opis)"/>
                            </b>
                          </th>
                          <td><xsl:value-of select="concat((count(current()/preceding::wnio:Pozycja)+1)*5-5+21, '.')"/><br/><xsl:value-of select="wnio:Podstawa"/> m
                                                <sup>2</sup>
                                            </td>
                          <td>
                            <xsl:value-of select="concat((count(current()/preceding::wnio:Pozycja)+1)*5-5+22, '.')"/>
                            <br/>
                            <xsl:value-of select="wnio:Stawka"/>
                          </td>
                          <th>
                            <xsl:value-of select="concat((count(current()/preceding::wnio:Pozycja)+1)*5-5+23, '.')"/>
                            <br/>
                            <xsl:value-of select="wnio:Kwota"/>
                          </th>
                        </tr>
                        <tr>
                          <th rowspan="2">
                            <b>
                              <xsl:value-of select="../wnio:Tekst1"/>
                            </b>
                          </th>
                          <th>
                            <b>
                              <xsl:value-of select="../wnio:Tekst2"/>
                            </b>
                          </th>
                          <td><xsl:value-of select="concat((count(current()/preceding::wnio:Pozycja)+1)*5-5+24, '.')"/><br/><xsl:value-of select="wnio:Podstawa1"/> m
                                                <sup>2</sup></td>
                          <th rowspan="2" style="text-align: center;">X</th>
                          <th rowspan="2" style="text-align: center;">X</th>
                        </tr>
                        <tr>
                          <th>
                            <b>
                              <xsl:value-of select="../wnio:Tekst3"/>
                            </b>
                          </th>
                          <td><xsl:value-of select="concat((count(current()/preceding::wnio:Pozycja)+1)*5-5+25, '.')"/><br/><xsl:value-of select="wnio:Podstawa2"/> m
                                                <sup>2</sup></td>
                        </tr>
                      </xsl:for-each>
                    </xsl:for-each>
                    <xsl:for-each select="wnio:Budowle">
                      <tr>
                        <th colspan="2">
                          <h4>
                            <xsl:value-of select="wnio:Tytul"/>
                          </h4>
                        </th>
                        <th>
                          <b>Podstawa opodatkowania w zł z dokładnością do 1 zł </b>
                        </th>
                        <th>
                          <b>Stawka podatku</b>
                        </th>
                        <th>
                          <b>Kwota podatku w zł, gr</b>
                        </th>
                      </tr>
                      <xsl:for-each select="wnio:Pozycja">
                        <tr>
                          <th colspan="2">
                            <b>
                              <xsl:value-of select="wnio:Opis"/>
                            </b>
                          </th>
                          <td><xsl:value-of select="concat((count(current()/preceding::wnio:Pozycja)+73), '.')"/><br/><xsl:value-of select="wnio:Podstawa"/> zł
                                            </td>
                          <td><xsl:value-of select="concat((count(current()/preceding::wnio:Pozycja)+74), '.')"/><br/><xsl:value-of select="wnio:StawkaProcent"/> %
                                            </td>
                          <th>
                            <xsl:value-of select="concat((count(current()/preceding::wnio:Pozycja)+75), '.')"/>
                            <br/>
                            <xsl:value-of select="wnio:Kwota"/>
                          </th>
                        </tr>
                      </xsl:for-each>
                    </xsl:for-each>
                    <xsl:for-each select="wnio:Udzialy">
                      <tr>
                        <th colspan="4">
                          <h4>
                            <xsl:value-of select="wnio:Tytul"/>
                          </h4>
                        </th>
                        <td>
                          <xsl:value-of select="wnio:KwotaPodatku"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                    <tr>
                      <th colspan="5">
                        <h4>F. ŁĄCZNA KWOTA PODATKU</h4>
                      </th>
                    </tr>
                    <tr>
                      <th colspan="4"><b>Kwota podatku</b> (po zaokrągleniu do pełnych zł ) ***)<br/> Suma kwot z części E.1, E.2 i E.3.
                                    </th>
                      <th>
                                        89.<br/>
                                        <xsl:value-of select="wnio:Razem"/> zł
                                    </th>
                    </tr>
                  </table>
                </xsl:for-each>
                <table>
                  <tr>
                    <th colspan="2">
                      <h4>G. INFORMACJA O ZAŁĄCZNIKACH (do niniejszej deklaracji dołączono)</h4>
                    </th>
                  </tr>
                  <tr>
                    <th>90. Liczba załączników ZN-1/A:
                                    <xsl:value-of select="count(wnio:ZalA)"/>
                                </th>
                  </tr>
                  <tr>
                    <th>91. Załącznik ZN-1/B składany
                                    <xsl:value-of select="wnio:ZalB/@wystepuje"/>
                                </th>
                  </tr>
                </table>
                <xsl:for-each select="wnio:ZalA">
                  <table>
                    <tr>
                      <th><h4 style="text-align: center;">ZN-1/A DANE O NIERUCHOMOŚCIACH</h4>
                                        W przypadku, gdy podatnik posiada na terenie gminy więcej nieruchomości należy wypełnić odrębne załączniki.
                                    </th>
                    </tr>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:ZalA">
                  <table>
                    <tr>
                      <th colspan="2">
                        <h4>C. DANE O NIERUCHOMOŚCIACH I OBIEKTACH BUDOWLANYCH PODLEGAJĄCYCH OPODATKOWANIU LUB ZWOLNIENIU</h4>
                      </th>
                    </tr>
                    <tr>
                      <th colspan="2"><xsl:value-of select="concat('C.', (count(current()/preceding::wnio:ZalA)+1), '.', '1')"/> POŁOŻENIE NIERUCHOMOŚCI
                                    </th>
                    </tr>
                    <tr>
                      <th><xsl:value-of select="concat((count(current()/preceding::wnio:ZalA)+1)*25-25+9, '. ')"/> Położenie nieruchomości (adres)
                                    </th>
                      <td>
                        <xsl:value-of select="wnio:Adres"/>
                      </td>
                    </tr>
                    <tr>
                      <th colspan="2"><xsl:value-of select="concat('C.', (count(current()/preceding::wnio:ZalA)+1), '.', '2')"/> TYTUŁ PRAWNY
                                    </th>
                    </tr>
                    <tr>
                      <td colspan="2">
                        <xsl:if test="wnio:TytulPrawny = '1' "><xsl:value-of select="concat((count(current()/preceding::wnio:ZalA)+1)*25-25+10, '. ')"/>. 1. Rodzaj własności - własność</xsl:if>
                        <xsl:if test="wnio:TytulPrawny = '2' "><xsl:value-of select="concat((count(current()/preceding::wnio:ZalA)+1)*25-25+10, '. ')"/>. 2. Rodzaj własności - współwłasność</xsl:if>
                        <xsl:if test="wnio:TytulPrawny = '3' "><xsl:value-of select="concat((count(current()/preceding::wnio:ZalA)+1)*25-25+11, '. ')"/> 1. Rodzaj posiadania samoistnego - posiadanie</xsl:if>
                        <xsl:if test="wnio:TytulPrawny = '4' "><xsl:value-of select="concat((count(current()/preceding::wnio:ZalA)+1)*25-25+11, '. ')"/> 2. Rodzaj posiadania samoistnego - współposiadanie</xsl:if>
                        <xsl:if test="wnio:TytulPrawny = '5' "><xsl:value-of select="concat((count(current()/preceding::wnio:ZalA)+1)*25-25+12, '. ')"/> 1. Rodzaj użytkowania - użytkowanie wieczyste</xsl:if>
                        <xsl:if test="wnio:TytulPrawny = '6' "><xsl:value-of select="concat((count(current()/preceding::wnio:ZalA)+1)*25-25+12, '. ')"/> 2. Rodzaj użytkowania - współużytkowanie wieczyste</xsl:if>
                        <xsl:if test="wnio:TytulPrawny = '7' "><xsl:value-of select="concat((count(current()/preceding::wnio:ZalA)+1)*25-25+13, '. ')"/> 1. Rodzaj posiadania zależnego - posiadanie</xsl:if>
                        <xsl:if test="wnio:TytulPrawny = '8' "><xsl:value-of select="concat((count(current()/preceding::wnio:ZalA)+1)*25-25+13, '. ')"/> 2. Rodzaj posiadania zależnego - współposiadanie</xsl:if>
                      </td>
                    </tr>
                    <tr>
                      <th colspan="2"><xsl:value-of select="concat('C.', (count(current()/preceding::wnio:ZalA)+1), '.', '3')"/> IDENTYFIKATORY GEODEZYJNE DZIAŁEK, BUDYNKÓW, LOKALI
                                    </th>
                    </tr>
                    <xsl:for-each select="wnio:Dzialka">
                      <tr>
                        <th><xsl:value-of select="concat((count(current()/preceding::wnio:ZalA)+1)*25-25+14, '. ')"/> Działki (nr działki, obręb)
                                        </th>
                        <td>
                          <xsl:value-of select="wnio:NrDzialki"/>
                        </td>
                      </tr>
                      <tr>
                        <th><xsl:value-of select="concat((count(current()/preceding::wnio:ZalA)+1)*25-25+15, '. ')"/> Powierzchnia działki
                                        </th>
                        <td>
                          <xsl:value-of select="wnio:Powierzchnia"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                    <xsl:for-each select="wnio:Budynek">
                      <tr>
                        <th><xsl:value-of select="concat((count(current()/preceding::wnio:ZalA)+1)*25-25+16, '. ')"/> Budynki
                                        </th>
                        <td>
                          <xsl:value-of select="wnio:Nr"/>
                        </td>
                      </tr>
                      <tr>
                        <th><xsl:value-of select="concat((count(current()/preceding::wnio:ZalA)+1)*25-25+17, '. ')"/> Powierzchnia użytkowa
                                        </th>
                        <td>
                          <xsl:value-of select="wnio:Powierzchnia"/>
                        </td>
                      </tr>
                      <tr>
                        <th><xsl:value-of select="concat((count(current()/preceding::wnio:ZalA)+1)*25-25+18, '. ')"/> Funkcja budynku
                                        </th>
                        <td>
                          <xsl:value-of select="wnio:Funkcja"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                    <xsl:for-each select="wnio:Lokal">
                      <tr>
                        <th><xsl:value-of select="concat((count(current()/preceding::wnio:ZalA)+1)*25-25+19, '. ')"/> Lokale
                                        </th>
                        <td>
                          <xsl:value-of select="wnio:Nr"/>
                        </td>
                      </tr>
                      <tr>
                        <th><xsl:value-of select="concat((count(current()/preceding::wnio:ZalA)+1)*25-25+20, '. ')"/> Powierzchnia użytkowa
                                        </th>
                        <td>
                          <xsl:value-of select="wnio:Powierzchnia"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                    <tr>
                      <th colspan="2"><xsl:value-of select="concat('C.', (count(current()/preceding::wnio:ZalA)+1), '.', '4')"/> KSIĘGA WIECZYSTA
                                    </th>
                    </tr>
                    <tr>
                      <th><xsl:value-of select="concat((count(current()/preceding::wnio:ZalA)+1)*25-25+21, '. ')"/> Numer księgi wieczystej (zbioru dokumentów) gruntu
                                    </th>
                      <td>
                        <xsl:value-of select="wnio:NrKsiegiGruntu"/>
                      </td>
                    </tr>
                    <tr>
                      <th><xsl:value-of select="concat((count(current()/preceding::wnio:ZalA)+1)*25-25+22, '. ')"/> Numer księgi wieczystej (zbioru dokumentów) budynku – lokalu
                                    </th>
                      <td>
                        <xsl:value-of select="wnio:NrKsiegiBudynku"/>
                      </td>
                    </tr>
                    <tr>
                      <th><xsl:value-of select="concat((count(current()/preceding::wnio:ZalA)+1)*25-25+23, '. ')"/> Nazwa sądu
                                    </th>
                      <td>
                        <xsl:value-of select="wnio:NazwaSadu"/>
                      </td>
                    </tr>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:ZalB[@wystepuje='tak']">
                  <table>
                    <tr>
                      <th colspan="5">
                        <h4 style="text-align: center;">ZN-1/B DANE O ZWOLNIENIACH PODATKOWYCH W PODATKU OD NIERUCHOMOŚCI
                                        </h4>
                      </th>
                    </tr>
                    <tr>
                      <th colspan="5">
                        <h4 style="text-align: center;">C. DANE DOTYCZĄCE ZWOLNIEŃ PODATKOWYCH WYNIKAJĄCYCH Z USTAWY LUB UCHWAŁY RADY GMINY</h4>
                      </th>
                    </tr>
                    <tr>
                      <th style="width: 40%">
                        <b>Tytuł prawny zwolnienia</b>
                      </th>
                      <th>Grunty powierzchnia w m<sup>2</sup></th>
                      <th>Budynki lub ich części powierzchnia użytkowa w m<sup>2</sup></th>
                      <th>Budowle wartość w zł (w zaokrągleniu do pełnych zł)</th>
                      <th>
                        <b>Kwota podatku objętego zwolnieniem</b>
                      </th>
                    </tr>
                    <xsl:for-each select="wnio:Zwolnienie[@rodzaj='podane']">
                      <tr>
                        <th>
                          <b>
                            <xsl:value-of select="wnio:Opis"/>
                          </b>
                        </th>
                        <xsl:for-each select="wnio:Grunty">
                          <td>
                            <xsl:if test="@numer">
                              <xsl:value-of select="concat(@numer, '.')"/>
                              <br/>
                            </xsl:if>
                            <xsl:value-of select="."/>
                          </td>
                        </xsl:for-each>
                        <xsl:if test="not(wnio:Grunty)">
                          <th/>
                        </xsl:if>
                        <xsl:for-each select="wnio:Budynki">
                          <td>
                            <xsl:if test="@numer">
                              <xsl:value-of select="concat(@numer, '.')"/>
                              <br/>
                            </xsl:if>
                            <xsl:value-of select="."/>
                          </td>
                        </xsl:for-each>
                        <xsl:if test="not(wnio:Budynki)">
                          <th/>
                        </xsl:if>
                        <xsl:for-each select="wnio:Budowle">
                          <td>
                            <xsl:if test="@numer">
                              <xsl:value-of select="concat(@numer, '.')"/>
                              <br/>
                            </xsl:if>
                            <xsl:value-of select="."/>
                          </td>
                        </xsl:for-each>
                        <xsl:if test="not(wnio:Budowle)">
                          <th/>
                        </xsl:if>
                        <td>
                          <xsl:value-of select="concat(wnio:Kwota/@numer, '.')"/>
                          <br/>
                          <xsl:value-of select="wnio:Kwota"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                    <tr>
                      <th colspan="5">
                        <b>Inne</b>
                      </th>
                    </tr>
                    <xsl:for-each select="wnio:Zwolnienie[@rodzaj='inne']">
                      <tr>
                        <td>
                          <xsl:value-of select="wnio:Opis"/>
                        </td>
                        <td>
                          <xsl:value-of select="concat((count(current()/preceding::wnio:Zwolnienie[@rodzaj='inne'])+1)*4-4+85, '.')"/>
                          <br/>
                          <xsl:value-of select="wnio:Grunty"/>
                        </td>
                        <td>
                          <xsl:value-of select="concat((count(current()/preceding::wnio:Zwolnienie[@rodzaj='inne'])+1)*4-4+86, '.')"/>
                          <br/>
                          <xsl:value-of select="wnio:Budynki"/>
                        </td>
                        <td>
                          <xsl:value-of select="concat((count(current()/preceding::wnio:Zwolnienie[@rodzaj='inne'])+1)*4-4+87, '.')"/>
                          <br/>
                          <xsl:value-of select="wnio:Budowle"/>
                        </td>
                        <td>
                          <xsl:value-of select="concat((count(current()/preceding::wnio:Zwolnienie[@rodzaj='inne'])+1)*4-4+88, '.')"/>
                          <br/>
                          <xsl:value-of select="wnio:Kwota"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                </xsl:for-each>
                <h2>STOPKA</h2>
                <xsl:if test="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Podmiot/wnio:Kontakt!=''">
                  <table>
                    <tr>
                      <th colspan="6">
                        <h4>Wyrażam zgodę na kontakt: </h4>
                      </th>
                    </tr>
                    <xsl:for-each select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Podmiot/wnio:Kontakt">
                      <tr>
                        <td style="width:40%">
                          <xsl:value-of select="./@rodzaj">
                                            </xsl:value-of>
                        </td>
                        <td style="width:40%">
                          <xsl:value-of select="wnio:Telefoniczny[../@rodzaj='telefoniczny']"/>
                          <xsl:value-of select="wnio:Email[../@rodzaj='email']"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                </xsl:if>
                <xsl:if test="str:Zalaczniki/str:Zalacznik[@rodzajZalacznika='inny']">
                  <xsl:for-each select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/str:Zalaczniki">
                    <table>
                      <tr>
                        <th colspan="6">
                          <h4>Załączniki:</h4>
                        </th>
                      </tr>
                      <tr>
                        <th>Opis</th>
                        <th>Nazwa pliku</th>
                      </tr>
                      <xsl:for-each select="str:Zalacznik[@rodzajZalacznika='inny']">
                        <tr>
                          <td style="width:60%">
                            <xsl:value-of select="str:OpisZalacznika"/>
                          </td>
                          <td>
                            <xsl:value-of select="@nazwaPliku"/>
                          </td>
                        </tr>
                      </xsl:for-each>
                    </table>
                  </xsl:for-each>
                </xsl:if>
                <table>
                  <tr>
                    <th>
                      <h4>***) Pouczenie</h4>
                    </th>
                  </tr>
                  <tr>
                    <th>
                      <xsl:value-of select="wnio:Pouczenie"/>
                    </th>
                  </tr>
                </table>
                <table>
                  <tr>
                    <th colspan="2">
                      <h4>H. OŚWIADCZENIE I PODPIS PODATNIKA / OSOBY REPREZENTUJĄCEJ PODATNIKA</h4>
                    </th>
                  </tr>
                  <tr>
                    <th>92. Imię</th>
                    <td>
                      <xsl:value-of select="oso:Imie"/>
                    </td>
                  </tr>
                  <tr>
                    <th>93. Nazwisko</th>
                    <td>
                      <xsl:value-of select="oso:Nazwisko"/>
                    </td>
                  </tr>
                  <tr>
                    <th>94. Data wypełnienia deklaracji</th>
                    <td>
                      <xsl:value-of select="wnio:DataWypelnienia"/>
                    </td>
                  </tr>
                  <tr>
                    <th>95. Telefon kontaktowy</th>
                    <td>
                      <xsl:value-of select="adr:Telefon"/>
                    </td>
                  </tr>
                </table>
              </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:template name="TypPodmiotu">
        <xsl:param name="podmiot"/>
        <xsl:choose>
          <xsl:when test="$podmiot/@typPodmiotu='osoba_fizyczna'">1. osoba fizyczna</xsl:when>
          <xsl:when test="$podmiot/@typPodmiotu='osoba_prawna'">2. osoba prawna</xsl:when>
          <xsl:when test="$podmiot/@typPodmiotu='jednostka_organizacyjna'">3. jednostka organizacyjna, w tym spółka, nieposiadająca osobowości prawnej</xsl:when>
          <xsl:otherwise>
            <xsl:value-of select="$podmiot/wnio:Podmiot/@typPodmiotu"/>
          </xsl:otherwise>
        </xsl:choose>
        <xsl:text> </xsl:text>
        <xsl:value-of select="$podmiot/wnio:Podmiot/@typPodmiotu"/>
      </xsl:template>
    </xsl:stylesheet>