6014

ID6014
Data2018-10-23
Symbol2018/10/23/6014
InstytucjaUrząd Miasta i Gminy w Skokach
NazwaDeklaracja na podatek rolny
Czy Aktualny1

Ustawy (1)

  • URI://Dziennik_Ustaw/2017/1892/6a/12/1
  • Ustawa z dnia 15 listopada 1984 r. o podatku rolnym

    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/10/23/6014/" xmlns:meta="http://crd.gov.pl/xml/schematy/meta/2009/11/16/" xmlns:str="http://crd.gov.pl/xml/schematy/struktura/2009/11/16/" xmlns:oso="http://crd.gov.pl/xml/schematy/osoba/2009/11/16/" xmlns:inst="http://crd.gov.pl/xml/schematy/instytucja/2009/11/16/" xmlns:adr="http://crd.gov.pl/xml/schematy/adres/2009/11/09/" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0">
      <xsl:template match="/">
        <html xmlns="http://www.w3.org/1999/xhtml">
          <head>
            <style type="text/css">
                        body {
                            background-color: #FFFFFF;
                            margin: 0px 0px 0px 0px;
                            font-family: Verdana, Helvetica, sans-serif;
                            font-size: 12px;
                        }
    
                        table .title {
                            background-color: #FFFFFF;
                            width: 100%;
                            border: 0px;
                        }
    
                        p {
                            margin-top: 1em;
                            margin-bottom: 1em;
                        }
    
                        h1 {
                            font-size: 24px;
                            margin-top: 0;
                            background-color: #dde;
                            font-weight: bold;
                            font-size: 14px;
                            text-align: left;
                            padding-left: 1em;
                            padding-right: 1em;
                            padding-top: .2em;
                            padding-bottom: .2em;
                            margin-top: 0;
                            margin-bottom: 0;
                            border-bottom: solid 1px #99c;
                            line-height: 180%;
                        }
    
                        h2 {
                            color: #336;
                            background-color: #dde;
                            font-size: 9pt;
                            font-weight: bold;
                            padding-left: 1em;
                            padding-right: 1em;
                            padding-top: .2em;
                            padding-bottom: .2em;
                            margin-top: 2em;
                            margin-bottom: 1em;
                            border-bottom: solid 1px #336;
                            clear: right;
                        }
    
                        h3 {
                            font-size: 14px;
                            margin-top: 2em;
                            color: #0A2D4C;
                        }
    
                        h4 {
                            font-size: 12px;
                            margin-top: 2em;
                            color: #4A6D8C;
                        }
    
                        b {
                            color: #4A6D8C;
                        }
    
                        li {
                            line-height: 1.2em;
                        }
    
                        h1, h2 {
                            text-align: center !important;
                        }
    
                        h1 {
                            margin-bottom: 15px !important;
                        }
    
                        h3, h4 {
                            margin-top: 8px;
                            margin-bottom: 8px;
                        }
    
                        table {
                            border-collapse: collapse;
                            margin: 0;
                            padding: 0;
                            width: 100%;
                            margin-bottom: 3px;
                        }
    
                        td, th {
                            border: 1px solid #CCC;
                            padding: 3px;
                        }
    
                        th {
                            background-color: #EEE;
                            text-align: left;
                            font-weight: normal;
                        }
    
                        textarea {
                            width: 90%;
                            height: 100%
                        }
                    </style>
          </head>
          <body>
            <div style="max-width: 900px; margin: 0 auto;">
              <xsl:for-each select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc">
                <h4>DR - 1</h4>
                <h1 style="text-align: center;">
                  <xsl:value-of select="wnio:Naglowek/wnio:Nazwa"/>
                </h1>
                <div style="text-align: center;">
                  <xsl:value-of select="wnio:Naglowek/wnio:NazwaZalacznika"/>
                </div>
                <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>
                <xsl:for-each select="wnio:Naglowek">
                  <table border="1px">
                    <tr>
                      <th style="width:15%">Podstawa prawna:</th>
                      <th>
                        <xsl:value-of select="wnio:Podstawa"/>
                      </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"/>
                        <br/>
                        <xsl:value-of select="wnio:MiejsceSkladaniaDokladne"/>
                      </th>
                    </tr>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:ObowiazekZlozeniaDeklaracji">
                  <table>
                    <tr>
                      <th colspan="2">
                        <h4>A. OBOWIĄZEK ZŁOŻENIA DEKLARACJI</h4>
                      </th>
                    </tr>
                    <tr>
                      <th style="width:40%">2. Okoliczności powodujące obowiązek złożenia deklaracji</th>
                      <td>
                        <xsl:if test="wnio:Wartosc = 'po_raz_pierwszy'">deklaracja roczna</xsl:if>
                        <xsl:if test="wnio:Wartosc = 'korekta'">korekta deklaracji rocznej</xsl:if>
                      </td>
                    </tr>
                    <xsl:if test="wnio:Wartosc = 'korekta'">
                      <tr>
                        <th>Data zmiany:</th>
                        <td>
                          <xsl:value-of select="wnio:DataZmiany"/>
                        </td>
                      </tr>
                    </xsl:if>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:Podmiot">
                  <table>
                    <tr>
                      <th colspan="6">
                        <h4>B. DANE PODATNIKA SKŁADAJĄCEGO DEKLARACJĘ</h4>
                      </th>
                    </tr>
                    <tr>
                      <th colspan="6">
                        <h4>B.I DANE IDENTYFIKACYJNE</h4>
                      </th>
                    </tr>
                    <xsl:for-each select="wnio:OsobaFizyczna">
                      <tr>
                        <th style="width:10%">3. Nazwisko</th>
                        <td style="width:25%">
                          <xsl:value-of select="oso:Nazwisko"/>
                        </td>
                        <th style="width:10%">3. Imię</th>
                        <td style="width:25%">
                          <xsl:value-of select="oso:Imie"/>
                        </td>
                      </tr>
                      <tr>
                        <th style="width:10%">3. Data urodzenia</th>
                        <td style="width:25%">
                          <xsl:value-of select="oso:DataUrodzenia"/>
                        </td>
                        <th>
                                          4. Identyfikator podatkowy
                                        </th>
                        <td colspan="3">
                          <xsl:for-each select="oso:PESEL">
                            <xsl:value-of select="."/>
                          </xsl:for-each>
                        </td>
                      </tr>
                    </xsl:for-each>
                    <xsl:for-each select="wnio:OsobaNiefizyczna">
                      <tr>
                        <th style="width:10%">3. Nazwa pełna</th>
                        <td style="width:55%" colspan="3">
                          <xsl:value-of select="inst:NazwaInstytucji"/>
                        </td>
                      </tr>
                      <tr>
                        <th style="width:10%">4. Identyfikator podatkowy</th>
                        <td style="width:25%">
                          <xsl:value-of select="inst:NIP"/>
                        </td>
                        <th style="width:10%">5. REGON</th>
                        <td colspan="3">
                          <xsl:value-of select="inst:REGON"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                  <xsl:for-each select="wnio:Adres">
                    <table>
                      <tr>
                        <th colspan="6">
                          <h4>
                            <xsl:if test="../@typPodmiotu ='osoba_fizyczna'">
                                                B.II Adres zamieszkania
                                            </xsl:if>
                            <xsl:if test="../@typPodmiotu !='osoba_fizyczna'">
                                                B.II Adres siedziby
                                            </xsl:if>
                          </h4>
                        </th>
                      </tr>
                      <tr>
                        <th>6. Kraj</th>
                        <td colspan="5">
                          <xsl:value-of select="adr:Kraj"/>
                        </td>
                      </tr>
                      <tr>
                        <th>7. Województwo</th>
                        <td>
                          <xsl:value-of select="adr:Wojewodztwo"/>
                        </td>
                        <th>8. Powiat</th>
                        <td>
                          <xsl:value-of select="adr:Powiat"/>
                        </td>
                        <th>9. Gmina</th>
                        <td>
                          <xsl:value-of select="adr:Gmina"/>
                        </td>
                      </tr>
                      <tr>
                        <th>10. Ulica</th>
                        <td>
                          <xsl:value-of select="adr:Ulica"/>
                        </td>
                        <th>11. Nr domu</th>
                        <td>
                          <xsl:value-of select="adr:Budynek"/>
                        </td>
                        <th>11. Nr lokalu</th>
                        <td>
                          <xsl:value-of select="adr:Lokal"/>
                        </td>
                      </tr>
                      <tr>
                        <th>12. Miejscowość</th>
                        <td>
                          <xsl:value-of select="adr:Miejscowosc"/>
                        </td>
                        <th>13. Kod pocztowy</th>
                        <td>
                          <xsl:value-of select="adr:KodPocztowy"/>
                        </td>
                        <th>13. Poczta</th>
                        <td>
                          <xsl:value-of select="adr:Poczta"/>
                        </td>
                      </tr>
                      <tr>
                        <th>14. Telefon</th>
                        <td colspan="5">
                          <xsl:value-of select="adr:Telefon"/>
                        </td>
                      </tr>
                    </table>
                  </xsl:for-each>
                  <table>
                    <tr>
                      <th colspan="6">
                        <h4>15. Adres do korespondencji (wpisać, jeśli adres do korespondencji jest inny niż adres zamieszkania)
                                                    (<xsl:value-of select="wnio:AdresKorespondencyjny/@wystepuje"/>)
                                                </h4>
                      </th>
                    </tr>
                    <xsl:for-each select="wnio:AdresKorespondencyjny[@wystepuje='tak']">
                      <tr>
                        <th>Kraj</th>
                        <td colspan="5">
                          <xsl:value-of select="adr:Kraj"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Województwo</th>
                        <td>
                          <xsl:value-of select="adr:Wojewodztwo"/>
                        </td>
                        <th>Powiat</th>
                        <td>
                          <xsl:value-of select="adr:Powiat"/>
                        </td>
                        <th>Gmina</th>
                        <td>
                          <xsl:value-of select="adr:Gmina"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Miejscowość</th>
                        <td>
                          <xsl:value-of select="adr:Miejscowosc"/>
                        </td>
                        <th>Kod pocztowy</th>
                        <td>
                          <xsl:value-of select="adr:KodPocztowy"/>
                        </td>
                        <th>Poczta</th>
                        <td>
                          <xsl:value-of select="adr:Poczta"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Ulica</th>
                        <td>
                          <xsl:value-of select="adr:Ulica"/>
                        </td>
                        <th>Nr domu</th>
                        <td>
                          <xsl:value-of select="adr:Budynek"/>
                        </td>
                        <th>Nr lokalu</th>
                        <td>
                          <xsl:value-of select="adr:Lokal"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Telefon</th>
                        <td>
                          <xsl:value-of select="adr:Telefon"/>
                        </td>
                        <th>E-mail</th>
                        <td colspan="3">
                          <xsl:value-of select="adr:Email"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                  <table>
                    <tr>
                      <th colspan="2">16. Rodzaj podmiotu</th>
                      <td colspan="4">
                        <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</xsl:if>
                        <xsl:if test="@typPodmiotu = 'spolka'">spółka nieposiadająca osobowości prawnej</xsl:if>
                      </td>
                    </tr>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:DaneNier">
                  <table>
                    <tr>
                      <th colspan="6">
                        <h4>C. DANE O PRZEDMIOTACH PODLEGAJĄCYCH OPODATKOWANIU LUB ZWOLNIENIU</h4>
                      </th>
                    </tr>
                    <xsl:for-each select="wnio:Nieruchomosc">
                      <tr>
                        <th>17. Położenie gruntów (adres) </th>
                        <td>
                          <xsl:value-of select="wnio:Adres"/>
                        </td>
                        <th>18. Numer księgi wieczystej lub zbioru dokumentów</th>
                        <td>
                          <xsl:value-of select="wnio:NumerDokumentu"/>
                        </td>
                        <th>19. Numery geodezyjne działek</th>
                        <td>
                          <xsl:value-of select="wnio:NumerDzialki"/>
                        </td>
                      </tr>
                      <tr>
                        <th colspan="2">20. Tytuł prawny</th>
                        <td colspan="4">
                          <xsl:if test="wnio:TytulPrawny/@typ = '1'">właściciel</xsl:if>
                          <xsl:if test="wnio:TytulPrawny/@typ = '2'">użytkownik wieczysty</xsl:if>
                          <xsl:if test="wnio:TytulPrawny/@typ = '3'">posiadacz samoistny</xsl:if>
                          <xsl:if test="wnio:TytulPrawny/@typ = '4'">posiadacz zależny</xsl:if>
                          <xsl:if test="wnio:TytulPrawny/@typ = '0'">inne formy władania</xsl:if>
                          <xsl:for-each select="wnio:TytulPrawny[@typ='0']">
                            <xsl:value-of select="."/>
                          </xsl:for-each>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                </xsl:for-each>
                <h2>TREŚĆ FORMULARZA</h2>
                <xsl:for-each select="wnio:DanePrzedmiotow">
                  <table>
                    <tr>
                      <th colspan="9">
                        <h4>
                          <xsl:value-of select="wnio:Tytul"/>
                        </h4>
                      </th>
                    </tr>
                    <tr>
                      <th colspan="2" rowspan="3" style="width:20%; text-align:center !important;">
                        <b>Oznaczenie gruntu</b>
                      </th>
                      <th rowspan="2" colspan="2" style="text-align:center !important;"><b>ha fizyczne</b><br/>(z dokładnością do m<sup>2</sup>)</th>
                      <th rowspan="3" style="text-align:center !important;">
                        <b>przelicznik</b>
                      </th>
                      <th colspan="2" style="text-align:center !important;"><b>PODSTAWA OPODATKOWANIA</b><br/>(z dokładnością do m<sup>2</sup>)</th>
                      <th rowspan="3" style="text-align:center !important;">
                        <b>stawka podatku</b>
                      </th>
                      <th rowspan="2" style="text-align:center !important;">
                        <b>KWOTA PODATKU</b>
                      </th>
                    </tr>
                    <tr>
                      <th><b>- ha przeliczeniowe:</b><br/>dla gruntów gospodarstwa rolnego</th>
                      <th><b>- ha fizyczne:</b><br/>dla gruntów niestanowiących gospodarstwa rolnego</th>
                    </tr>
                    <tr>
                      <th colspan="2" style="text-align: right;">ha</th>
                      <th style="text-align: right;">ha</th>
                      <th style="text-align: right;">ha</th>
                      <th style="text-align: right;">zł, gr</th>
                    </tr>
                    <xsl:for-each select="wnio:Sekcja[position()&lt;5]">
                      <xsl:for-each select="wnio:Tytul">
                        <tr>
                          <th colspan="9">
                            <b>
                              <xsl:value-of select="."/>
                            </b>
                          </th>
                        </tr>
                      </xsl:for-each>
                      <xsl:for-each select="wnio:Pozycja">
                        <tr>
                          <th style="text-align: center">
                            <b>
                              <xsl:value-of select="wnio:Oznaczenie"/>
                            </b>
                          </th>
                          <th style="text-align: center">
                            <b>
                              <xsl:value-of select="wnio:Tytul"/>
                            </b>
                          </th>
                          <td colspan="2">
                            <xsl:value-of select="wnio:NumerPola1"/>
                            <xsl:value-of select="wnio:Powierzchnia"/>
                          </td>
                          <td>
                            <xsl:value-of select="wnio:Przelicznik"/>
                          </td>
                          <td>
                            <xsl:value-of select="wnio:NumerPola2"/>
                            <xsl:value-of select="wnio:HaPrzeliczeniowe"/>
                          </td>
                          <td>
                            <xsl:value-of select="wnio:NumerPola3"/>
                            <xsl:value-of select="wnio:HaFizyczne"/>
                          </td>
                          <td>
                            <xsl:value-of select="wnio:NumerPola4"/>
                            <xsl:if test="wnio:Stawka = '130'">powyżej 1 ha - 130 zł</xsl:if>
                            <xsl:if test="wnio:Stawka = '260'">poniżej 1 ha - 260 zł</xsl:if>
                          </td>
                          <th style="text-align:center !important;">
                            <xsl:value-of select="wnio:NumerPola5"/>
                            <xsl:value-of select="wnio:Kwota"/>
                          </th>
                        </tr>
                      </xsl:for-each>
                    </xsl:for-each>
                    <xsl:for-each select="wnio:Sekcja[5]">
                      <xsl:for-each select="wnio:Tytul">
                        <tr>
                          <th colspan="9">
                            <b>
                              <xsl:value-of select="."/>
                            </b>
                          </th>
                        </tr>
                      </xsl:for-each>
                      <xsl:for-each select="wnio:Pozycja">
                        <tr>
                          <th style="text-align: center">
                            <b>
                              <xsl:value-of select="wnio:Oznaczenie"/>
                            </b>
                          </th>
                          <th style="text-align: center">
                            <b>
                              <xsl:value-of select="wnio:Tytul"/>
                            </b>
                          </th>
                          <td>
                            <xsl:value-of select="wnio:NumerPola1"/>
                            <xsl:value-of select="wnio:Powierzchnia"/>
                          </td>
                          <td>
                            <xsl:value-of select="wnio:Symbol"/>
                          </td>
                          <td>
                            <xsl:value-of select="wnio:Przelicznik"/>
                          </td>
                          <td>
                            <xsl:value-of select="wnio:NumerPola2"/>
                            <xsl:value-of select="wnio:HaPrzeliczeniowe"/>
                          </td>
                          <td>
                            <xsl:value-of select="wnio:NumerPola3"/>
                            <xsl:value-of select="wnio:HaFizyczne"/>
                          </td>
                          <td>
                            <xsl:value-of select="wnio:NumerPola4"/>
                            <xsl:if test="wnio:Stawka = '130'">powyżej 1 ha - 130 zł</xsl:if>
                            <xsl:if test="wnio:Stawka = '260'">poniżej 1 ha - 260 zł</xsl:if>
                          </td>
                          <th>
                            <xsl:value-of select="wnio:NumerPola5"/>
                            <xsl:value-of select="wnio:Kwota"/>
                          </th>
                        </tr>
                      </xsl:for-each>
                    </xsl:for-each>
                    <xsl:for-each select="wnio:Sekcja[position()&gt;5]">
                      <xsl:for-each select="wnio:Pozycja">
                        <tr>
                          <th style="text-align: center" colspan="2">
                            <xsl:for-each select="wnio:Tytul">
                              <b>
                                <xsl:value-of select="."/>
                              </b>
                            </xsl:for-each>
                          </th>
                          <td colspan="2">
                            <xsl:value-of select="wnio:NumerPola1"/>
                            <xsl:value-of select="wnio:Powierzchnia"/>
                          </td>
                          <td>
                            <xsl:value-of select="wnio:Przelicznik"/>
                          </td>
                          <td>
                            <xsl:value-of select="wnio:NumerPola2"/>
                            <xsl:value-of select="wnio:HaPrzeliczeniowe"/>
                          </td>
                          <td>
                            <xsl:value-of select="wnio:NumerPola3"/>
                            <xsl:value-of select="wnio:HaFizyczne"/>
                          </td>
                          <td>
                            <xsl:value-of select="wnio:NumerPola4"/>
                            <xsl:if test="wnio:Stawka = '130'">powyżej 1 ha - 130 zł</xsl:if>
                            <xsl:if test="wnio:Stawka = '260'">poniżej 1 ha - 260 zł</xsl:if>
                          </td>
                          <th>
                            <xsl:value-of select="wnio:NumerPola5"/>
                            <xsl:value-of select="wnio:Kwota"/>
                          </th>
                        </tr>
                      </xsl:for-each>
                    </xsl:for-each>
                    <xsl:for-each select="wnio:Razem">
                      <tr>
                        <th colspan="2">
                          <b>
                            <xsl:value-of select="wnio:Tytul"/>
                          </b>
                        </th>
                        <td colspan="7">
                                          221. <xsl:value-of select="wnio:Wartosc"/>
                                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:LacznaKwota/wnio:Razem">
                  <table>
                    <tr>
                      <th><h4>D.II. ŁĄCZNA KWOTA PODATKU DO ZAPŁATY</h4> (w pełnych złotych)</th>
                    </tr>
                    <tr>
                      <th style="text-align: right;">222. <xsl:value-of select="."/> zł</th>
                    </tr>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:DaneZwolnien">
                  <table>
                    <tr>
                      <th colspan="4">
                        <h4>
                          <xsl:value-of select="wnio:Tytul"/>
                        </h4>
                      </th>
                    </tr>
                    <xsl:for-each select="wnio:Zwolnienie">
                      <tr>
                        <th colspan="4" style="text-align: center;">
                          <b>Tytuł prawny zwolnienia</b>
                        </th>
                      </tr>
                      <tr>
                        <xsl:if test="@rodzaj = 'podane'">
                          <th colspan="4">
                            <xsl:value-of select="wnio:TytulPrawny"/>
                          </th>
                        </xsl:if>
                        <xsl:if test="@rodzaj = 'inne'">
                          <th colspan="4">
                            <xsl:value-of select="wnio:TytulPrawny"/>
                          </th>
                        </xsl:if>
                      </tr>
                      <tr>
                        <th style="width: 20%">
                          <b>Symbol</b>
                        </th>
                        <th style="width: 20%">
                          <b>Klasa</b>
                        </th>
                        <th style="width: 60%">
                          <b>Powierzchnia w ha fizycznych z dokładnością do m<sup>2</sup></b>
                        </th>
                        <th/>
                      </tr>
                      <xsl:for-each select="wnio:Pozycja">
                        <tr>
                          <td style="width: 20%">
                            <xsl:value-of select="wnio:NumerPola1"/>
                            <xsl:value-of select="wnio:Symbol"/>
                          </td>
                          <td style="width: 20%">
                            <xsl:value-of select="wnio:Klasa"/>
                          </td>
                          <td style="width: 60%">
                            <xsl:value-of select="wnio:Powierzchnia"/>
                          </td>
                          <td/>
                        </tr>
                      </xsl:for-each>
                    </xsl:for-each>
                  </table>
                </xsl:for-each>
                <h2>STOPKA</h2>
                <xsl:for-each select="wnio:Pouczenie">
                  <table>
                    <tr>
                      <th>
                        <h4>F. POUCZENIE</h4>
                      </th>
                    </tr>
                    <tr>
                      <td>
                        <xsl:for-each select="wnio:Punkt">
                          <xsl:value-of select="."/>
                        </xsl:for-each>
                      </td>
                    </tr>
                  </table>
                </xsl:for-each>
                <table>
                  <tr>
                    <th colspan="2">
                      <h4>G. PODPIS PODATNIKA / OSOBY REPREZENTUJĄCEJ PODATNIKA</h4>
                    </th>
                  </tr>
                  <tr>
                    <th>240. Imię</th>
                    <td>
                      <xsl:value-of select="oso:Imie"/>
                    </td>
                  </tr>
                  <tr>
                    <th>240. Nazwisko</th>
                    <td>
                      <xsl:value-of select="oso:Nazwisko"/>
                    </td>
                  </tr>
                  <tr>
                    <th>241. Data wypełnienia</th>
                    <td>
                      <xsl:value-of select="wnio:DataWypelnienia"/>
                    </td>
                  </tr>
                  <tr>
                    <th>242. Podpis podatnika / osoby reprezentującej podatnika</th>
                    <td>
                      <xsl:value-of select="wnio:Podpis"/>
                    </td>
                  </tr>
                  <tr>
                    <th colspan="2">
                      <h4>DR - 1</h4>
                    </th>
                  </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:stylesheet>