6929
ID | 6929 |
Data | 2019-02-06 |
Symbol | 2019/02/06/6929 |
Instytucja | Gmina Miasto Świdnica |
Nazwa | Informacja o gruntach rolnych |
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/02/06/6929/" 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;
}
</style>
</head>
<body>
<div style="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:Nazwa"/>
<br/>
<xsl:if test="../@rodzaj='2'">gruntach rolnych</xsl:if>
</h1>
<table style="margin:auto; width:280px;">
<tr>
<th>Na 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:if test="../@rodzaj='2'">
<xsl:value-of select="wnio:PodstawaRolny"/>
</xsl:if>
</th>
</tr>
<tr>
<th>Składający:</th>
<th>
<xsl:value-of select="wnio:Skladajacy"/>
<xsl:if test="../@rodzaj='2'">
<xsl:value-of select="wnio:Skladajacyb"/>
</xsl:if>
</th>
</tr>
<tr>
<th>Termin składania:</th>
<th>
<xsl:value-of select="wnio:Termin"/>
</th>
</tr>
<tr>
<th>Miejsce składania:</th>
<th>
<xsl:value-of select="wnio:MiejsceSkladania"/>
</th>
</tr>
</table>
<table>
<tr>
<th>
<h4>MIEJSCE SKŁADANIA INFORMACJI</h4>
</th>
</tr>
<tr>
<th>
Nazwa i adres siedziby organu podatkowego:
</th>
</tr>
<tr>
<th>
<xsl:value-of select="wnio:MiejsceSkladaniaPelne"/>
</th>
</tr>
</table>
<xsl:for-each select="wnio:Okolicznosci">
<table>
<tr>
<th colspan="2">
<h4>
<xsl:value-of select="wnio:Tytul"/>
</h4>
</th>
</tr>
<tr>
<td>
<xsl:value-of select="wnio:Wartosc"/>
</td>
</tr>
<tr>
<td>
Data nabycia - zbycia/zmiany/ korekty
<xsl:value-of select="wnio:DataNabycia">
</xsl:value-of>
Rodzaj i nr dokumentu
<xsl:value-of select="wnio:AktNumer">
</xsl:value-of>
</td>
</tr>
</table>
</xsl:for-each>
</xsl:for-each>
<xsl:for-each select="wnio:Podmiot">
<table>
<tr>
<th colspan="6">
<h4>DANE PODATNIKA</h4>
</th>
</tr>
<tr>
<td colspan="6">
<xsl:if test="wnio:Dzialalnosc='1'">Osoba fizyczna nieprowadząca działalności gospodarczej</xsl:if>
<xsl:if test="wnio:Dzialalnosc='2'">Osoba fizyczna prowadząca działalność gospodarczą</xsl:if>
</td>
</tr>
<tr>
<th colspan="6">
<h4>DANE IDENTYFIKACYJNE</h4>
</th>
</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>
Identyfikator REGON
</th>
<td>
<xsl:value-of select="inst:REGON">
</xsl:value-of>
</td>
<th>
PKD/EKD
</th>
<td>
<xsl:value-of select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/wnio:Podmiot/wnio:OsobaFizyczna/wnio:PKD">
</xsl:value-of>
</td>
<th>
Numer PESEL
</th>
<td>
<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 colspan="3">
<xsl:value-of select="oso:ImieMatki">
</xsl:value-of>
</td>
</tr>
</xsl:for-each>
</table>
<xsl:for-each select="wnio:Adres">
<table>
<tr>
<th colspan="6">
<h4>
ADRES ZAMIESZKANIA PODATNIKA
</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>
</table>
</xsl:for-each>
<table>
<xsl:for-each select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:WspolMalzonek">
<tr>
<th colspan="6">
<h4>DANE IDENTYFIKACYJNE WSPÓŁMAŁŻONKA</h4>
</th>
</tr>
<tr>
<th>Nazwisko</th>
<td>
<xsl:value-of select="oso:Nazwisko"/>
</td>
<th>Imię</th>
<td>
<xsl:value-of select="oso:Imie"/>
</td>
<th>Drugie imię</th>
<td>
<xsl:value-of select="oso:ImieDrugie"/>
</td>
</tr>
<tr>
<th>PESEL</th>
<td>
<xsl:value-of select="oso:PESEL">
</xsl:value-of>
</td>
<th>Data urodzenia</th>
<td colspan="3">
<xsl:value-of select="wnio:Urodzenia"/>
</td>
</tr>
<tr>
<th>Imię ojca</th>
<td>
<xsl:value-of select="oso:ImieOjca"/>
</td>
<th>Imię matki</th>
<td colspan="3">
<xsl:value-of select="oso:ImieMatki"/>
</td>
</tr>
<tr>
<th colspan="6">
<h4>
ADRES ZAMIESZKANIA WSPÓŁMAŁŻONKA
</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>
</xsl:for-each>
</table>
</xsl:for-each>
<xsl:for-each select="wnio:Wspolwlasciciele">
<table>
<tr>
<th colspan="6">
<h4>
<xsl:value-of select="wnio:Tytul"/>
</h4>
</th>
</tr>
<tr>
<th>
Nazwisko
</th>
<th>
Imię
</th>
<th>
Drugie imię
</th>
<th>
PESEL
</th>
<th>
NIP
</th>
<th>
Adres zamieszkania
</th>
</tr>
<xsl:for-each select="wnio:Dane">
<tr>
<td>
<xsl:value-of select="oso:Nazwisko"/>
</td>
<td>
<xsl:value-of select="oso:Imie"/>
</td>
<td>
<xsl:value-of select="oso:ImieDrugie"/>
</td>
<td>
<xsl:value-of select="oso:PESEL">
</xsl:value-of>
</td>
<td>
<xsl:value-of select="oso:NIP">
</xsl:value-of>
</td>
<td>
<xsl:value-of select="wnio:AdresZamieszkania"/>
</td>
</tr>
</xsl:for-each>
</table>
</xsl:for-each>
<xsl:for-each select="wnio:PrzedmiotyOpodatkowania">
<table>
<tr>
<th colspan="6">
<h4>
<xsl:value-of select="wnio:Tytul"/>
</h4>
</th>
</tr>
<tr>
<th colspan="6">
<xsl:value-of select="wnio:Tytul2"/>
</th>
</tr>
<xsl:for-each select="wnio:Przedmiot">
<tr>
<th colspan="3">
Położenie nieruchomości (adres)
</th>
<td>
<xsl:value-of select="wnio:Adres">
</xsl:value-of>
</td>
</tr>
<tr>
<th colspan="3">
Forma władania
</th>
<td>
<xsl:value-of select="wnio:FormaWladania"/>
</td>
</tr>
<tr>
<th colspan="3">
Nr księgi wieczystej
</th>
<td>
<xsl:value-of select="wnio:NrKsiegi">
</xsl:value-of>
</td>
</tr>
<tr>
<th>
Identyfikatory działek, budynków, lokali
</th>
<td>Działka<br/>
<xsl:value-of select="wnio:Dzialka">
</xsl:value-of>
-
<xsl:value-of select="wnio:Dzialka2">
</xsl:value-of>
<br/> obręb - nr działki
</td>
<td>Budynek<br/>
<xsl:value-of select="wnio:Budynek">
</xsl:value-of>
-
<xsl:value-of select="wnio:Budynek2">
</xsl:value-of>
<br/> nr działki - nr budynku
</td>
<td>Lokal<br/>
<xsl:value-of select="wnio:Lokal">
</xsl:value-of>
-
<xsl:value-of select="wnio:Lokal2">
</xsl:value-of>
-
<xsl:value-of select="wnio:Lokal3">
</xsl:value-of>
<br/> nr działki - nr budynku - nr lokalu
</td>
</tr>
</xsl:for-each>
</table>
</xsl:for-each>
<h2>TREŚĆ DOKUMENTU</h2>
<xsl:if test="@rodzaj='2'">
<xsl:for-each select="wnio:PodatekRolny">
<table>
<tr>
<th colspan="2">
<h4>PODATEK ROLNY</h4>
</th>
</tr>
<tr>
<th colspan="2">W przypadku korzystania ze zwolnień i ulg w podatku rolnym należy wypełnić
załącznik
ZR - 1/B.
</th>
</tr>
<tr>
<th colspan="2"><h4>DANE DOTYCZĄCE PRZEDMIOTÓW OPODATKOWANIA NIEPODLEGAJĄCYCH ZWOLNIENIU
</h4>(powierzchnie należy wpisać do czterech miejsc po przecinku)
</th>
</tr>
<tr>
<td/>
<td>Powierzchnia w ha fizycznych</td>
</tr>
<xsl:for-each select="wnio:DaneNiepodlegajaceZwolnieniu/wnio:Sekcja">
<tr>
<th colspan="2">
<h4>
<xsl:value-of select="wnio:Tytul"/>
</h4>
</th>
</tr>
<xsl:for-each select="wnio:Pozycja">
<tr>
<th>
<xsl:value-of select="wnio:Tytul"/>
</th>
<td>
<xsl:value-of select="wnio:Powierzchnia">
</xsl:value-of>
</td>
</tr>
</xsl:for-each>
</xsl:for-each>
</table>
</xsl:for-each>
</xsl:if>
<xsl:for-each select="wnio:InformacjaOZalacznikach/wnio:Zalaczniki">
<table>
<tr>
<th colspan="4">
<h4>
INFORMACJA O ZAŁĄCZNIKACH
</h4>
</th>
</tr>
<tr>
<th>Rodzaj załącznika</th>
<th style="width: 50%">ZNRL - 1/A - informacja o nieruchomościach i obiektach budowlanych, gruntach
rolnych i lasach<br/>
(<xsl:value-of select="wnio:ZNRL1A"/>)
</th>
<xsl:if test="../../@rodzaj='2'">
<th>Rodzaj załącznika</th>
<th>ZR-1/B - dane o zwolnieniach i ulgach podatkowych w podatku rolnym <br/>
(<xsl:value-of select="wnio:ZR1B"/>)
</th>
</xsl:if>
</tr>
<tr>
<th>Rodzaj załącznika</th>
<th style="width: 50%">UPL-1P - pełnomocnictwo do podpisywania deklaracji składanej w formie
papierowej<br/>
(<xsl:value-of select="wnio:UPL1P"/>)<br/>
<xsl:for-each select="wnio:UPL1P[.='tak']"><xsl:for-each select="//str:Zalaczniki"><xsl:for-each select="str:Zalacznik[@rodzajZalacznika='standardowy1']"><xsl:value-of select="@nazwaPliku"/></xsl:for-each></xsl:for-each></xsl:for-each>
</th>
<th>Rodzaj załącznika</th>
<th>OPL-1P - zawiadomienie o zmianie lub odwołaniu pełnomocnictwa do podpisywania deklaracji
składanej w formie papierowej<br/>
(<xsl:value-of select="wnio:OPL1P"/>)<br/>
<xsl:for-each select="wnio:OPL1P[.='tak']"><xsl:for-each select="//str:Zalaczniki"><xsl:for-each select="str:Zalacznik[@rodzajZalacznika='standardowy2']"><xsl:value-of select="@nazwaPliku"/></xsl:for-each></xsl:for-each></xsl:for-each>
</th>
</tr>
</table>
</xsl:for-each>
<xsl:for-each select="wnio:InformacjaOZalacznikach/wnio:Zalaczniki/wnio:ZNRL1A[.='tak']">
<table>
<tr>
<th colspan="9">
<h4>ZNRL-1/A – ZAŁĄCZNIK DO INFORMACJI O NIERUCHOMOŚCIACH I OBIEKTACH BUDOWLANYCH, GRUNTACH
ROLNYCH I LASACH – DANE O NIERUCHOMOŚCIACH - ZAŁĄCZNIK SKŁADANY W PRZYPADKU POSIADANIA
WIĘKSZEJ LICZY NIERUCHOMOŚCI</h4>
</th>
</tr>
<xsl:for-each select="../wnio:ZNRL1A_TAK">
<tr>
<th>ADRES NIERUCHOMOŚCI
</th>
<th>FORMA WŁADANIA
</th>
<th>NR KSIĘGI WIECZYSTEJ
</th>
<th>IDENTYFIKATOR DZIAŁKI
</th>
<th>IDENTYFIKATOR BUDYNKU
</th>
</tr>
<tr>
<td>
<xsl:value-of select="wnio:Adres">
</xsl:value-of>
</td>
<td>
<xsl:value-of select="wnio:FormaWladania"/>
</td>
<td>
<xsl:value-of select="wnio:NrKsiegi">
</xsl:value-of>
</td>
<td>
<xsl:value-of select="wnio:IdenDzialki">
</xsl:value-of>
</td>
<td>
<xsl:value-of select="wnio:IdenBudynku">
</xsl:value-of>
</td>
</tr>
<tr>
<th>IDENTYFIKATOR LOKALU
</th>
<th>POWIERZCHNIA DZIAŁKI
</th>
<th>POWIERZCHNIA UŻYTKOWA BUDYNKU/LOKALU
</th>
<th>WARTOŚĆ BUDOWLI
</th>
<th rowspan="2"/>
</tr>
<tr>
<td>
<xsl:value-of select="wnio:IdenLokalu">
</xsl:value-of>
</td>
<td>
<xsl:value-of select="wnio:Powierzchnia">
</xsl:value-of>
</td>
<td>
<xsl:value-of select="wnio:Powierzchnia_2">
</xsl:value-of>
</td>
<td>
<xsl:value-of select="wnio:WartoscBudowli">
</xsl:value-of>
</td>
</tr>
<tr>
<th colspan="5"/>
</tr>
</xsl:for-each>
</table>
</xsl:for-each>
<xsl:if test="@rodzaj='2'">
<xsl:for-each select="wnio:InformacjaOZalacznikach/wnio:Zalaczniki/wnio:ZR1B[.='tak']">
<table>
<tr>
<th colspan="2">
<h4>DANE O ZWOLNIENIACH I ULGACH PODATKOWYCH W PODATKU ROLNYM</h4>
</th>
</tr>
<tr>
<th colspan="2">
<h4>DANE DOTYCZĄCE ZWOLNIEŃ PODATKOWYCH WYNIKAJĄCYCH Z USTAWY LUB UCHWAŁY RADY GMINY</h4>
</th>
</tr>
<tr>
<th>Tytuł prawny zwolnienia</th>
<th>Powierzchnia w ha fizycznych
</th>
</tr>
<xsl:for-each select="../wnio:ZR1B_TAK">
<xsl:for-each select="wnio:Pozycja">
<tr>
<th>
<xsl:value-of select="wnio:Tytul"/>
</th>
<td>
<xsl:value-of select="wnio:Powierzchnia">
</xsl:value-of>
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="wnio:Zwolnienia/wnio:Zwolnienie">
<tr>
<th style="width: 25%">
<xsl:value-of select="wnio:Tytul">
</xsl:value-of>
</th>
<td style="width: 25%">
<xsl:value-of select="wnio:Powierzchnia">
</xsl:value-of>
</td>
</tr>
</xsl:for-each>
<tr>
<th colspan="2">
<h4>DANE DOTYCZĄCE ULG PODATKOWYCH WYNIKAJĄCYCH Z USTAWY LUB UCHWAŁY RADY GMINY
</h4>
</th>
</tr>
<tr>
<th>
<xsl:value-of select="wnio:Tytul_1"/>
</th>
<td>
<xsl:value-of select="wnio:Tytul_1_Wybor"/>
</td>
</tr>
<tr>
<th>
<xsl:value-of select="wnio:Tytul_2"/>
</th>
<td>
<xsl:value-of select="wnio:Tytul_2_Wybor"/>
</td>
</tr>
<tr>
<th colspan="2">
<h4>Inne wynikające z ustawy lub z uchwały (należy podać podstawę prawną)</h4>
</th>
</tr>
<xsl:for-each select="wnio:Zwolnienia2/wnio:Zwolnienie">
<tr>
<th style="width: 25%">
<xsl:value-of select="wnio:Tytul">
</xsl:value-of>
</th>
<td style="width: 25%">
<xsl:value-of select="wnio:Powierzchnia">
</xsl:value-of>
</td>
</tr>
</xsl:for-each>
</xsl:for-each>
</table>
</xsl:for-each>
</xsl:if>
<xsl:for-each select="wnio:AdresDoKraju">
<table>
<tr>
<th colspan="6">
<h4>ADRES DO DORĘCZEŃ W KRAJU</h4>
</th>
</tr>
<tr>
<th colspan="6">
<xsl:value-of select="wnio:AdresWybor"/>
</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>
</table>
</xsl:for-each>
<h2>STOPKA</h2>
<table>
<tr>
<th colspan="2">
<h4>Wyrażam zgodę na kontakt: </h4>
</th>
</tr>
<xsl:for-each select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/wnio:Podmiot/wnio:Kontakt">
<tr>
<td style="width:40%">
<xsl:if test="@rodzaj='email'">elektroniczny (e-mail)</xsl:if>
<xsl:if test="@rodzaj='telefoniczny'">telefoniczny</xsl:if>
</td>
<td style="width:40%">
<xsl:value-of select="wnio:Telefoniczny[../@rodzaj='telefoniczny']"/>
<xsl:value-of select="wnio:Email[../@rodzaj='email']"/>
</td>
</tr>
</xsl:for-each>
</table>
<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</th>
<td>
<xsl:value-of select="wnio:DataWypelnienia"/>
</td>
</tr>
</table>
<xsl:for-each select="wnio:Pouczenie">
<table>
<tr>
<th>
<xsl:value-of select="wnio:Tekst"/>
<br/>
<br/>
<xsl:if test="../@rodzaj='2'">
<b>Podatek rolny: </b>
<xsl:value-of select="wnio:TekstRolny"/>
</xsl:if>
</th>
</tr>
</table>
</xsl:for-each>
</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>