7280
ID | 7280 |
Data | 2019-03-14 |
Symbol | 2019/03/14/7280 |
Instytucja | Urząd Gminy Jawornik Polski |
Nazwa | Deklaracja na podatek leśny |
Czy Aktualny | 1 |
---|
Ustawy (1)
Pliki
Styl
<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wnio="http://crd.gov.pl/wzor/2019/03/14/7280/" 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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<style type="text/css">
body {
background-color: #FFFFFF;
margin: 0px 0px 0px 0px;
font-family: Verdana, Helvetica, sans-serif;
font-size: 12px;
}
table .title {
background-color: #FFFFFF;
width: 100%;
border: 0px;
}
p {
margin-top: 1em;
margin-bottom: 1em;
}
h1 {
font-size: 24px;
margin-top: 0;
background-color: #dde;
font-weight: bold;
font-size: 14px;
text-align: left;
padding-left: 1em;
padding-right: 1em;
padding-top: .2em;
padding-bottom: .2em;
margin-top: 0;
margin-bottom: 0;
border-bottom: solid 1px #99c;
line-height: 180%;
}
h2 {
color: #336;
background-color: #dde;
font-size: 9pt;
font-weight: bold;
padding-left: 1em;
padding-right: 1em;
padding-top: .2em;
padding-bottom: .2em;
margin-top: 2em;
margin-bottom: 1em;
border-bottom: solid 1px #336;
clear: right;
}
h3 {
font-size: 14px;
margin-top: 2em;
color: #0A2D4C;
}
h4 {
font-size: 12px;
margin-top: 2em;
color: #4A6D8C;
}
b {
color: #4A6D8C;
}
li {
line-height: 1.2em;
}
h1, h2 {
text-align: center !important;
}
h1 {
margin-bottom: 15px !important;
}
h3, h4 {
margin-top: 8px;
margin-bottom: 8px;
}
table {
border-collapse: collapse;
margin: 0;
padding: 0;
width: 100%;
margin-bottom: 3px;
}
td, th {
border: 1px solid #CCC;
padding: 3px;
}
th {
background-color: #EEE;
text-align: left;
font-weight: normal;
}
textarea {
width: 90%;
height: 100%
}
</style>
</head>
<body>
<div style="max-width: 900px; margin: 0 auto;">
<xsl:for-each select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc">
<xsl:for-each select="wnio:Naglowek">
<h1 style="text-align: center;">
<xsl:value-of select="wnio:NazwaFormularza"/>
</h1>
<table style="margin:auto; width:280px;">
<tr>
<th>na rok:</th>
<td>
<xsl:value-of select="wnio:Rok">
</xsl:value-of>
</td>
</tr>
</table>
<h2>NAGŁÓWEK</h2>
<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>Organ podatkowy właściwy ze względu na miejsce położenia nieruchomości.</th>
</tr>
</table>
<table>
<tr>
<th>
<h4>MIEJSCE SKŁADANIA DEKLARACJI</h4>
</th>
</tr>
<tr>
<th>Nazwa i adres siedziby organu podatkowego</th>
</tr>
<tr>
<td>
<xsl:value-of select="wnio:MiejsceSkladaniaPelne"/>
</td>
</tr>
</table>
</xsl:for-each>
<table>
<tr>
<th colspan="2">
<h4>OBOWIĄZEK ZŁOŻENIA DEKLARACJI</h4>
</th>
</tr>
<tr>
<th style="width:40%">Okoliczności powodujące obowiązek złożenia deklaracji</th>
<td>
<xsl:if test="wnio:ObowiazekZlozeniaDeklaracji='po_raz_pierwszy'">
deklaracja roczna
</xsl:if>
<xsl:if test="wnio:ObowiazekZlozeniaDeklaracji='korekta'">
korekta deklaracji rocznej
</xsl:if>
</td>
</tr>
<xsl:for-each select="wnio:DataZmiany">
<tr>
<th>Data zmiany (miesiąc - rok)</th>
<td>
<xsl:value-of select=".">
</xsl:value-of>
</td>
</tr>
</xsl:for-each>
</table>
<xsl:for-each select="wnio:Podmiot">
<table>
<tr>
<th colspan="6">
<h4>PODMIOT ZOBOWIĄZANY DO ZŁOŻENIA INFORMACJI</h4>
</th>
</tr>
<tr>
<td colspan="8">
<h5>Rodzaj podmiotu</h5>
</td>
</tr>
<tr>
<td colspan="8">
<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>
<table>
<tr>
<th colspan="6">
<h4>DANE PODATNIKA</h4>
</th>
</tr>
<tr>
<th colspan="6">
<h5>DANE IDENTYFIKACYJNE</h5>
</th>
</tr>
<tr>
<th style="width:10%">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 style="width:25%">
<xsl:value-of select="oso:ImieDrugie">
</xsl:value-of>
</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%">
<xsl:value-of select="oso:PESEL">
</xsl:value-of>
</td>
<th style="width:10%">REGON</th>
<td style="width:25%">
<xsl:value-of select="inst:REGON">
</xsl:value-of>
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="wnio:OsobaFizyczna/wnio:NieNadanoPeselu">
<tr>
<th colspan="6">Pola data urodzenia, imię ojca, imię matki wypełnia osoba
fizyczna w przypadku, gdy numer PESEL nie został nadany.
</th>
</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>
</table>
<table>
<xsl:for-each select="wnio:OsobaNiefizyczna">
<tr>
<th style="width:10%">Nazwa pełna</th>
<td style="width:25%">
<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%">REGON</th>
<td style="width:25%">
<xsl:value-of select="inst:REGON">
</xsl:value-of>
</td>
<th style="width:10%">NIP</th>
<td style="width:25%" colspan="3">
<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">
<xsl:if test="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/wnio:Podmiot/@typPodmiotu='osoba_fizyczna'">
<h4>ADRES ZAMIESZKANIA</h4>
</xsl:if>
<xsl:if test="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/wnio:Podmiot/@typPodmiotu!='osoba_fizyczna'">
<h4>ADRES SIEDZIBY</h4>
</xsl:if>
</th>
</tr>
<tr>
<th>Kraj</th>
<td colspan="5">
<xsl:value-of select="adr:Kraj">
</xsl:value-of>
</td>
</tr>
<tr>
<th>Województwo</th>
<td>
<xsl:value-of select="adr:Wojewodztwo">
</xsl:value-of>
</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">
<h5>ADRES DO KORESPONDENCJI
</h5>
</th>
</tr>
<tr>
<th colspan="6">Należy wypełnić tylko wówczas, gdy adres do korespondencji jest inny
niż w części ADRES SIEDZIBY / ADRES ZAMIESZKANIA
</th>
</tr>
<xsl:for-each select="wnio:AdresKorespondencyjny[@wystepuje='tak']">
<tr>
<th>Kraj</th>
<td colspan="5">
<xsl:value-of select="adr:Kraj">
</xsl:value-of>
</td>
</tr>
<tr>
<th>Województwo</th>
<td>
<xsl:value-of select="adr:Wojewodztwo">
</xsl:value-of>
</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>
</xsl:for-each>
</table>
<xsl:for-each select="wnio:Kontakt">
<table>
<tr>
<th colspan="6">
<h5>KONTAKT</h5>
</th>
</tr>
<tr>
<th style="width:10%">Telefon</th>
<td style="width:25%">
<xsl:value-of select="adr:Telefon">
</xsl:value-of>
</td>
<th style="width:10%">Faks</th>
<td style="width:25%">
<xsl:value-of select="adr:Faks">
</xsl:value-of>
</td>
<th style="width:10%">Email</th>
<td style="width:25%">
<xsl:value-of select="adr:Email">
</xsl:value-of>
</td>
</tr>
</table>
</xsl:for-each>
<table>
<tr>
<th colspan="6">
<h4>Pełnomocnik
<xsl:value-of select="wnio:Pelnomocnik/@wystepuje"/>
</h4>
</th>
</tr>
<xsl:for-each select="wnio:Pelnomocnik[@wystepuje='tak']">
<tr>
<th>Imię</th>
<td>
<xsl:value-of select="oso:Imie">
</xsl:value-of>
</td>
<th>Nazwisko</th>
<td>
<xsl:value-of select="oso:Nazwisko">
</xsl:value-of>
</td>
<th>PESEL</th>
<td>
<xsl:value-of select="oso:PESEL">
</xsl:value-of>
</td>
</tr>
</xsl:for-each>
</table>
</xsl:for-each>
<h2>TREŚĆ FORMULARZA</h2>
<xsl:for-each select="wnio:DaneLasow">
<table>
<tr>
<th colspan="4">
<h4>DANE DOTYCZĄCE LASÓW NIEPODLEGAJĄCYCH ZWOLNIENIU</h4>
</th>
</tr>
<tr>
<th style="width:40%">Rodzaj gruntów leśnych</th>
<th style="width:20%">Powierzchnia w ha
</th>
<th style="width:20%">Stawka podatku</th>
<th style="width:20%">Kwota podatku</th>
</tr>
<xsl:for-each select="wnio:Lasy">
<tr>
<th>Lasy</th>
<td>
<xsl:value-of select="wnio:Powierzchnia">
</xsl:value-of>
</td>
<td>
<xsl:value-of select="wnio:Stawka">
</xsl:value-of>
</td>
<td>
<xsl:value-of select="wnio:Kwota"/>
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="wnio:LasyRezerwaty">
<tr>
<th>Lasy wchodzące w skład rezerwatów przyrody
</th>
<td>
<xsl:value-of select="wnio:Powierzchnia">
</xsl:value-of>
</td>
<td>
<xsl:value-of select="wnio:Stawka">
</xsl:value-of>
</td>
<td>
<xsl:value-of select="wnio:Kwota"/>
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="wnio:LasyParkiNarodowe">
<tr>
<th>Lasy wchodzące w skład parków narodowych
</th>
<td>
<xsl:value-of select="wnio:Powierzchnia">
</xsl:value-of>
</td>
<td>
<xsl:value-of select="wnio:Stawka">
</xsl:value-of>
</td>
<td>
<xsl:value-of select="wnio:Kwota"/>
</td>
</tr>
</xsl:for-each>
</table>
<table>
<xsl:for-each select="wnio:LasyRazem">
<tr>
<th colspan="3" style="width:80%;">
<h4>ŁĄCZNA KWOTA PODATKU</h4>
</th>
</tr>
<tr>
<td style="width:20%;">Kwota podatku (w pełnych złotych):</td>
<td><xsl:value-of select="."/>
zł
</td>
</tr>
</xsl:for-each>
</table>
</xsl:for-each>
<xsl:for-each select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc">
<table>
<tr>
<th>
<h4>INFORMACJA O ZAŁĄCZNIKACH</h4>
</th>
</tr>
</table>
<table>
<tr>
<th colspan="6">
<h5>
Załącznik ZL-1/A
</h5>
</th>
</tr>
<xsl:for-each select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/wnio:Zalacznik1A/wnio:Pola">
<tr>
<th colspan="3">
<h4>DANE O NIERUCHOMOŚCIACH LEŚNYCH PODLEGAJĄCYCH OPODATKOWANIU LUB
ZWOLNIENIU
</h4>
</th>
</tr>
<tr>
<th colspan="3">
<b>POŁOŻENIE NIERUCHOMOŚCI</b>
</th>
</tr>
<tr>
<th>Położenie nieruchomości (adres)</th>
<td>
<xsl:value-of select="wnio:PolozenieNieruchomosci">
</xsl:value-of>
</td>
</tr>
<tr>
<th colspan="3">
<b>TYTUŁ PRAWNY</b>
</th>
</tr>
<tr>
<th>Rodzaj</th>
<td>
<xsl:if test="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/wnio:Zalacznik1A/wnio:RodzajWlasnosci='wlasnosc'">
własność
</xsl:if>
<xsl:if test="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/wnio:Zalacznik1A/wnio:RodzajWlasnosci='wspolwlasnosc'">
współwłasność
</xsl:if>
<xsl:if test="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/wnio:Zalacznik1A/wnio:RodzajWlasnosci='posiadanie_samoistne'">
posiadanie samoistne
</xsl:if>
<xsl:if test="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/wnio:Zalacznik1A/wnio:RodzajWlasnosci='wspolposiadanie_samoistne'">
współposiadanie samoistne
</xsl:if>
<xsl:if test="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/wnio:Zalacznik1A/wnio:RodzajWlasnosci='wieczyste'">
użytkowanie wieczyste
</xsl:if>
<xsl:if test="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/wnio:Zalacznik1A/wnio:RodzajWlasnosci='wspoluzytkowanie'">
współużytkowanie wieczyste
</xsl:if>
<xsl:if test="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/wnio:Zalacznik1A/wnio:RodzajWlasnosci='posiadanie_zalezne'">
posiadanie zależne
</xsl:if>
<xsl:if test="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/wnio:Zalacznik1A/wnio:RodzajWlasnosci='wspolposiadanie_zalezne'">
współposiadanie zależne
</xsl:if>
</td>
</tr>
<tr>
<th colspan="3">
<b>IDENTYFIKATORY GEODEZYJNE DZIAŁEK</b>
</th>
</tr>
<tr>
<th>Działki ewidencyjne</th>
<td>
<xsl:value-of select="wnio:Identyfikatory">
</xsl:value-of>
</td>
</tr>
<tr>
<th colspan="3">
<b>KSIĘGA WIECZYSTA</b>
</th>
</tr>
<tr>
<th>Numer księgi wieczystej (zbioru dokumentów)</th>
<td>
<xsl:value-of select="wnio:NumerKW">
</xsl:value-of>
</td>
</tr>
<tr>
<th>Nazwa sądu</th>
<td>
<xsl:value-of select="wnio:NazwaSadu">
</xsl:value-of>
</td>
</tr>
</xsl:for-each>
</table>
<table>
<tr>
<th>
<h5>Załącznik ZL-1/B składany:</h5>
</th>
<td>
<xsl:value-of select="wnio:Zalacznik1/@wystepuje"/>
</td>
</tr>
<xsl:for-each select="wnio:Zalacznik1[@wystepuje='tak']">
<tr>
<th colspan="2">
<h4>DANE O ZWOLNIENIACH PODATKOWYCH W PODATKU LEŚNYM</h4>
</th>
</tr>
<tr>
<th>
<b>Tytuł prawny zwolnienia</b>
</th>
<td>
<b>Powierzchnia w ha</b>
</td>
</tr>
<xsl:for-each select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/wnio:Zalacznik1/wnio:Powierzchnie">
<tr>
<th>
<xsl:value-of select="//wnio:PodstawaTresc1"/>
</th>
<td>
<xsl:value-of select="wnio:Powierzchnia711">
</xsl:value-of>
</td>
</tr>
<tr>
<th>
<xsl:value-of select="//wnio:PodstawaTresc2"/>
</th>
<td>
<xsl:value-of select="wnio:Powierzchnia712">
</xsl:value-of>
</td>
</tr>
<tr>
<th>
<xsl:value-of select="//wnio:PodstawaTresc3"/>
</th>
<td>
<xsl:value-of select="wnio:Powierzchnia713">
</xsl:value-of>
</td>
</tr>
<tr>
<th>
<xsl:value-of select="//wnio:PodstawaTresc4"/>
</th>
<td>
<xsl:value-of select="wnio:Powierzchnia721">
</xsl:value-of>
</td>
</tr>
<tr>
<th>
<xsl:value-of select="//wnio:PodstawaTresc5"/>
</th>
<td>
<xsl:value-of select="wnio:Powierzchnia722">
</xsl:value-of>
</td>
</tr>
<tr>
<th>
<xsl:value-of select="//wnio:PodstawaTresc6"/>
</th>
<td>
<xsl:value-of select="wnio:Powierzchnia723">
</xsl:value-of>
</td>
</tr>
<tr>
<th>
<xsl:value-of select="//wnio:PodstawaTresc7"/>
</th>
<td>
<xsl:value-of select="wnio:Powierzchnia724">
</xsl:value-of>
</td>
</tr>
<tr>
<th>
<xsl:value-of select="//wnio:PodstawaTresc8"/>
</th>
<td>
<xsl:value-of select="wnio:Powierzchnia725">
</xsl:value-of>
</td>
</tr>
<tr>
<th>
<xsl:value-of select="//wnio:PodstawaTresc9"/>
</th>
<td>
<xsl:value-of select="wnio:Powierzchnia726">
</xsl:value-of>
</td>
</tr>
<tr>
<th>
<xsl:value-of select="//wnio:PodstawaTresc10"/>
</th>
<td>
<xsl:value-of select="wnio:Powierzchnia727">
</xsl:value-of>
</td>
</tr>
</xsl:for-each>
</xsl:for-each>
</table>
</xsl:for-each>
<h2>STOPKA</h2>
<table>
<tr>
<th>
<h4>POUCZENIE</h4>
</th>
</tr>
<tr>
<td>
<xsl:value-of select="//wnio:PodstawaTresc11"/>
<br/>
<br/>
<xsl:value-of select="//wnio:PodstawaTresc12"/>
</td>
</tr>
</table>
<table>
<tr>
<th colspan="2">
<h4>PODPIS PODATNIKA / OSOBY REPREZENTUJĄCEJ PODATNIKA</h4>
</th>
</tr>
<tr>
<th>Imię</th>
<td>
<xsl:value-of select="oso:Imie">
</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>
</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) > 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']) > 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 >= 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>