7106
ID | 7106 |
Data | 2019-02-18 |
Symbol | 2019/02/18/7106 |
Instytucja | Urząd Miasta i Gminy w Skokach |
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:wnio="http://crd.gov.pl/wzor/2019/02/18/7106/" 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%
}
.WideCell {
width: 100px !important;
}
.Center {
text-align: center !important;
}
</style>
</head>
<body>
<div style="max-width: 900px; margin: 0 auto;">
<xsl:for-each select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc">
<div style="text-align: center;">
<xsl:value-of select="wnio:Tytul2"/>
</div>
<div>
<xsl:value-of select="wnio:KodFormularza"/>
</div>
<h3>
<xsl:value-of select="wnio:Podstawy/wnio:Podstawa1"/>
</h3>
<h1>
<xsl:if test="./@rodzaj='3'">
Informacja w sprawie podatku leśnego
</xsl:if>
</h1>
<h2>NAGŁÓWEK</h2>
<table>
<xsl:for-each select="wnio:Naglowek">
<tr>
<th>Podstawa prawna:</th>
<th>
<xsl:if test="../@rodzaj='3'">
<xsl:value-of select="wnio:Podstawy/wnio:Podstawa3"/>
</xsl:if>
</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:Miejsce1"/>
<br/>
<b>
<xsl:value-of select="wnio:Miejsce2"/>
</b>
</th>
</tr>
</xsl:for-each>
</table>
<xsl:for-each select="wnio:Okolicznosci">
<table>
<tr>
<th colspan="2">
<h4>
<xsl:value-of select="wnio:Tytul1"/>
</h4>
</th>
</tr>
<tr>
<th colspan="2">
<b>
<xsl:value-of select="wnio:Tytul"/>
</b>
</th>
</tr>
<tr>
<th>
<xsl:value-of select="wnio:Podtytul"/>
</th>
<th>
<xsl:if test="wnio:Wartosc = '1'">informacja składana po raz pierwszy</xsl:if>
<xsl:if test="wnio:Wartosc = '2'">korekta uprzednio złożonej informacji</xsl:if>
</th>
</tr>
<xsl:for-each select="wnio:Daty/wnio:Data[position()=/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/wnio:Okolicznosci/wnio:Wartosc]">
<tr>
<th>
<xsl:value-of select="wnio:Tytul"/>
</th>
<td>
<xsl:value-of select="wnio:Wartosc">
</xsl:value-of>
</td>
</tr>
</xsl:for-each>
</table>
</xsl:for-each>
<xsl:for-each select="wnio:Podmioty">
<table>
<tr>
<th colspan="6">
<h4>
<xsl:value-of select="wnio:Tytul"/>
</h4>
</th>
</tr>
<xsl:for-each select="wnio:Podmiot1">
<tr>
<th colspan="6">
<b>
<xsl:value-of select="wnio:Tytul"/>
</b>
</th>
</tr>
<tr>
<th>2. Nazwisko</th>
<td>
<xsl:value-of select="oso:Nazwisko"/>
</td>
<th>3. Imię/imiona</th>
<td colspan="3">
<xsl:value-of select="wnio:Imiona"/>
</td>
</tr>
<tr>
<th>4. Imię ojca i matki</th>
<td>
<xsl:value-of select="wnio:ImieOjcaIMatki"/>
</td>
<th>5. Data urodzenia</th>
<td colspan="3">
<xsl:value-of select="oso:DataUrodzenia"/>
</td>
</tr>
<tr>
<th>6. PESEL</th>
<td>
<xsl:value-of select="oso:PESEL"/>
</td>
<th>6. NIP</th>
<td colspan="3">
<xsl:value-of select="oso:NIP"/>
</td>
</tr>
<tr>
<th>7. REGON</th>
<td colspan="5">
<xsl:value-of select="wnio:REGON"/>
</td>
</tr>
<tr>
<th colspan="6">
<b>Adres zamieszkania</b>
</th>
</tr>
<tr>
<th>8. Kraj</th>
<td>
<xsl:value-of select="adr:Kraj"/>
</td>
<th>9. Województwo</th>
<td>
<xsl:value-of select="adr:Wojewodztwo"/>
</td>
<th>10. Powiat</th>
<td>
<xsl:value-of select="adr:Powiat"/>
</td>
</tr>
<tr>
<th>11. Gmina</th>
<td>
<xsl:value-of select="adr:Gmina"/>
</td>
<th>12. Ulica</th>
<td>
<xsl:value-of select="adr:Ulica"/>
</td>
<th>13. Nr domu</th>
<td>
<xsl:value-of select="adr:Budynek"/>
</td>
</tr>
<tr>
<th>13. Nr lokalu</th>
<td>
<xsl:value-of select="adr:Lokal"/>
</td>
<th>14. Miejscowość</th>
<td>
<xsl:value-of select="adr:Miejscowosc"/>
</td>
<th>15. Kod pocztowy</th>
<td>
<xsl:value-of select="adr:KodPocztowy"/>
</td>
</tr>
<tr>
<th>15. Poczta</th>
<td>
<xsl:value-of select="adr:Poczta"/>
</td>
<th>16. Nr telefonu</th>
<td colspan="3">
<xsl:value-of select="adr:Telefon"/>
</td>
</tr>
<tr>
<th colspan="6">
<b>
17. Adres do korespondencji
(<xsl:value-of select="wnio:AdresKorespondencyjny/@wystepuje"/>)
</b>
</th>
</tr>
<xsl:for-each select="wnio:AdresKorespondencyjny/adr:Adres">
<tr>
<th>Kraj</th>
<td>
<xsl:value-of select="adr:Kraj"/>
</td>
<th>Województwo</th>
<td>
<xsl:value-of select="adr:Wojewodztwo"/>
</td>
<th>Powiat</th>
<td>
<xsl:value-of select="adr:Powiat"/>
</td>
</tr>
<tr>
<th>Gmina</th>
<td>
<xsl:value-of select="adr:Gmina"/>
</td>
<th>Ulica</th>
<td>
<xsl:value-of select="adr:Ulica"/>
</td>
<th>Nr domu</th>
<td>
<xsl:value-of select="adr:Budynek"/>
</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>Nr lokalu</th>
<td>
<xsl:value-of select="adr:Lokal"/>
</td>
</tr>
</xsl:for-each>
</xsl:for-each>
<xsl:for-each select="wnio:Podmiot2">
<tr>
<th colspan="6">
<b>
<xsl:value-of select="wnio:Tytul"/>
</b>
</th>
</tr>
<tr>
<th>18. Nazwisko</th>
<td>
<xsl:value-of select="oso:Nazwisko"/>
</td>
<th>19. Imię/imiona</th>
<td colspan="3">
<xsl:value-of select="wnio:Imiona"/>
</td>
</tr>
<tr>
<th>20. Imię ojca i matki</th>
<td>
<xsl:value-of select="wnio:ImieOjcaIMatki"/>
</td>
<th>21. Data urodzenia</th>
<td colspan="3">
<xsl:value-of select="oso:DataUrodzenia"/>
</td>
</tr>
<tr>
<th>22. PESEL</th>
<td>
<xsl:value-of select="oso:PESEL"/>
</td>
<th>22. NIP</th>
<td colspan="3">
<xsl:value-of select="oso:NIP"/>
</td>
</tr>
<tr>
<th>23. REGON</th>
<td colspan="5">
<xsl:value-of select="wnio:REGON"/>
</td>
</tr>
<tr>
<th colspan="6">
<b>Adres zamieszkania</b>
</th>
</tr>
<tr>
<th>24. Kraj</th>
<td>
<xsl:value-of select="adr:Kraj"/>
</td>
<th>25. Województwo</th>
<td>
<xsl:value-of select="adr:Wojewodztwo"/>
</td>
<th>26. Powiat</th>
<td>
<xsl:value-of select="adr:Powiat"/>
</td>
</tr>
<tr>
<th>27. Gmina</th>
<td>
<xsl:value-of select="adr:Gmina"/>
</td>
<th>28. Ulica</th>
<td>
<xsl:value-of select="adr:Ulica"/>
</td>
<th>29. Nr domu</th>
<td>
<xsl:value-of select="adr:Budynek"/>
</td>
</tr>
<tr>
<th>29. Nr lokalu</th>
<td>
<xsl:value-of select="adr:Lokal"/>
</td>
<th>30. Miejscowość</th>
<td>
<xsl:value-of select="adr:Miejscowosc"/>
</td>
<th>31. Kod pocztowy</th>
<td>
<xsl:value-of select="adr:KodPocztowy"/>
</td>
</tr>
<tr>
<th>31. Poczta</th>
<td>
<xsl:value-of select="adr:Poczta"/>
</td>
<th>32. Nr telefonu</th>
<td colspan="3">
<xsl:value-of select="adr:Telefon"/>
</td>
</tr>
<tr>
<th colspan="6">
<b>
33. Adres do korespondencji
(<xsl:value-of select="wnio:AdresKorespondencyjny/@wystepuje"/>)
</b>
</th>
</tr>
<xsl:for-each select="wnio:AdresKorespondencyjny/adr:Adres">
<tr>
<th>Kraj</th>
<td>
<xsl:value-of select="adr:Kraj"/>
</td>
<th>Województwo</th>
<td>
<xsl:value-of select="adr:Wojewodztwo"/>
</td>
<th>Powiat</th>
<td>
<xsl:value-of select="adr:Powiat"/>
</td>
</tr>
<tr>
<th>Gmina</th>
<td>
<xsl:value-of select="adr:Gmina"/>
</td>
<th>Ulica</th>
<td>
<xsl:value-of select="adr:Ulica"/>
</td>
<th>Nr domu</th>
<td>
<xsl:value-of select="adr:Budynek"/>
</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>Nr lokalu</th>
<td>
<xsl:value-of select="adr:Lokal"/>
</td>
</tr>
</xsl:for-each>
</xsl:for-each>
</table>
</xsl:for-each>
<br/>
<h2>TREŚĆ FORMULARZA</h2>
<xsl:for-each select="wnio:Formularz">
<xsl:if test="../@rodzaj='3'">
<xsl:for-each select="wnio:Lesny">
<table>
<tr>
<th>
<h4>
<xsl:value-of select="wnio:Tytul"/>
</h4>
</th>
</tr>
</table>
<xsl:for-each select="wnio:Dane">
<table>
<tr>
<th colspan="{wnio:TabelaMaxKolumn}">
<h4>
<xsl:value-of select="wnio:Tytul"/>
</h4>
</th>
</tr>
<xsl:for-each select="wnio:Wiersz">
<tr>
<xsl:for-each select="wnio:Pole">
<th>
<xsl:value-of select="wnio:Tytul"/>
</th>
<td colspan="{number(../../wnio:TabelaMaxKolumn)-(count(../wnio:Pole)*2)}">
<xsl:value-of select="wnio:Wartosc"/>
</td>
</xsl:for-each>
</tr>
</xsl:for-each>
<xsl:for-each select="wnio:FormaWladania">
<tr>
<th>
<xsl:value-of select="wnio:Tytul"/>
</th>
<td colspan="{number(../wnio:TabelaMaxKolumn)-1}">
<xsl:if test="wnio:Wartosc = '1'">właściciel</xsl:if>
<xsl:if test="wnio:Wartosc = '2'">użytkownik wieczysty</xsl:if>
<xsl:if test="wnio:Wartosc = '3'">posiadacz samoistny</xsl:if>
<xsl:if test="wnio:Wartosc = '4'">posiadacz zależny</xsl:if>
<xsl:if test="wnio:Wartosc = 'inna'">inne formy władania</xsl:if>
</td>
</tr>
<xsl:if test="wnio:Wartosc='inna'">
<tr>
<th>Inna forma władania</th>
<td colspan="{number(../wnio:TabelaMaxKolumn)-1}">
<xsl:value-of select="wnio:Inna"/>
</td>
</tr>
</xsl:if>
</xsl:for-each>
</table>
</xsl:for-each>
<xsl:for-each select="wnio:PowierzchniaNiepodlegajacych">
<table>
<tr>
<th colspan="2">
<h4>
<xsl:value-of select="wnio:Tytul"/>
</h4>
</th>
</tr>
<tr>
<xsl:for-each select="wnio:Naglowki/wnio:Naglowek">
<th>
<xsl:call-template name="delbr">
<xsl:with-param name="string" select="."/>
</xsl:call-template>
</th>
</xsl:for-each>
</tr>
<xsl:for-each select="wnio:Wiersz">
<tr>
<th>
<xsl:value-of select="wnio:Tytul"/>
</th>
<td>
<xsl:value-of select="wnio:NumerPola"/>
<div style="text-align: center;"><xsl:value-of select="wnio:Powierzchnia"/> ha
</div>
</td>
</tr>
</xsl:for-each>
</table>
</xsl:for-each>
<xsl:for-each select="wnio:PowierzchniaZwolnionych">
<table>
<tr>
<th colspan="2">
<h4>
<xsl:value-of select="wnio:Tytul"/>
</h4>
</th>
</tr>
<xsl:for-each select="wnio:Naglowki">
<tr>
<xsl:for-each select="wnio:Naglowek">
<th>
<xsl:call-template name="delbr">
<xsl:with-param name="string" select="."/>
</xsl:call-template>
</th>
</xsl:for-each>
</tr>
</xsl:for-each>
<xsl:for-each select="wnio:Zwolnienie">
<tr>
<th>
<xsl:if test="@typ='domyslne'">
<xsl:call-template name="delbr">
<xsl:with-param name="string" select="wnio:Tytul"/>
</xsl:call-template>
</xsl:if>
<xsl:if test="@typ='inne'">
10.
<xsl:value-of select="wnio:Tytul"/>
</xsl:if>
</th>
<td>
<xsl:value-of select="wnio:NumerPola"/>
<div style="text-align: center;"><xsl:value-of select="wnio:Powierzchnia"/> ha
</div>
</td>
</tr>
</xsl:for-each>
</table>
</xsl:for-each>
</xsl:for-each>
</xsl:if>
</xsl:for-each>
<br/>
<h2>STOPKA</h2>
<xsl:for-each select="wnio:Podpis">
<table>
<tr>
<th colspan="2">
<h4>
<xsl:value-of select="wnio:Tytul"/>
</h4>
</th>
</tr>
<tr>
<th>1. Imię</th>
<td>
<xsl:value-of select="oso:Imie"/>
</td>
</tr>
<tr>
<th>1. Nazwisko</th>
<td>
<xsl:value-of select="oso:Nazwisko"/>
</td>
</tr>
<tr>
<th>2. Data wypełnienia</th>
<td>
<xsl:value-of select="wnio:DataWypelnienia"/>
</td>
</tr>
<tr>
<th colspan="2">
<h3>
<xsl:value-of select="../wnio:KodFormularza"/>
</h3>
</th>
</tr>
</table>
</xsl:for-each>
</xsl:for-each>
<xsl:call-template name="Podpisy_elektroniczne"/>
</div>
</body>
</html>
</xsl:template>
<xsl:template name="delbr">
<xsl:param name="string"/>
<xsl:param name="from" select="'<br/>'"/>
<xsl:param name="to">
<br/>
</xsl:param>
<xsl:choose>
<xsl:when test="contains($string, $from)">
<xsl:value-of select="substring-before($string, $from)"/>
<xsl:copy-of select="$to"/>
<xsl:call-template name="delbr">
<xsl:with-param name="string" select="substring-after($string, $from)"/>
<xsl:with-param name="from" select="$from"/>
<xsl:with-param name="to" select="$to"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$string"/>
</xsl:otherwise>
</xsl:choose>
</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>