5835

ID5835
Data2018-09-25
Symbol2018/09/25/5835
InstytucjaUrząd Gminy w Lubaszu
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/2018/09/25/5835/" 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" xmlns:xfl="http://www.w3.org/1999/XSL/Transform" 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:TrescDokumentu/wnio:Wartosc">
                <h1 style="text-align: center;">Deklaracja na podatek od nieruchomości</h1>
                <table style="margin:auto; width:280px;">
                  <tr>
                    <th>Rok:</th>
                    <td>
                      <xsl:value-of select="wnio:Rok"/>
                    </td>
                  </tr>
                </table>
                <h2>NAGŁÓWEK</h2>
                <xsl:for-each select="wnio:Naglowek">
                  <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>
                </xsl:for-each>
                <table>
                  <tr>
                    <th colspan="2">
                      <h4>OBOWIĄZEK ZŁOŻENIA DEKLARACJI</h4>
                    </th>
                  </tr>
                  <tr>
                    <td>
                      <xsl:value-of select="wnio:Info"/>
                    </td>
                  </tr>
                  <tr>
                    <th style="width:40%">Okoliczności powodujące obowiązek złożenia deklaracji</th>
                  </tr>
                  <tr>
                    <td>
                      <xsl:if test="wnio:ObowiazekZlozeniaInformacji='po_raz_pierwszy'">deklaracja roczna</xsl:if>
                      <xsl:if test="wnio:ObowiazekZlozeniaInformacji='korekta'">korekta deklaracji rocznej</xsl:if>
                      <xsl:for-each select="wnio:DataZmianyMiesiac">
                        (miesiąc - rok)
                        <xsl:value-of select="."/>.
                        <xsl:for-each select="../wnio:DataZmianyRok"><xsl:value-of select="."/></xsl:for-each>
    
                      </xsl:for-each>
                    </td>
                  </tr>
                </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 lub posiadacz</xsl:if>
                      <xsl:if test="wnio:PodmiotZobowiazanyDoZlozenia/@typ='2'">współwłaściciel, współużytkownik lub 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>
                      <td colspan="6">* - dotyczy podatnika niebędącego osobą fizyczną ** - dotyczy podatnika będącego
                        osobą fizyczną
                      </td>
                    </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">
                            
                          </xsl:value-of>
                        </td>
                        <th style="width:10%">Pierwsze imię**</th>
                        <td style="width:25%">
                          <xsl:value-of select="oso:Imie">
                            
                          </xsl:value-of>
                        </td>
                        <th style="width:10%">Drugie imię**</th>
                        <td>
                          <xsl:value-of select="oso:ImieDrugie"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Data urodzenia**</th>
                        <td>
                          <xsl:value-of select="oso:DataUrodzenia">
                            
                          </xsl:value-of>
                        </td>
                        <th>Imię ojca**</th>
                        <td>
                          <xsl:value-of select="oso:ImieOjca">
                            
                          </xsl:value-of>
                        </td>
                        <th>Imię matki**</th>
                        <td>
                          <xsl:value-of select="oso:ImieMatki">
                            
                          </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th style="width:10%">PESEL**</th>
                        <td style="width:25%">
                          <xsl:value-of select="oso:PESEL">
                            
                          </xsl:value-of>
                        </td>
                        <th style="width:10%">NIP</th>
                        <td style="width:25%" colspan="3">
                          <xsl:value-of select="oso:NIP">
                          </xsl:value-of>
                        </td>
                      </tr>
                    </xsl:for-each>
                    <xsl:for-each select="wnio:OsobaNiefizyczna">
                      <tr>
                        <th style="width:10%">Nazwa pełna*</th>
                        <td style="width:55%">
                          <xsl:value-of select="inst:NazwaInstytucji">
                            
                          </xsl:value-of>
                        </td>
                        <th style="width:10%">Nazwa skrócona*</th>
                        <td colspan="3" style="width:25%">
                          <xsl:value-of select="wnio:NazwaSkrocona">
                            
                          </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th style="width:10%">REGON*</th>
                        <td style="width:25%">
                          <xsl:value-of select="inst:REGON">
                            
                          </xsl:value-of>
                        </td>
                        <th style="width:10%">PKD</th>
                        <td>
                          <xsl:value-of select="wnio:PKD"/>
                        </td>
                        <th style="width:10%">NIP</th>
                        <td style="width:25%">
                          <xsl:value-of select="inst:NIP">
                            
                          </xsl:value-of>
                        </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">
                            
                            
                          </xsl:value-of>
                        </td>
                        <th>Gmina</th>
                        <td>
                          <xsl:value-of select="adr:Gmina">
                            
                            
                          </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th>Miejscowość</th>
                        <td>
                          <xsl:value-of select="adr:Miejscowosc">
                            
                            
                          </xsl:value-of>
                        </td>
                        <th>Kod pocztowy</th>
                        <td>
                          <xsl:value-of select="adr:KodPocztowy">
                            
                            
                          </xsl:value-of>
                        </td>
                        <th>Poczta</th>
                        <td>
                          <xsl:value-of select="adr:Poczta">
                            
                            
                          </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th>Ulica</th>
                        <td>
                          <xsl:value-of select="adr:Ulica">
                            
                          </xsl:value-of>
                        </td>
                        <th>Nr domu</th>
                        <td>
                          <xsl:value-of select="adr:Budynek">
                            
                            
                          </xsl:value-of>
                        </td>
                        <th>Nr lokalu</th>
                        <td>
                          <xsl:value-of select="adr:Lokal">
                            
                          </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th>Telefon</th>
                        <td colspan="5">
                          <xsl:value-of select="adr:Telefon">
                            
                            
                          </xsl:value-of>
                        </td>
                      </tr>
                    </table>
                  </xsl:for-each>
                  <table>
                    <tr>
                      <th colspan="6">
                        <h4>ADRES DO DORĘCZEŃ (wypełnić w przypadku, gdy adres ten jest inny niż adres zamieszkania lub
                          siedziby)
                          <xsl:value-of select="wnio:Adres/@rodzaj"/>
                          <xsl:value-of select="wnio:AdresKorespondencyjny/@wystepuje"/>
                        </h4>
                      </th>
                    </tr>
                    <xsl:for-each select="wnio:AdresKorespondencyjny[@wystepuje='tak']">
                      <tr>
                        <th>Kraj</th>
                        <td colspan="5">
                          <xsl:value-of select="adr:Kraj"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Województwo</th>
                        <td>
                          <xsl:value-of select="adr:Wojewodztwo"/>
                        </td>
                        <th>Powiat</th>
                        <td>
                          <xsl:value-of select="adr:Powiat">
                            
                            
                          </xsl:value-of>
                        </td>
                        <th>Gmina</th>
                        <td>
                          <xsl:value-of select="adr:Gmina">
                            
                            
                          </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th>Miejscowość</th>
                        <td>
                          <xsl:value-of select="adr:Miejscowosc">
                            
                            
                          </xsl:value-of>
                        </td>
                        <th>Kod pocztowy</th>
                        <td>
                          <xsl:value-of select="adr:KodPocztowy">
                            
                            
                          </xsl:value-of>
                        </td>
                        <th>Poczta</th>
                        <td>
                          <xsl:value-of select="adr:Poczta">
                            
                            
                          </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th>Ulica</th>
                        <td>
                          <xsl:value-of select="adr:Ulica">
                            
                          </xsl:value-of>
                        </td>
                        <th>Nr domu</th>
                        <td>
                          <xsl:value-of select="adr:Budynek">
                            
                            
                          </xsl:value-of>
                        </td>
                        <th>Nr lokalu</th>
                        <td>
                          <xsl:value-of select="adr:Lokal">
                            
                          </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th>Telefon</th>
                        <td colspan="5">
                          <xsl:value-of select="adr:Telefon">
                            
                            
                          </xsl:value-of>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:Wspolwlasciciele">
                  <xsl:for-each select="wnio:Wspolwlasciciel">
                    <table>
                      <tr>
                        <th colspan="6">
                          <h4>DANE O PODATNIKACH PODATKU OD NIERUCHOMOŚCI, ROLNEGO, LEŚNEGO</h4>
                        </th>
                      </tr>
                      <tr>
                        <th>
                          <b>Nr załącznika</b>
                        </th>
                        <td colspan="5">
                          <xsl:value-of select="wnio:NrZalacznika"/>
                        </td>
                      </tr>
                      <tr>
                        <th colspan="6">
                          Załącznik Z-2 wypełnić w przypadku braku wystarczającej ilości miejsca w części dotyczącej
                          danych podatnika (punkt D) w deklaracjach DNP-1, DRP-1, DLP-1 bądź w informacjach IN-1,
                          IR-1, IL-1.
                        </th>
                      </tr>
                      <tr>
                        <th colspan="6">
                          <h4>PRZEZNACZENIE FORMULARZA</h4>
                        </th>
                      </tr>
                      <tr>
                        <th colspan="3">Niniejszy formularz stanowi załącznik do</th>
                        <td colspan="3">
                          <xsl:value-of select="wnio:PrzeznaczenieFormularza"/>
                        </td>
                      </tr>
                      <tr>
                        <th colspan="6"><h4>DANE PODATNIKA</h4>
                          * - dotyczy podatnika niebędącego osobą fizyczną ** - dotyczy podatnika będącego osobą
                          fizyczną
                        </th>
                      </tr>
                      <tr>
                        <th colspan="6">
                          <h4>DANE IDENTYFIKACYJNE</h4>
                        </th>
                      </tr>
                      <tr>
                        <th>Rodzaj podatnika</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">
                              
                            </xsl:value-of>
                          </td>
                          <th style="width:10%">Imię**</th>
                          <td style="width:25%">
                            <xsl:value-of select="oso:Imie">
                            </xsl:value-of>
                          </td>
                          <th style="width:10%">Drugie imię**</th>
                          <td>
                            <xsl:value-of select="oso:ImieDrugie"/>
                          </td>
                        </tr>
                        <tr>
                          <th style="width:10%">NIP</th>
                          <td style="width:25%">
                            <xsl:value-of select="oso:NIP">
                            </xsl:value-of>
                          </td>
                          <th style="width:10%">PESEL**
                          </th>
                          <td style="width:25%" colspan="3">
                            <xsl:value-of select="oso:PESEL">
                              
                            </xsl:value-of>
                          </td>
                        </tr>
                        <tr>
                          <th>Data urodzenia**</th>
                          <td>
                            <xsl:value-of select="oso:DataUrodzenia">
                              
                            </xsl:value-of>
                          </td>
                          <th>Imię ojca**</th>
                          <td>
                            <xsl:value-of select="oso:ImieOjca">
                              
                            </xsl:value-of>
                          </td>
                          <th>Imię matki**</th>
                          <td>
                            <xsl:value-of select="oso:ImieMatki">
                              
                            </xsl:value-of>
                          </td>
                        </tr>
                      </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">
                              
                            </xsl:value-of>
                          </td>
                          <th style="width:10%">Nazwa skrócona*</th>
                          <td style="width:25%">
                            <xsl:value-of select="wnio:NazwaSkrocona">
                              
                            </xsl:value-of>
                          </td>
                        </tr>
                        <tr>
                          <th style="width:10%">PKD*</th>
                          <td style="width:25%">
                            <xsl:value-of select="wnio:PKD">
                            </xsl:value-of>
                          </td>
                          <th style="width:10%">REGON*</th>
                          <td style="width:25%">
                            <xsl:value-of select="inst:REGON">
                              
                            </xsl:value-of>
                          </td>
                          <th style="width:10%">NIP</th>
                          <td>
                            <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">
                              
                              
                            </xsl:value-of>
                          </td>
                          <th>Gmina</th>
                          <td>
                            <xsl:value-of select="adr:Gmina">
                              
                              
                            </xsl:value-of>
                          </td>
                        </tr>
                        <tr>
                          <th>Miejscowość</th>
                          <td>
                            <xsl:value-of select="adr:Miejscowosc">
                              
                              
                            </xsl:value-of>
                          </td>
                          <th>Kod pocztowy</th>
                          <td>
                            <xsl:value-of select="adr:KodPocztowy">
                              
                              
                            </xsl:value-of>
                          </td>
                          <th>Poczta</th>
                          <td>
                            <xsl:value-of select="adr:Poczta">
                              
                              
                            </xsl:value-of>
                          </td>
                        </tr>
                        <tr>
                          <th>Ulica</th>
                          <td>
                            <xsl:value-of select="adr:Ulica">
                              
                            </xsl:value-of>
                          </td>
                          <th>Nr domu</th>
                          <td>
                            <xsl:value-of select="adr:Budynek">
                              
                              
                            </xsl:value-of>
                          </td>
                          <th>Nr lokalu</th>
                          <td>
                            <xsl:value-of select="adr:Lokal">
                              
                            </xsl:value-of>
                          </td>
                        </tr>
                        <tr>
                          <th>Telefon</th>
                          <td>
                            <xsl:value-of select="adr:Telefon">
                              
                              
                            </xsl:value-of>
                          </td>
                          <th>E-mail</th>
                          <td colspan="3">
                            <xsl:value-of select="adr:Email">
                              
                              
                            </xsl:value-of>
                          </td>
                        </tr>
                      </table>
                    </xsl:for-each>
                    <table>
                      <tr>
                        <th colspan="6">
                          <h4>ADRES DO DORĘCZEŃ (wypełnić w przypadku, gdy adres ten jest inny niż adres zamieszkania
                            lub siedziby)
                            <xsl:value-of select="wnio:Adres/@rodzaj"/>
                            <xsl:value-of select="wnio:AdresKorespondencyjny/@wystepuje"/>
                          </h4>
                        </th>
                      </tr>
                      <xsl:for-each select="wnio:AdresKorespondencyjny[@wystepuje='tak']">
                        <tr>
                          <th>Kraj</th>
                          <td colspan="5">
                            <xsl:value-of select="adr:Kraj"/>
                          </td>
                        </tr>
                        <tr>
                          <th>Województwo</th>
                          <td>
                            <xsl:value-of select="adr:Wojewodztwo"/>
                          </td>
                          <th>Powiat</th>
                          <td>
                            <xsl:value-of select="adr:Powiat">
                              
                              
                            </xsl:value-of>
                          </td>
                          <th>Gmina</th>
                          <td>
                            <xsl:value-of select="adr:Gmina">
                              
                              
                            </xsl:value-of>
                          </td>
                        </tr>
                        <tr>
                          <th>Miejscowość</th>
                          <td>
                            <xsl:value-of select="adr:Miejscowosc">
                              
                              
                            </xsl:value-of>
                          </td>
                          <th>Kod pocztowy</th>
                          <td>
                            <xsl:value-of select="adr:KodPocztowy">
                              
                              
                            </xsl:value-of>
                          </td>
                          <th>Poczta</th>
                          <td>
                            <xsl:value-of select="adr:Poczta">
                              
                              
                            </xsl:value-of>
                          </td>
                        </tr>
                        <tr>
                          <th>Ulica</th>
                          <td>
                            <xsl:value-of select="adr:Ulica">
                              
                            </xsl:value-of>
                          </td>
                          <th>Nr domu</th>
                          <td>
                            <xsl:value-of select="adr:Budynek">
                              
                              
                            </xsl:value-of>
                          </td>
                          <th>Nr lokalu</th>
                          <td>
                            <xsl:value-of select="adr:Lokal">
                              
                            </xsl:value-of>
                          </td>
                        </tr>
                        <tr>
                          <th>Telefon</th>
                          <td>
                            <xsl:value-of select="adr:Telefon">
                              
                              
                            </xsl:value-of>
                          </td>
                          <th>E-mail</th>
                          <td colspan="3">
                            <xsl:value-of select="adr:Email">
                              
                              
                            </xsl:value-of>
                          </td>
                        </tr>
                      </xsl:for-each>
                    </table>
                  </xsl:for-each>
                </xsl:for-each>
                <h2>TREŚĆ FORMULARZA</h2>
                <xsl:for-each select="wnio:DanePrzedmiotow">
                  <table>
                    <tr>
                      <th colspan="2"><h4>DANE DOTYCZĄCE PRZEDMIOTÓW OPODATKOWANIA</h4> W przypadku, gdy podatnik posiada
                        na terenie gminy więcej niż jedną nieruchomość, należy wypełnić załącznik nr Z-1
                      </th>
                    </tr>
                  </table>
                  <xsl:for-each select="wnio:DanePrzedmiotow">
                    <table>
                      <tr>
                        <th colspan="2">
                          <h4>POŁOŻENIE NIERUCHOMOŚCI</h4>
                        </th>
                      </tr>
                      <tr>
                        <th>Adres</th>
                        <td>
                          <xsl:value-of select="wnio:AdresNieruchomosci">
                            
                          </xsl:value-of>
                        </td>
                      </tr>
                      <xsl:for-each select="wnio:IdentyfikatoryDzialek">
                        <tr>
                          <th colspan="2">
                            <h4>IDENTYFIKATORY GEODEZYJNE DZIAŁEK, BUDYNKÓW, LOKALI</h4>
                          </th>
                        </tr>
                        <tr>
                          <th style="width:20%">Działki
    
                          </th>
                          <td>
                            <xsl:for-each select="wnio:IdentyfikatorDzialki">
                              <xsl:value-of select=".">
                                
                              </xsl:value-of>
                            </xsl:for-each>
                          </td>
                        </tr>
                      </xsl:for-each>
                      <tr>
                        <th colspan="2">
                          <h4>KSIĘGA WIECZYSTA</h4>
                        </th>
                      </tr>
                      <tr>
                        <th>Numer księgi wieczystej</th>
                        <td>
                          <xsl:value-of select="wnio:NrKsiegiWieczystej">
                            
                          </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th>Nazwa sądu</th>
                        <td>
                          <xsl:value-of select="wnio:NazwaSadu">
                            
                          </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th colspan="2">
                          <h4>PODSTAWA POWSTANIA OBOWIĄZKU PODATKOWEGO</h4>
                        </th>
                      </tr>
                      <tr>
                        <td colspan="2">Akt notarialny nr
                          <xsl:value-of select="wnio:NrAktu"/>
                          z dnia
                          <xsl:value-of select="wnio:DataAktu"/>
                        </td>
                      </tr>
                      <tr>
                        <td colspan="2">Zaświadczenie o użytkowaniu budynku nr
                          <xsl:value-of select="wnio:NrZaswiadczenia"/>
                          z dnia
                          <xsl:value-of select="wnio:DataZaswiadczenia"/>
                        </td>
                      </tr>
                      <xsl:for-each select="wnio:Inne">
                        <tr>
                          <td style="width:70%"><xsl:value-of select="wnio:Nazwa">
                            </xsl:value-of>
                            z dnia
                            <xsl:value-of select="wnio:DataInne"/>
                          </td>
                          <td>
                          </td>
                        </tr>
                      </xsl:for-each>
                    </table>
                  </xsl:for-each>
                  <xsl:for-each select="wnio:Z1">
                    <table>
                      <tr>
                        <th colspan="2">
                          <h4>DANE DOTYCZĄCE PRZEDMIOTÓW OPODATKOWANIA</h4>
                        </th>
                      </tr>
                      <tr>
                        <th>Nr załącznika</th>
                        <td>
                          <xsl:value-of select="wnio:NrZalacznika"/>
                        </td>
                      </tr>
                      <tr>
                        <th colspan="2">Załącznik Z-1 wypełnić w przypadku braku wystarczającej ilości miejsca w części
                          dotyczącej przedmiotów opodatkowania (punkt E) w deklaracjach DNP-1, DRP-1, DLP-1 bądź w
                          informacjach IN-1, IR-1, IL-1.
                        </th>
                      </tr>
                      <tr>
                        <th colspan="2">
                          <h4>PRZEZNACZENIE FORMULARZA</h4>
                        </th>
                      </tr>
                      <tr>
                        <th>Niniejszy formularz stanowi załącznik do</th>
                        <td>
                          <xsl:value-of select="wnio:PrzeznaczenieFormularza"/>
                        </td>
                      </tr>
                    </table>
                    <xsl:for-each select="wnio:Podmiot">
                      <table>
                        <tr>
                          <th colspan="6"><h4>DANE PODATNIKA</h4>
                            * - dotyczy podatnika niebędącego osobą fizyczną ** - dotyczy podatnika będącego osobą
                            fizyczną
                          </th>
                        </tr>
                        <tr>
                          <th colspan="6">
                            <h4>DANE IDENTYFIKACYJNE</h4>
                          </th>
                        </tr>
                        <tr>
                          <th>Rodzaj podatnika</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>
                      </table>
                      <table>
                        <xsl:for-each select="wnio:OsobaFizyczna">
                          <tr>
                            <th style="width:10%">Nazwisko**</th>
                            <td style="width:25%">
                              <xsl:value-of select="oso:Nazwisko">
                                
                              </xsl:value-of>
                            </td>
                            <th style="width:10%">Imię**</th>
                            <td style="width:25%">
                              <xsl:value-of select="oso:Imie">
                                
                              </xsl:value-of>
                            </td>
                            <th style="width:10%">Drugie imię**</th>
                            <td>
                              <xsl:value-of select="oso:ImieDrugie"/>
                            </td>
                          </tr>
                          <tr>
                            <th style="width:10%">NIP</th>
                            <td style="width:25%">
                              <xsl:value-of select="oso:NIP">
                              </xsl:value-of>
                            </td>
                            <th style="width:10%">PESEL**
                            </th>
                            <td style="width:25%" colspan="3">
                              <xsl:value-of select="oso:PESEL">
                                
                              </xsl:value-of>
                            </td>
                          </tr>
                          <tr>
                            <th>Data urodzenia**</th>
                            <td>
                              <xsl:value-of select="oso:DataUrodzenia">
                                
                              </xsl:value-of>
                            </td>
                            <th>Imię ojca**</th>
                            <td>
                              <xsl:value-of select="oso:ImieOjca">
                                
                              </xsl:value-of>
                            </td>
                            <th>Imię matki**</th>
                            <td>
                              <xsl:value-of select="oso:ImieMatki">
                                
                              </xsl:value-of>
                            </td>
                          </tr>
                        </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">
                                
                              </xsl:value-of>
                            </td>
                            <th style="width:10%">Nazwa skrócona*</th>
                            <td style="width:25%">
                              <xsl:value-of select="wnio:NazwaSkrocona">
                                
                              </xsl:value-of>
                            </td>
                          </tr>
                          <tr>
                            <th style="width:10%">PKD*</th>
                            <td style="width:25%">
                              <xsl:value-of select="wnio:PKD">
                              </xsl:value-of>
                            </td>
                            <th style="width:10%">REGON*</th>
                            <td style="width:25%">
                              <xsl:value-of select="inst:REGON">
                                
                              </xsl:value-of>
                            </td>
                            <th style="width:10%">NIP</th>
                            <td>
                              <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">
                                
                                
                              </xsl:value-of>
                            </td>
                            <th>Gmina</th>
                            <td>
                              <xsl:value-of select="adr:Gmina">
                                
                                
                              </xsl:value-of>
                            </td>
                          </tr>
                          <tr>
                            <th>Miejscowość</th>
                            <td>
                              <xsl:value-of select="adr:Miejscowosc">
                                
                                
                              </xsl:value-of>
                            </td>
                            <th>Kod pocztowy</th>
                            <td>
                              <xsl:value-of select="adr:KodPocztowy">
                                
                                
                              </xsl:value-of>
                            </td>
                            <th>Poczta</th>
                            <td>
                              <xsl:value-of select="adr:Poczta">
                                
                                
                              </xsl:value-of>
                            </td>
                          </tr>
                          <tr>
                            <th>Ulica</th>
                            <td>
                              <xsl:value-of select="adr:Ulica">
                                
                              </xsl:value-of>
                            </td>
                            <th>Nr domu</th>
                            <td>
                              <xsl:value-of select="adr:Budynek">
                                
                                
                              </xsl:value-of>
                            </td>
                            <th>Nr lokalu</th>
                            <td>
                              <xsl:value-of select="adr:Lokal">
                                
                              </xsl:value-of>
                            </td>
                          </tr>
                          <tr>
                            <th>Telefon</th>
                            <td>
                              <xsl:value-of select="adr:Telefon">
                                
                                
                              </xsl:value-of>
                            </td>
                            <th>E-mail</th>
                            <td colspan="3">
                              <xsl:value-of select="adr:Email">
                                
                                
                              </xsl:value-of>
                            </td>
                          </tr>
                        </table>
                      </xsl:for-each>
                      <table>
                        <tr>
                          <th colspan="6">
                            <h4>ADRES DO DORĘCZEŃ (wypełnić w przypadku, gdy adres ten jest inny niż adres
                              zamieszkania lub siedziby)
                              <xsl:value-of select="wnio:Adres/@rodzaj"/>
                              <xsl:value-of select="wnio:AdresKorespondencyjny/@wystepuje"/>
                            </h4>
                          </th>
                        </tr>
                        <xsl:for-each select="wnio:AdresKorespondencyjny[@wystepuje='tak']">
                          <tr>
                            <th>Kraj</th>
                            <td colspan="5">
                              <xsl:value-of select="adr:Kraj"/>
                            </td>
                          </tr>
                          <tr>
                            <th>Województwo</th>
                            <td>
                              <xsl:value-of select="adr:Wojewodztwo"/>
                            </td>
                            <th>Powiat</th>
                            <td>
                              <xsl:value-of select="adr:Powiat">
                                
                                
                              </xsl:value-of>
                            </td>
                            <th>Gmina</th>
                            <td>
                              <xsl:value-of select="adr:Gmina">
                                
                                
                              </xsl:value-of>
                            </td>
                          </tr>
                          <tr>
                            <th>Miejscowość</th>
                            <td>
                              <xsl:value-of select="adr:Miejscowosc">
                                
                                
                              </xsl:value-of>
                            </td>
                            <th>Kod pocztowy</th>
                            <td>
                              <xsl:value-of select="adr:KodPocztowy">
                                
                                
                              </xsl:value-of>
                            </td>
                            <th>Poczta</th>
                            <td>
                              <xsl:value-of select="adr:Poczta">
                                
                                
                              </xsl:value-of>
                            </td>
                          </tr>
                          <tr>
                            <th>Ulica</th>
                            <td>
                              <xsl:value-of select="adr:Ulica">
                                
                              </xsl:value-of>
                            </td>
                            <th>Nr domu</th>
                            <td>
                              <xsl:value-of select="adr:Budynek">
                                
                                
                              </xsl:value-of>
                            </td>
                            <th>Nr lokalu</th>
                            <td>
                              <xsl:value-of select="adr:Lokal">
                                
                              </xsl:value-of>
                            </td>
                          </tr>
                          <tr>
                            <th>Telefon</th>
                            <td>
                              <xsl:value-of select="adr:Telefon">
                                
                                
                              </xsl:value-of>
                            </td>
                            <th>E-mail</th>
                            <td colspan="3">
                              <xsl:value-of select="adr:Email">
                                
                                
                              </xsl:value-of>
                            </td>
                          </tr>
                        </xsl:for-each>
                      </table>
                    </xsl:for-each>
                    <table>
                      <tr>
                        <th colspan="2">
                          <h4>DANE DOTYCZĄCE PRZEDMIOTÓW OPODATKOWANIA</h4>
                        </th>
                      </tr>
                      <tr>
                        <th colspan="2">
                          <h4>POŁOŻENIE NIERUCHOMOŚCI</h4>
                        </th>
                      </tr>
                      <tr>
                        <th>Adres</th>
                        <td>
                          <xsl:value-of select="wnio:AdresNieruchomosci">
                            
                          </xsl:value-of>
                        </td>
                      </tr>
                      <xsl:for-each select="wnio:IdentyfikatoryDzialek">
                        <tr>
                          <th colspan="2">
                            <h4>IDENTYFIKATORY GEODEZYJNE DZIAŁEK, BUDYNKÓW, LOKALI</h4>
                          </th>
                        </tr>
                        <tr>
                          <td colspan="2">
                            <xsl:for-each select="wnio:IdentyfikatorDzialki">
                              <xsl:value-of select=".">
                                
                              </xsl:value-of>
                            </xsl:for-each>
                          </td>
                        </tr>
                      </xsl:for-each>
                      <tr>
                        <th colspan="2">
                          <h4>Nr księgi wieczystej i nazwa sądu </h4>
                        </th>
                      </tr>
                      <tr>
                        <th>Numer księgi wieczystej</th>
                        <td>
                          <xsl:value-of select="wnio:NrKsiegiWieczystej">
                            
                          </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th>Nazwa sądu</th>
                        <td>
                          <xsl:value-of select="wnio:NazwaSadu">
                            
                          </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th colspan="2">
                          <h4>PODSTAWA POWSTANIA OBOWIĄZKU PODATKOWEGO</h4>
                        </th>
                      </tr>
                      <tr>
                        <td colspan="2">Akt notarialny nr
                          <xsl:value-of select="wnio:NrAktu"/>
                          z dnia
                          <xsl:value-of select="wnio:DataAktu"/>
                        </td>
                      </tr>
                      <tr>
                        <td colspan="2">Zaświadczenie o użytkowaniu budynku nr
                          <xsl:value-of select="wnio:NrZaswiadczenia"/>
                          z dnia
                          <xsl:value-of select="wnio:DataZaswiadczenia"/>
                        </td>
                      </tr>
                      <xsl:for-each select="wnio:Inne">
                        <tr>
                          <td style="width:70%"><xsl:value-of select="wnio:Nazwa">
                            </xsl:value-of>
                            z dnia
                            <xsl:value-of select="wnio:DataInne"/>
                          </td>
                          <td>
                          </td>
                        </tr>
                      </xsl:for-each>
                    </table>
                  </xsl:for-each>
                </xsl:for-each>
                <xsl:for-each select="wnio:E">
                  <table align="center">
                    <tr>
                      <th colspan="4">
                        <h4>POWIERZCHNIA GRUNTÓW BEZ ZWOLNIEŃ</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) z dokładnością do
                          1m<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>
                          <span>Grunty związane z prowadzeniem działalności gospodarczej, bez względu na sposób zakwalifikowania
                          w ewidencji gruntów i budynków </span>
                        </th>
                        <td>
                          <span>
                            <xsl:value-of select="wnio:E_1_1_1">
                          </xsl:value-of>
                          </span>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_1_2_1">
                            
                            
                          </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_1_3_1">
                            
                            
                          </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th>
                          <span>Grunty pod wodami powierzchniowymi stojącymi lub
                          wodami powierzchniowymi płynącymi jezior i zbiorników sztucznych</span>
                        </th>
                        <td>
                          <span>
                            <xsl:value-of select="wnio:E_1_1_2"/>
                          </span>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_1_2_2">
                            
                            
                          </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_1_3_2">
                            
                            
                          </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th>
                          <span>Grunty pozostałe, w tym zajęte na prowadzenie odpłatnej statutowej działalności pożytku publicznego przez organizacje pożytku publicznego</span>
                        </th>
                        <td>
                          <span>
                            <xsl:value-of select="wnio:E_1_1_3"/>
                          </span>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_1_2_3">
                            
                            
                          </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_1_3_3">
                            
                            
                          </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th>
                          <span>Grunty rekreacyjno - wypoczynkowe</span>
                        </th>
                        <td>
                          <span>
                            <xsl:value-of select="wnio:E_1_1_4"/>
                          </span>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_1_2_4">
                            
                            
                          </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_1_3_4">
                            
                            
                          </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th>
                          <span>
                            <xsl:value-of select="wnio:E_1_1_5_opis"/>
                          </span>
                        </th>
                        <td>
                          <span>
                            <xsl:value-of select="wnio:E_1_1_5"/>
                          </span>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_1_2_5">
                            
                            
                          </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_1_3_5">
                            
                            
                          </xsl:value-of>
                        </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">
                          <span>Budynki mieszkalne - ogółem</span>
                        </th>
                        <td>
                          <span>
                            <xsl:value-of select="wnio:E_2_1_1"/>
                          </span>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_2_2_1">
                            
                            
                          </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_2_3_1">
                            
                            
                          </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th rowspan="2">
                          <span><br/>w tym kondygnacji o wysokości:</span>
                        </th>
                        <th>
                          <span>- od 1,40 do 2,20m (zaliczyć 50% powierzchni)</span>
                        </th>
                        <td>
                          <span>
                            <xsl:value-of select="wnio:E_2_1_2"/>
                          </span>
                        </td>
                        <th rowspan="2"/>
                        <th rowspan="2"/>
                      </tr>
                      <tr>
                        <th>
                          <span>- powyżej 2,20m </span>
                        </th>
                        <td>
                          <span>
                            <xsl:value-of select="wnio:E_2_1_3"/>
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <th colspan="2">
                          <span>Budynki związane z prowadzeniem działalności gospodarczej oraz budynki mieszkalne lub ich części zajęte na prowadzenie działalności gospodarczej</span>
                        </th>
                        <td>
                          <span>
                            <xsl:value-of select="wnio:E_2_1_4"/>
                          </span>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_2_2_4">
                            
                            
                          </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_2_3_4">
                            
                            
                          </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th rowspan="2">
                          <span><br/>w tym kondygnacji o wysokości:</span>
                        </th>
                        <th>
                          <span>- od 1,40 do 2,20m (zaliczyć 50% powierzchni)</span>
                        </th>
                        <td>
                          <span>
                            <xsl:value-of select="wnio:E_2_1_5"/>
                          </span>
                        </td>
                        <th rowspan="2"/>
                        <th rowspan="2"/>
                      </tr>
                      <tr>
                        <th>
                          <span>- powyżej 2,20m </span>
                        </th>
                        <td>
                          <span>
                            <xsl:value-of select="wnio:E_2_1_6"/>
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <th colspan="2">
                          <span>Budynki zajęte na prowadzenie działalności gospodarczej w zakresie obrotu kwalifikowanym materiałem siewnym</span>
                        </th>
                        <td>
                          <span>
                            <xsl:value-of select="wnio:E_2_1_7"/>
                          </span>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_2_2_7">
                            
                            
                          </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_2_3_7">
                            
                            
                          </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th rowspan="2">
                          <span><br/>w tym kondygnacji o wysokości:</span>
                        </th>
                        <th>
                          <span>- od 1,40 do 2,20m (zaliczyć 50% powierzchni)</span>
                        </th>
                        <td>
                          <span>
                            <xsl:value-of select="wnio:E_2_1_8"/>
                          </span>
                        </td>
                        <th rowspan="2"/>
                        <th rowspan="2"/>
                      </tr>
                      <tr>
                        <th>
                          <span>- powyżej 2,20m </span>
                        </th>
                        <td>
                          <span>
                            <xsl:value-of select="wnio:E_2_1_9"/>
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <th colspan="2">
                          <span>Budynki związane z udzielaniem świadczeń zdrowotnych w rozumieniu przepisów o działalności leczniczej, zajętych przez podmioty udzielające tych świadczeń</span>
                        </th>
                        <td>
                          <span>
                            <xsl:value-of select="wnio:E_2_1_10"/>
                          </span>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_2_2_10">
                            
                            
                          </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_2_3_10">
                            
                            
                          </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th rowspan="2">
                          <span><br/>w tym kondygnacji o wysokości:</span>
                        </th>
                        <th>
                          <span>- od 1,40 do 2,20m (zaliczyć 50% powierzchni)</span>
                        </th>
                        <td>
                          <span>
                            <xsl:value-of select="wnio:E_2_1_11"/>
                          </span>
                        </td>
                        <th rowspan="2"/>
                        <th rowspan="2"/>
                      </tr>
                      <tr>
                        <th>
                          <span>- powyżej 2,20m </span>
                        </th>
                        <td>
                          <span>
                            <xsl:value-of select="wnio:E_2_1_12"/>
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <th colspan="2">
                          <span>Budynki pozostałe, w tym zajęte na prowadzenie odpłatnej statutowej działalności pożytku publicznego przez organizacje pożytku publicznego</span>
                        </th>
                        <td>
                          <span>
                            <xsl:value-of select="wnio:E_2_1_13"/>
                          </span>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_2_2_13">
                            
                            
                          </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_2_3_13">
                            
                            
                          </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th rowspan="2">
                          <span><br/>w tym kondygnacji o wysokości:</span>
                        </th>
                        <th>
                          <span>- od 1,40 do 2,20m (zaliczyć 50% powierzchni)</span>
                        </th>
                        <td>
                          <span>
                            <xsl:value-of select="wnio:E_2_1_14"/>
                          </span>
                        </td>
                        <th rowspan="2"/>
                        <th rowspan="2"/>
                      </tr>
                      <tr>
                        <th>
                          <span>- powyżej 2,20m </span>
                        </th>
                        <td>
                          <span>
                            <xsl:value-of select="wnio:E_2_1_15"/>
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <th colspan="2">
                          <span>Budynki letniskowe - ogółem</span>
                        </th>
                        <td>
                          <span>
                            <xsl:value-of select="wnio:E_2_1_16"/>
                          </span>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_2_2_16">
                            
                            
                          </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_2_3_16">
                            
                            
                          </xsl:value-of>
                        </td>
                      </tr>
                      <tr>
                        <th rowspan="2">
                          <span><br/>w tym kondygnacji o wysokości:</span>
                        </th>
                        <th>
                          <span>- od 1,40 do 2,20m (zaliczyć 50% powierzchni)</span>
                        </th>
                        <td>
                          <span>
                            <xsl:value-of select="wnio:E_2_1_17"/>
                          </span>
                        </td>
                        <th rowspan="2"/>
                        <th rowspan="2"/>
                      </tr>
                      <tr>
                        <th>
                          <span>- powyżej 2,20m </span>
                        </th>
                        <td>
                          <span>
                            <xsl:value-of select="wnio:E_2_1_18"/>
                          </span>
                        </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 zł z dokładnością do 1 zł</th>
                        <th style="width:20%">Stawka podatku (zł. gr)</th>
                        <th style="width:20%">Kwota podatku (zł. gr)</th>
                      </tr>
                      <tr>
                        <th>
                          <span>Budowle</span>
                        </th>
                        <td>
                          <span>
                            <xsl:value-of select="wnio:E_3_1_1">
                        </xsl:value-of>
                          </span>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_3_2_1">
                            
                            
                          </xsl:value-of>
                        </td>
                        <td>
                          <xsl:value-of select="wnio:E_3_3_1">
                            
                            
                          </xsl:value-of>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:F">
                  <table>
                    <tr>
                      <th colspan="2">
                        <h4>ŁĄCZNA KWOTA PODATKU DO ZAPŁATY</h4>
                      </th>
                    </tr>
                    <tr>
                      <th>Kwota podatku (po zaokrągleniu do pełnych złotych
                      </th>
                      <td style="width:30%"><xsl:value-of select="wnio:F_1"/>
                        zł
                      </td>
                    </tr>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:ZwolnieniaOdNieruchomosci/wnio:ZwolnieniaOdNieruchomosci">
                  <table align="center">
                    <tr>
                      <th colspan="5">
                        <h4>DANE DOTYCZĄCE PRZEDMIOTÓW OPODATKOWANIA PODLEGAJĄCYCH ZWOLNIENIU Z MOCY USTAW
                        LUB UCHWAŁ RADY GMINY</h4>
                      </th>
                    </tr>
                    <tr>
                      <th style="width:40%">
                        <span>Tytuł prawny zwolnienia</span>
                      </th>
                      <th style="width:20%">
                        <span>Grunty powierzchnia w m<sup>2</sup></span>
                      </th>
                      <th style="width:20%">
                        <span>Budynki lub ich części<br/>powierzchnia użytkowa w m<sup>2</sup></span>
                      </th>
                      <th style="width:20%">
                        <span>Budowle wartość w zł</span>
                      </th>
                    </tr>
                    <tr>
                      <th>
                        <xsl:value-of select="wnio:Art7u1p6_0"/>
                      </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:Art7u1p10_0"/>
                      </th>
                      <td>
                        <xsl:value-of select="wnio:Art7u1p10_1">
                          
                        </xsl:value-of>
                      </td>
                      <th/>
                      <th/>
                    </tr>
                    <xsl:for-each select="wnio:Zwolnienie[@rodzaj='inne']">
                      <tr>
                        <td style="width:40%">
                          <span>
                            <xsl:value-of select="wnio:Art_inny0"/>
                          </span>
                        </td>
                        <td style="width:20%">
                          <span>
                            <xsl:value-of select="wnio:Art_inny1"/>
                          </span>
                        </td>
                        <td style="width:20%">
                          <span>
                            <xsl:value-of select="wnio:Art_inny2"/>
                          </span>
                        </td>
                        <td style="width:20%" colspan="2">
                          <span>
                            <xsl:value-of select="wnio:Art_inny3"/>
                          </span>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                </xsl:for-each>
                <h2>STOPKA</h2>
                <table>
                  <tr>
                    <th colspan="4">
                      <h4>INFORMACJA O ZAŁĄCZNIKACH</h4>
                    </th>
                  </tr>
                  <tr>
                    <th>Załącznik Z-1 składany</th>
                    <td>
                      <xsl:if test="count(wnio:DanePrzedmiotow/wnio:Z1)&gt;0">
                        tak
                      </xsl:if>
                      <xsl:if test="count(wnio:DanePrzedmiotow/wnio:Z1)=0">
                        nie
                      </xsl:if>
                    </td>
                    <th>Załącznik Z-2 składany</th>
                    <td>
                      <xsl:if test="count(wnio:Wspolwlasciciele/wnio:Wspolwlasciciel)&gt;0">
                        tak
                      </xsl:if>
                      <xsl:if test="count(wnio:Wspolwlasciciele/wnio:Wspolwlasciciel)=0">
                        nie
                      </xsl:if>
                    </td>
                  </tr>
                </table>
                <table>
                  <tr>
                    <th>
                      <h4>NUMER RACHUNKU BANKOWEGO, na który dokonany zostanie zwrot ewentualnej nadpłaty (pole
                        nieobowiązkowe)
                        <div style=" float: right; "><xsl:value-of select="wnio:NrRachunku/@wystepuje"/></div>
                      </h4>
                    </th>
                  </tr>
                  <xsl:for-each select="wnio:NrRachunku[@wystepuje='tak']">
                    <tr>
                      <td>Nazwa banku:
                        <xsl:value-of select="wnio:NazwaBanku"/>
                      </td>
                    </tr>
                    <tr>
                      <td>Nr rachunku:
                        <xsl:value-of select="wnio:NrKonta"/>
                      </td>
                    </tr>
                  </xsl:for-each>
                </table>
                <table>
                  <tr>
                    <th colspan="2">
                      <h4>OŚWIADCZENIE I PODPIS PODATNIKA / OSOBY REPREZENTUJĄCEJ PODATNIKA</h4>
                    </th>
                  </tr>
                  <tr>
                    <th>Imię</th>
                    <td>
                      <xsl:value-of select="oso:Imie">
                        
                        
                      </xsl:value-of>
                    </td>
                  </tr>
                  <tr>
                    <th>Nazwisko</th>
                    <td>
                      <xsl:value-of select="oso:Nazwisko">
                        
                        
                      </xsl:value-of>
                    </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>
                      <ol>
                        <xsl:for-each select="wnio:Pouczenie/wnio:Punkt">
                          <li>
                            <xsl:value-of select="."/>
                          </li>
                        </xsl:for-each>
                      </ol>
                    </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 name="PodmiotZobowiazanyDoZlozenia">
        <xsl:param name="wartosc"/>
        <xsl:choose>
          <xsl:when test="$wartosc='1'">właściciel</xsl:when>
          <xsl:when test="$wartosc='2'">współwłaściciel</xsl:when>
          <xsl:when test="$wartosc='3'">użytkownik wieczysty</xsl:when>
          <xsl:when test="$wartosc='4'">współużytkownik wieczysty</xsl:when>
          <xsl:when test="$wartosc='5'">posiadacz samoistny</xsl:when>
          <xsl:when test="$wartosc='6'">współposiadacz samoistny</xsl:when>
          <xsl:when test="$wartosc='7'">posiadacz zależny</xsl:when>
          <xsl:when test="$wartosc='8'">współposiadacz zależny</xsl:when>
          <xsl:otherwise>
            <xsl:value-of select="$wartosc"/>
          </xsl:otherwise>
        </xsl:choose>
        <xsl:text> </xsl:text>
        <xsl:value-of select="$wartosc/../wnio:PodmiotZobowiazanyDoZlozenia/@typ"/>
      </xsl:template>
      <xsl:template name="ObowiazekZlozeniaDeklaracji">
        <xsl:param name="okolicznosci"/>
        <xsl:choose>
          <xsl:when test="$okolicznosci='po_raz_pierwszy'">informacja składana po raz pierwszy</xsl:when>
          <xsl:when test="$okolicznosci='korekta'">korekta uprzednio złożonej informacji</xsl:when>
          <xsl:otherwise>
            <xsl:value-of select="$okolicznosci"/>
          </xsl:otherwise>
        </xsl:choose>
        <xsl:text> </xsl:text>
        <xsl:value-of select="$okolicznosci/wnio:Wartosc"/>
      </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>