7315
ID | 7315 |
Data | 2019-03-14 |
Symbol | 2019/03/14/7315 |
Instytucja | Urząd Miejski w Wojniczu |
Nazwa | Informacja w sprawie podatku leśnego |
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:adr="http://crd.gov.pl/xml/schematy/adres/2009/11/09/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:inst="http://crd.gov.pl/xml/schematy/instytucja/2009/11/16/" xmlns:meta="http://crd.gov.pl/xml/schematy/meta/2009/11/16/" xmlns:oso="http://crd.gov.pl/xml/schematy/osoba/2009/11/16/" xmlns:str="http://crd.gov.pl/xml/schematy/struktura/2009/11/16/" xmlns:wnio="http://crd.gov.pl/wzor/2019/03/14/7315/" 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:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0">
<xsl:template match="/">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<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;
}
</style>
</head>
<body>
<div style="max-width: 900px; margin: 0 auto;">
<xsl:for-each select="//wnio:TrescDokumentu/wnio:Wartosc">
<h3 style="text-align: right;">
<xsl:value-of select="wnio:NazwaUchwaly"/>
</h3>
<xsl:for-each select="wnio:Podmiot">
<xsl:for-each select="wnio:OsobaFizyczna">
<table style="max-width: 200px;">
<tr>
<th>
1.
<xsl:value-of select="wnio:NiPesel"/>
</th>
<th>2. Nr dokumentu</th>
</tr>
<tr>
<xsl:for-each select="wnio:NiPesel[.='NIP']">
<td>
<xsl:value-of select="../oso:NIP"/>
</td>
</xsl:for-each>
<xsl:for-each select="wnio:NiPesel[.='PESEL']">
<td>
<xsl:value-of select="../oso:PESEL"/>
</td>
</xsl:for-each>
<td>
<xsl:value-of select="wnio:NrDokumentu"/>
</td>
</tr>
</table>
</xsl:for-each>
</xsl:for-each>
<h1 style="text-align: center;">
<xsl:value-of select="//wnio:IL"/>
</h1>
<table style="margin:auto; width:280px;">
<tr>
<th>3. Rok:</th>
<td>
<xsl:value-of select="wnio:Rok"/>
</td>
</tr>
</table>
<h2>NAGŁÓWEK</h2>
<table border="1px">
<tr>
<th style="width:15%">Podstawa prawna:</th>
<th>
<xsl:value-of select="wnio:PodstawaPrawna"/>
</th>
</tr>
<tr>
<th>Składający:</th>
<th>
<xsl:value-of select="wnio:Skladajacy"/>
</th>
</tr>
<tr>
<th>Termin składania:</th>
<th>
<xsl:value-of select="wnio:TerminSkladania"/>
</th>
</tr>
<tr>
<th>Miejsce składania:</th>
<th>
<xsl:value-of select="wnio:MiejsceSkladania"/>
</th>
</tr>
</table>
<table>
<tr>
<th>
<h4>A. MIEJSCE SKŁADANIA INFORMACJI</h4>
</th>
</tr>
<tr>
<td>
4. Nazwa i adres siedziby organu podatkowego
<br/>
<b><xsl:value-of select="wnio:MiejsceSkladaniaInformacji"/></b></td>
</tr>
</table>
<table>
<tr>
<th colspan="2">
<h4>B. OBOWIĄZEK ZŁOŻENIA INFORMACJI</h4>
</th>
</tr>
<tr>
<th style="width:40%">5. Okoliczności powodujące obowiązek złożenia informacji</th>
<td>
<xsl:if test="wnio:ObowiazekZlozeniaDeklaracji = '1'">1. informacja składana po raz pierwszy</xsl:if>
<xsl:if test="wnio:ObowiazekZlozeniaDeklaracji = '2'">2. informacja składana w związku ze zmianą – data zaistnienia zmiany</xsl:if>
<xsl:if test="wnio:ObowiazekZlozeniaDeklaracji = '3'">3. korekta uprzednio złożonej informacji</xsl:if>
</td>
</tr>
<xsl:for-each select="wnio:ObowiazekZlozeniaDeklaracji[.='2']">
<tr>
<th>(miesiąc - rok)</th>
<td>
<xsl:value-of select="//wnio:DataZaistnieniaZmiany"/>
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="wnio:ObowiazekZlozeniaDeklaracji[.='3']">
<tr>
<th>(miesiąc - rok)</th>
<td>
<xsl:value-of select="//wnio:DataKorekty"/>
</td>
</tr>
</xsl:for-each>
</table>
<table>
<tr>
<th colspan="2">
<h4>C. PODMIOT ZOBOWIĄZANY DO ZŁOŻENIA INFORMACJI</h4>
</th>
</tr>
<tr>
<th>6. Rodzaj podmiotu:</th>
<td>
<xsl:value-of select="wnio:PodmiotZobowiazanyDoZlozenia"/>
</td>
</tr>
</table>
<xsl:for-each select="wnio:Podmiot">
<table>
<tr>
<th colspan="6">
<h4>D. DANE PODATNIKA </h4>
</th>
</tr>
<tr>
<th colspan="6">
<h4>D.1. DANE IDENTYFIKACYJNE
</h4>
</th>
</tr>
<xsl:for-each select="wnio:OsobaFizyczna">
<tr>
<th style="width:10%">7. Nazwisko</th>
<td style="width:25%">
<xsl:value-of select="oso:Nazwisko"/>
</td>
<th>8. Pierwsze imię, drugie imię</th>
<td>
<xsl:value-of select="oso:Imie"/>
</td>
<td colspan="2">
<xsl:value-of select="oso:ImieDrugie"/>
</td>
</tr>
<tr>
<th style="width:10%">9. Identyfikator REGON</th>
<td colspan="5">
<xsl:value-of select="inst:REGON"/>
</td>
</tr>
<tr>
<th colspan="6">Pola 10, 11, 12 należy wypełnić w przypadku, gdy numer PESEL nie został nadany.</th>
</tr>
<tr>
<th>10. Data urodzenia
</th>
<td>
<xsl:value-of select="oso:DataUrodzenia"/>
</td>
<th>11. Imię ojca
</th>
<td>
<xsl:value-of select="oso:ImieOjca"/>
</td>
<th>12. Imię matki
</th>
<td>
<xsl:value-of select="oso:ImieMatki"/>
</td>
</tr>
</xsl:for-each>
</table>
<xsl:for-each select="wnio:Adres">
<table>
<tr>
<th colspan="6">
<h4>D.2 ADRES ZAMIESZKANIA</h4>
</th>
</tr>
<tr>
<th>13. Kraj</th>
<td colspan="5">
<xsl:value-of select="adr:Kraj"/>
</td>
</tr>
<tr>
<th>14. Województwo</th>
<td>
<xsl:value-of select="adr:Wojewodztwo"/>
</td>
<th>15. Powiat</th>
<td>
<xsl:value-of select="adr:Powiat"/>
</td>
<th>16. Gmina</th>
<td>
<xsl:value-of select="adr:Gmina"/>
</td>
</tr>
<tr>
<th>17. Ulica</th>
<td>
<xsl:value-of select="adr:Ulica"/>
</td>
<th>18. Nr domu</th>
<td>
<xsl:value-of select="adr:Budynek"/>
</td>
<th>19. Nr lokalu</th>
<td>
<xsl:value-of select="adr:Lokal"/>
</td>
</tr>
<tr>
<th>20. Miejscowość</th>
<td>
<xsl:value-of select="adr:Miejscowosc"/>
</td>
<th>21. Kod pocztowy</th>
<td>
<xsl:value-of select="adr:KodPocztowy"/>
</td>
<th>22. Poczta</th>
<td>
<xsl:value-of select="adr:Poczta"/>
</td>
</tr>
</table>
</xsl:for-each>
</xsl:for-each>
<h2>TREŚĆ FORMULARZA</h2>
<xsl:for-each select="wnio:Lasy">
<table>
<tr>
<th colspan="2">
<h4>E. DANE DOTYCZĄCE LASÓW NIEPODLEGAJĄCYCH ZWOLNIENIU</h4>
</th>
</tr>
<tr>
<th>Rodzaj lasu</th>
<th>Powierzchnia w ha z dokładnością do 1 m<sup>2</sup></th>
</tr>
<tr>
<th>1. Lasy</th>
<td style="text-align: center;">
23.
<xsl:value-of select="wnio:A_1"/>
</td>
</tr>
<tr>
<th>2. Lasy wchodzące w skład rezerwatów przyrody</th>
<td style="text-align: center;">
24.
<xsl:value-of select="wnio:A_2"/>
</td>
</tr>
<tr>
<th>3. Lasy wchodzące w skład parków narodowych</th>
<td style="text-align: center;">
25.
<xsl:value-of select="wnio:A_3"/>
</td>
</tr>
</table>
</xsl:for-each>
<table>
<tr>
<th colspan="2">
<h4>F. INFORMACJA O ZAŁĄCZNIKACH</h4>
</th>
</tr>
<tr>
<td style="text-align: center">
<b>26. Liczba załączników ZL-1/A</b>
<br/>
<xsl:value-of select="count(wnio:DanePrzedmiotow/wnio:DanePrzedmiotow)"/>
</td>
<td style="text-align: center">
<b>27. Załącznik ZL-1/B składany</b>
<br/>
<xsl:value-of select="wnio:ZwolnieniaOdNieruchomosci/@type"/>
</td>
</tr>
</table>
<xsl:for-each select="wnio:DanePrzedmiotow">
<xsl:for-each select="wnio:DanePrzedmiotow">
<h2>ZL-1/A DANE O NIERUCHOMOŚCIACH LEŚNYCH
<div style=" float: right; ">
</div>
</h2>
<xsl:for-each select="wnio:Podmiot">
<xsl:for-each select="wnio:OsobaFizyczna">
<table style="max-width: 200px;">
<tr>
<th>
1.
<xsl:value-of select="wnio:NiPesel"/>
</th>
<th>2. Nr dokumentu</th>
</tr>
<tr>
<xsl:for-each select="wnio:NiPesel[.='NIP']">
<td>
<xsl:value-of select="../oso:NIP"/>
</td>
</xsl:for-each>
<xsl:for-each select="wnio:NiPesel[.='PESEL']">
<td>
<xsl:value-of select="../oso:PESEL"/>
</td>
</xsl:for-each>
<td>
<xsl:value-of select="wnio:NrDokumentu"/>
</td>
</tr>
</table>
</xsl:for-each>
</xsl:for-each>
<table>
<tr>
<th>Załącznik ZL-1/A przeznaczony jest dla jednej nieruchomości. W przypadku, gdy podatnik posiada na terenie gminy więcej niż jedną nieruchomość należy wypełnić odrębne załączniki.</th>
<th>
<h4>3. Nr załącznika</h4>
<xsl:value-of select="position()"/>
</th>
</tr>
</table>
<table>
<tr>
<th colspan="2">
<h4>A. PRZEZNACZENIE FORMULARZA</h4>
</th>
</tr>
<tr>
<th>4. Niniejszy formularz stanowi załącznik do</th>
<td>
<xsl:value-of select="wnio:ZalacznikDo"/>
</td>
</tr>
</table>
<table>
<tr>
<th colspan="6">
<h4>B. DANE PODATNIKA</h4>
</th>
</tr>
<tr>
<th colspan="6">
<h4>B.1. DANE IDENTYFIKACYJNE</h4>
</th>
</tr>
<xsl:for-each select="wnio:Podmiot">
<tr>
<th style="width:10%">5. Rodzaj podatnika</th>
<td colspan="5">
<xsl:if test="wnio:Rodzaj = 'osoba_fizyczna'">1. osoba fizyczna</xsl:if>
<xsl:if test="wnio:Rodzaj = 'osoba_prawna'">2. osoba prawna</xsl:if>
<xsl:if test="wnio:Rodzaj = 'jednostka_organizacyjna'">3. jednostka organizacyjna, w tym spółka, nieposiadająca osobowości prawnej</xsl:if>
</td>
</tr>
<xsl:for-each select="wnio:Rodzaj[.='osoba_fizyczna']">
<xsl:for-each select="../wnio:OsobaFizyczna">
<tr>
<th style="width:10%">6. Nazwisko</th>
<td style="width:25%">
<xsl:value-of select="oso:Nazwisko"/>
</td>
<th style="width:10%">7. Pierwsze imię, drugie imię</th>
<td style="width:25%">
<xsl:value-of select="oso:Imie"/>
</td>
<td colspan="2">
<xsl:value-of select="oso:ImieDrugie"/>
</td>
</tr>
<tr>
<th style="width:10%">8. Identyfikator REGON</th>
<td colspan="5">
<xsl:value-of select="inst:REGON"/>
</td>
</tr>
</xsl:for-each>
</xsl:for-each>
<xsl:for-each select="wnio:Rodzaj[.!='osoba_fizyczna']">
<xsl:for-each select="../wnio:OsobaNiefizyczna">
<tr>
<th style="width:25%">6. Nazwa pełna</th>
<td style="width:25%">
<xsl:value-of select="inst:NazwaInstytucji"/>
</td>
<th style="width:25%">7. Nazwa skrócona</th>
<td style="width:25%">
<xsl:value-of select="wnio:NazwaSkrocona"/>
</td>
</tr>
<tr>
<th style="width:25%">8. Identyfikator REGON</th>
<td colspan="3">
<xsl:value-of select="inst:REGON"/>
</td>
</tr>
</xsl:for-each>
</xsl:for-each>
</xsl:for-each>
</table>
<table>
<tr>
<th>
<h4>C. DANE O NIERUCHOMOŚCIACH LEŚNYCH PODLEGAJĄCYCH OPODATKOWANIU LUB ZWOLNIENIU</h4>
</th>
</tr>
</table>
<table>
<tr>
<th colspan="2">
<h4>C.1. POŁOŻENIE NIERUCHOMOŚCI</h4>
</th>
</tr>
<tr style="width:20%;">
<th>9. Położenie nieruchomości (adres)</th>
<td>
<xsl:value-of select="wnio:AdresNieruchomosci"/>
</td>
</tr>
</table>
<table>
<tr>
<th colspan="3">
<h4>C.2. TYTUŁ PRAWNY</h4>
</th>
</tr>
<tr>
<th>
<xsl:value-of select="wnio:Wybor"/>
</th>
<xsl:if test="wnio:Wybor='10. Rodzaj własności'">
<th>
<xsl:value-of select="//wnio:Wybor1"/>
</th>
</xsl:if>
<xsl:if test="wnio:Wybor='11. Rodzaj posiadania samoistnego'">
<th>
<xsl:value-of select="//wnio:Wybor2"/>
</th>
</xsl:if>
<xsl:if test="wnio:Wybor='12. Rodzaj użytkowania'">
<th>
<xsl:value-of select="//wnio:Wybor3"/>
</th>
</xsl:if>
<xsl:if test="wnio:Wybor='13. Rodzaj posiadania zależnego'">
<th>
<xsl:value-of select="//wnio:Wybor4"/>
</th>
</xsl:if>
</tr>
</table>
<table>
<tr>
<th colspan="6">
<h4>C.3. IDENTYFIKATORY GEODEZYJNE DZIAŁEK
</h4>
</th>
</tr>
<xsl:for-each select="wnio:DodawanieDzialek">
<tr>
<th colspan="3">
14. Działki ewidencyjne
</th>
</tr>
<xsl:for-each select="wnio:DodawanieDzialek">
<tr>
<th>Działka ewidencyjna nr</th>
<td>
<xsl:value-of select="wnio:DzialkaEwidencyjna"/>
<br/>
</td>
</tr>
</xsl:for-each>
</xsl:for-each>
</table>
<table>
<tr>
<th colspan="2">
<h4>C.4. KSIĘGA WIECZYSTA</h4>
</th>
</tr>
<tr>
<th>15. Numer księgi wieczystej lub zbioru dokumentów</th>
<td>
<xsl:value-of select="wnio:NrKsiegiWieczystej"/>
</td>
</tr>
<tr>
<th>16. Nazwa sądu</th>
<td>
<xsl:value-of select="wnio:NazwaSadu"/>
</td>
</tr>
</table>
</xsl:for-each>
</xsl:for-each>
<br/>
<h2>ZL-1B Dane o zwolnieniach w podatku leśnym</h2>
<div style="margin-left: 47%">
<xsl:if test="wnio:ZwolnieniaOdNieruchomosci/@type = 'tak'">Tak</xsl:if>
<xsl:if test="wnio:ZwolnieniaOdNieruchomosci/@type = 'nie'">Nie</xsl:if>
</div>
<xsl:for-each select="wnio:ZwolnieniaOdNieruchomosci/wnio:ZwolnieniaOdNieruchomosci">
<xsl:for-each select="wnio:Podmiot">
<xsl:for-each select="wnio:OsobaFizyczna">
<table style="max-width: 200px;">
<tr>
<th>
1.
<xsl:value-of select="wnio:NiPesel"/>
</th>
<th>2. Nr dokumentu</th>
</tr>
<tr>
<xsl:for-each select="wnio:NiPesel[.='NIP']">
<td>
<xsl:value-of select="../oso:NIP"/>
</td>
</xsl:for-each>
<xsl:for-each select="wnio:NiPesel[.='PESEL']">
<td>
<xsl:value-of select="../oso:PESEL"/>
</td>
</xsl:for-each>
<td>
<xsl:value-of select="wnio:NrDokumentu"/>
</td>
</tr>
</table>
</xsl:for-each>
</xsl:for-each>
<h4>DANE O ZWOLNIENIACH PODATKOWYCH W PODATKU LEŚNYM</h4>
<table>
<tr>
<th colspan="2">
<h4>A. PRZEZNACZENIE FORMULARZA</h4>
</th>
</tr>
<tr>
<th>3. Niniejszy formularz stanowi załącznik do</th>
<td>
<xsl:value-of select="wnio:ZalacznikDo"/>
</td>
</tr>
</table>
<table>
<tr>
<th colspan="6">
<h4>B. DANE PODATNIKA</h4>
</th>
</tr>
<tr>
<th colspan="6">
<h4>B.1. DANE IDENTYFIKACYJNE</h4>
</th>
</tr>
<xsl:for-each select="wnio:Podmiot">
<tr>
<th style="width:10%">4. Rodzaj podatnika</th>
<td colspan="5">
<xsl:if test="./@typPodmiotu = 'osoba_fizyczna'">1. osoba fizyczna</xsl:if>
<xsl:if test="./@typPodmiotu = 'osoba_prawna'">2. osoba prawna</xsl:if>
<xsl:if test="./@typPodmiotu = 'jednostka_organizacyjna'">3. 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%">5. Nazwisko</th>
<td style="width:25%">
<xsl:value-of select="oso:Nazwisko"/>
</td>
<th style="width:10%">6. Pierwsze imię, drugie imię</th>
<td style="width:25%">
<xsl:value-of select="oso:Imie"/>
</td>
<td colspan="2">
<xsl:value-of select="oso:ImieDrugie"/>
</td>
</tr>
<tr>
<th style="width:10%">7. Identyfikator REGON</th>
<td colspan="5">
<xsl:value-of select="inst:REGON"/>
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="wnio:OsobaNiefizyczna">
<tr>
<th style="width:25%">5. Nazwa pełna</th>
<td style="width:25%">
<xsl:value-of select="inst:NazwaInstytucji"/>
</td>
<th style="width:25%">6. Nazwa skrócona</th>
<td style="width:25%">
<xsl:value-of select="wnio:NazwaSkrocona"/>
</td>
</tr>
<tr>
<th style="width:25%">7. Identyfikator REGON</th>
<td colspan="3">
<xsl:value-of select="inst:REGON"/>
</td>
</tr>
</xsl:for-each>
</xsl:for-each>
</table>
<table align="center">
<tr>
<th colspan="3">
<h4>C. DANE DOTYCZĄCE ZWOLNIEŃ PODATKOWYCH WYNIKAJĄCYCH Z USTAWY LUB UCHWAŁY RADY MIEJSKIEJ</h4>
</th>
</tr>
<tr>
<th style="width:40%; text-align: center;">
Tytuł prawny zwolnienia
</th>
<th style="width:20%; text-align: center;">
Powierzchnia w ha z dokładnością do 1 m<sup>2</sup> <sup>2)</sup>
</th>
</tr>
<xsl:for-each select="wnio:Poziom">
<tr>
<th>
<xsl:value-of select="wnio:Tytul"/>
</th>
<td>
<xsl:value-of select="concat(position()+7, '. ')"/>
<br/>
<xsl:value-of select="wnio:Powierzchnia"/>
</td>
</tr>
</xsl:for-each>
<tr>
<td style="width:40%">
<span>
Na podstawie Uchwały Rady Miejskiej w Wojniczu Nr
<xsl:value-of select="wnio:Art_inny0_0"/>
z dnia
<xsl:value-of select="wnio:Art_inny2_2"/>
</span>
</td>
<td colspan="2" style="width:20%">
<xsl:value-of select="concat(position()+16, '. ')"/>
<br/>
<xsl:value-of select="wnio:Art_inny1_1"/>
</td>
</tr>
<xsl:for-each select="wnio:Zwolnienie[@rodzaj='inne']">
<tr>
<td style="width:40%">
Na podstawie Uchwały Rady Miejskiej w Wojniczu Nr
<xsl:value-of select="wnio:Art_inny0"/>
z dnia
<xsl:value-of select="wnio:Art_inny2"/>
</td>
<td colspan="2" style="width:20%">
<xsl:value-of select="concat(position()+17, '. ')"/>
<br/>
<xsl:value-of select="wnio:Art_inny1"/>
</td>
</tr>
</xsl:for-each>
</table>
</xsl:for-each>
<h2>STOPKA</h2>
<table>
<tr>
<th colspan="2">
<h4>G. PODPIS PODATNIKA / OSOBY REPREZENTUJĄCEJ PODATNIKA</h4>
</th>
</tr>
<tr>
<th>28. Imię</th>
<td>
<xsl:value-of select="oso:Imie"/>
</td>
</tr>
<tr>
<th>29. Nazwisko</th>
<td>
<xsl:value-of select="oso:Nazwisko"/>
</td>
</tr>
<tr>
<th>30. Data wypełnienia</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>