6402

ID6402
Data2018-12-13
Symbol2018/12/13/6402
InstytucjaUrząd Miejski w Bielsku-Białej
NazwaDeklaracja na podatek leśny DL-1
Czy Aktualny1

Ustawy (1)

  • URI://Dziennik_Ustaw/2017/1821/6/10/1
  • Ustawa z dnia 30 października 2002 r. o podatku leśnym

    Pliki

    Styl

    <?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" xmlns:adr="http://crd.gov.pl/xml/schematy/adres/2009/11/09/" xmlns:dok="http://crd.gov.pl/wzor/2018/12/13/6402/" 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:typy="http://crd.gov.pl/xml/schematy/typy/2009/11/16/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="1.0">
    	<xsl:output encoding="UTF-8" indent="yes" media-type="text/html" method="xml" version="1.0"/>
    	<xsl:template match="/dok:Dokument">
    		<html xml:lang="pl">
    			<head>
    				<meta content="text/html; charset=UTF-8" http-equiv="content-type"/>
    				<title>
    					Deklaracja na podatek leśny DL-1
    					<xsl:text> (</xsl:text>
    					F.PO.DEK.LES.P003
    					<xsl:text>)</xsl:text>
    				</title>
    				<style type="text/css">
    					<xsl:text>.fform { font-family: sans-serif; font-size: 10pt; color: black; } </xsl:text>
    					<xsl:text>.fform * { font-family: inherit; font-size: inherit; color: inherit; } </xsl:text>
    					<xsl:text>.fform p { margin: 0 0 0.2em 0; } </xsl:text>
    					<xsl:text>.fform p.title { text-align: center; font-size: 1.2em; font-weight: bold; margin-top: 1em; margin-bottom: 1em; } </xsl:text>
    					<xsl:text>.fform p.title .symbol { color: Gray; } </xsl:text>
    					<xsl:text>.fform div.trescDok { margin-top: 1em; margin-bottom: 1em; border: solid 1px Gray; background-color: WhiteSmoke; } </xsl:text>
    					<xsl:text>.fform div.trescDok table td { padding: 3px 0px 4px 15px; } </xsl:text>
    					<xsl:text>.fform div.trescDok table table td.sublevel, .fform div.trescDok table table table { background-color: WhiteSmoke; } </xsl:text>
    					<xsl:text>.fform div.daneDok { margin-top: 1em; margin-bottom: 1em; border: solid 1px #7099c5; background-color: #f0f0ff; } </xsl:text>
    					<xsl:text>.fform div.daneDok table td { padding: 3px 0px 4px 15px; } </xsl:text>
    					<xsl:text>.fform div.daneDok table table td.sublevel, .fform div.daneDok table table table { background-color: #f0f0ff; } </xsl:text>
    					<xsl:text>.fform div.sigInfo { margin-top: 1em; margin-bottom: 1em; border: solid 1px #7099c5; background-color: #f0f0ff; } </xsl:text>
    					<xsl:text>.fform div.sigInfo table td { padding: 3px 0px 4px 15px; } </xsl:text>
    					<xsl:text>.fform td.label { width: 20%; color: Gray; } </xsl:text>
    					<xsl:text>.fform td.value { font-weight: bold; width: 80%; } </xsl:text>
    					<xsl:text>.fform td.value2 { width: 80%; } </xsl:text>
    					<xsl:text>.fform table { width: 100%; } </xsl:text>
    					<xsl:text>.fform table td.sublevel, .fform table table { background-color: White; } </xsl:text>
    					<xsl:text>.fform table table table td.sublevel, .fform table table table table { background-color: White; } </xsl:text>
    				</style>
    			</head>
    			<body class="fform">
    				<div class="trescDok">
    					<p class="title">
    						Deklaracja na podatek leśny DL-1
    					</p>
    					<table>
    						<xsl:apply-templates select="dok:TrescDokumentu/*"/>
    					</table>
    				</div>
    				<div class="daneDok">
    					<p class="title">Metryka dokumentu</p>
    					<table>
    						<xsl:apply-templates select="dok:DaneDokumentu"/>
    					</table>
    				</div>
    				<div class="sigInfo">
    					<p class="title">Podpisy elektroniczne</p>
    					<xsl:choose>
    						<xsl:when test="ds:Signature">
    							<p>
    								<xsl:text>Dokument został podpisany</xsl:text>
    								<xsl:text> - aby go zweryfikować należy użyć oprogramowania do weryfikacji podpisu.</xsl:text>
    							</p>
    							<xsl:choose>
    								<xsl:when test="count(//dok:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']) &gt; 1">
    									<p>Daty złożenia podpisu:</p>
    								</xsl:when>
    								<xsl:when test="count(//dok:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']) = 1">
    									<p>Data złożenia podpisu:</p>
    								</xsl:when>
    								<xsl:when test="0 &gt;= count(//dok:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime'])">
    								</xsl:when>
    							</xsl:choose>
    							<table>
    								<xsl:for-each select="ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']">
    									<tr>
    										<td>Data złożenia podpisu:</td>
    										<td>
    											<xsl:value-of select="."/>
    										</td>
    									</tr>
    								</xsl:for-each>
    							</table>
    						</xsl:when>
    						<xsl:otherwise>
    							<p style="padding: 5px;">Dokument nie zawiera podpisu elektronicznego.</p>
    						</xsl:otherwise>
    					</xsl:choose>
    				</div>
    			</body>
    		</html>
    	</xsl:template>
    	<xsl:template match="dok:DaneDokumentu">
    		<xsl:if test="str:Naglowek/str:NazwaDokumentu">
    			<tr>
    				<td class="label">Nazwa dokumentu</td>
    				<td class="value">
    					<xsl:value-of select="str:Naglowek/str:NazwaDokumentu"/>
    				</td>
    			</tr>
    		</xsl:if>
    		<xsl:apply-templates select="meta:Identyfikator"/>
    		<xsl:for-each select="str:Adresaci">
    			<tr>
    				<td class="sublevel" colspan="2">
    					Adresat
    					<br/>
    					<table class="level2">
    						<xsl:apply-templates select="meta:Podmiot"/>
    					</table>
    				</td>
    			</tr>
    		</xsl:for-each>
    		<xsl:for-each select="str:Nadawcy">
    			<tr>
    				<td class="sublevel" colspan="2">
    					Nadawca
    					<br/>
    					<table>
    						<xsl:apply-templates select="meta:Podmiot"/>
    					</table>
    				</td>
    			</tr>
    		</xsl:for-each>
    	</xsl:template>
    
    	<!-- Adres -->
    	<xsl:template match="adr:Adres">
    		<xsl:apply-templates select="adr:KodPocztowy"/>
    		<xsl:apply-templates select="adr:Poczta"/>
    		<xsl:apply-templates select="adr:Miejscowosc"/>
    		<xsl:apply-templates select="adr:Ulica"/>
    		<xsl:apply-templates select="adr:Budynek"/>
    		<xsl:apply-templates select="adr:Lokal"/>
    		<xsl:apply-templates select="adr:SkrytkaPocztowa"/>
    		<xsl:apply-templates select="adr:Kraj"/>
    		<xsl:apply-templates select="adr:TERC"/>
    		<xsl:apply-templates select="adr:SIMC"/>
    		<xsl:apply-templates select="adr:ULIC"/>
    		<xsl:apply-templates select="adr:Wojewodztwo"/>
    		<xsl:apply-templates select="adr:Powiat"/>
    		<xsl:apply-templates select="adr:Gmina"/>
    		<xsl:apply-templates select="adr:Uwagi"/>
    	</xsl:template>
    	<xsl:template match="adr:KodPocztowy">
    		<tr>
    			<td class="label">Kod pocztowy</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:Poczta">
    		<tr>
    			<td class="label">Poczta</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:Miejscowosc">
    		<tr>
    			<td class="label">Miejscowość</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:Ulica">
    		<tr>
    			<td class="label">Ulica</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:Budynek">
    		<tr>
    			<td class="label">Nr budynku</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:Lokal">
    		<tr>
    			<td class="label">Nr lokalu</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:SkrytkaPocztowa">
    		<tr>
    			<td class="label">Nr skrytki pocztowej</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:Kraj">
    		<tr>
    			<td class="label">Kod kraju</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:TERC">
    		<tr>
    			<td class="label">Kod TERC</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:SIMC">
    		<tr>
    			<td class="label">Kod SIMC</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:ULIC">
    		<tr>
    			<td class="label">Kod ULIC</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:Wojewodztwo">
    		<tr>
    			<td class="label">Województwo</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:Powiat">
    		<tr>
    			<td class="label">Powiat</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:Gmina">
    		<tr>
    			<td class="label">Gmina</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:Uwagi">
    		<tr>
    			<td class="label">Uwagi dotyczące adresu</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:Kontakt">
    		<xsl:apply-templates select="adr:Telefon|adr:Faks|adr:Email|adr:URIKontakt|adr:InnyKontakt"/>
    	</xsl:template>
    	<xsl:template match="adr:Telefon">
    		<tr>
    			<td class="label">Telefon</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:Faks">
    		<tr>
    			<td class="label">Faks</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:Email">
    		<tr>
    			<td class="label">E-mail</td>
    			<td class="value">
    				<a href="mailto:{text()}">
    					<xsl:value-of select="text()"/>
    				</a>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:URIKontakt">
    		<tr>
    			<td class="label">Kontakt URI</td>
    			<td class="value">
    				<a href="{text()}">
    					<xsl:value-of select="text()"/>
    				</a>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:InnyKontakt">
    		<tr>
    			<td class="label">Inny kontakt</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    
    	<!-- Osoba -->
    	<xsl:template match="oso:Osoba">
    		<xsl:apply-templates select="oso:IdOsoby"/>
    		<xsl:apply-templates select="oso:Imie"/>
    		<xsl:apply-templates select="oso:ImieDrugie"/>
    		<xsl:if test="oso:Nazwisko">
    			<tr>
    				<td class="label">Nazwisko</td>
    				<td class="value">
    					<xsl:if test="oso:Nazwisko[@rodzajCzlonu='pierwszy']">
    						<xsl:value-of select="oso:Nazwisko[@rodzajCzlonu='pierwszy']"/>
    						<xsl:text> </xsl:text>
    					</xsl:if>
    					<xsl:if test="oso:Nazwisko[@rodzajCzlonu='drugi']">
    						<xsl:value-of select="oso:Nazwisko[@rodzajCzlonu='pierwszy']"/>
    						<xsl:text> </xsl:text>
    					</xsl:if>
    					<xsl:if test="oso:Nazwisko[@rodzajCzlonu='trzeci']">
    						<xsl:value-of select="oso:Nazwisko[@rodzajCzlonu='pierwszy']"/>
    						<xsl:text> </xsl:text>
    					</xsl:if>
    					<xsl:if test="oso:Nazwisko[not(@rodzajCzlonu)]">
    						<xsl:value-of select="oso:Nazwisko[not(@rodzajCzlonu)]"/>
    						<xsl:text> </xsl:text>
    					</xsl:if>
    				</td>
    			</tr>
    		</xsl:if>
    		<xsl:apply-templates select="adr:Adres"/>
    		<xsl:apply-templates select="adr:Kontakt"/>
    	</xsl:template>
    	<xsl:template match="oso:IdOsoby">
    		<xsl:apply-templates select="oso:PESEL"/>
    		<xsl:apply-templates select="oso:NIP"/>
    		<xsl:apply-templates select="oso:InnyIdentyfikator"/>
    	</xsl:template>
    	<xsl:template match="oso:PESEL">
    		<tr>
    			<td class="label">Numer PESEL</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:NIP">
    		<tr>
    			<td class="label">Numer NIP</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:InnyIdentyfikator">
    		<tr>
    			<td class="label">
    				Identyfikator
    				<xsl:value-of select="oso:TypIdentyfikatora"/>
    			</td>
    			<td class="value">
    				<xsl:value-of select="oso:WartoscIdentyfikatora"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:Imie">
    		<tr>
    			<td class="label">Imię</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:ImieDrugie">
    		<tr>
    			<td class="label">Imię drugie</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:ImieOjca">
    		<tr>
    			<td class="label">Imię ojca</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:ImieMatki">
    		<tr>
    			<td class="label">Imię matki</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:Nazwisko[not(@rodzajCzlonu)]">
    		<tr>
    			<td class="label">Nazwisko</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:Nazwisko[@rodzajCzlonu='pierwszy']">
    		<tr>
    			<td class="label">Nazwisko - człon pierwszy</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:Nazwisko[@rodzajCzlonu='drugi']">
    		<tr>
    			<td class="label">Nazwisko - człon drugi</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:Nazwisko[@rodzajCzlonu='trzeci']">
    		<tr>
    			<td class="label">Nazwisko - człon trzeci</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:NazwiskoRodowe">
    		<tr>
    			<td class="label">Nazwisko rodowe</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:NazwiskoRodoweOjca">
    		<tr>
    			<td class="label">Nazwisko rodowe ojca</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:NazwiskoRodoweMatki">
    		<tr>
    			<td class="label">Nazwisko rodowe matki</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:NazwiskoPoprzednie">
    		<tr>
    			<td class="label">Nazwisko poprzednie</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:MiejsceUrodzenia">
    		<tr>
    			<td class="label">Miejsce urodzenia</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:DataUrodzenia">
    		<tr>
    			<td class="label">Data urodzenia</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:Plec">
    		<tr>
    			<td class="label">Płeć</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:RodzajDowoduTozsamosci">
    		<tr>
    			<td class="label">Rodzaj dowodu tożsamości</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:NrDowoduTozsamosci">
    		<tr>
    			<td class="label">Nr dowodu tożsamości</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:DataWydaniaDowoduTozsamosci">
    		<tr>
    			<td class="label">Data wydania dowodu tożsamości</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:Obywatelstwo">
    		<tr>
    			<td class="label">Obywatelstwo</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:Narodowosc">
    		<tr>
    			<td class="label">Narodowość</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:StopienPokrewienstwa">
    		<tr>
    			<td class="label">Stopień pokrewieństwa</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:StanCywilny">
    		<tr>
    			<td class="label">Stan cywilny</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:WyksztalceniePoziom">
    		<tr>
    			<td class="label">Poziom wykształcenia</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:WyksztalcenieOpis">
    		<tr>
    			<td class="label">Opis wykształcenia</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:Zawod">
    		<tr>
    			<td class="label">Zawód</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    
    	<!-- Instytucja -->
    	<xsl:template match="inst:Instytucja">
    		<xsl:apply-templates select="inst:IdInstytucji/inst:KRS"/>
    		<xsl:apply-templates select="inst:IdInstytucji/inst:NIP"/>
    		<xsl:apply-templates select="inst:IdInstytucji/inst:REGON"/>
    		<xsl:apply-templates select="inst:IdInstytucji/inst:InnyIdentyfikator"/>
    		<xsl:apply-templates select="inst:NazwaInstytucji"/>
    		<xsl:if test="adr:Adres">
    			<tr>
    				<td class="sublevel" colspan="2">
    					Adres
    					<br/>
    					<table>
    						<xsl:apply-templates select="adr:Adres"/>
    					</table>
    				</td>
    			</tr>
    		</xsl:if>
    		<xsl:if test="adr:Kontakt">
    			<tr>
    				<td class="sublevel" colspan="2">
    					Kontakt
    					<br/>
    					<table>
    						<xsl:apply-templates select="adr:Kontakt"/>
    					</table>
    				</td>
    			</tr>
    		</xsl:if>
    		<xsl:if test="inst:Jednostka">
    			<tr>
    				<td class="sublevel" colspan="2">
    					Jednostka organizacyjna
    					<br/>
    					<table>
    						<xsl:apply-templates select="inst:Jednostka"/>
    					</table>
    				</td>
    			</tr>
    		</xsl:if>
    		<xsl:if test="inst:Pracownik">
    			<tr>
    				<td class="sublevel" colspan="2">
    					Pracownik
    					<br/>
    					<table>
    						<xsl:apply-templates select="inst:Pracownik"/>
    					</table>
    				</td>
    			</tr>
    		</xsl:if>
    	</xsl:template>
    	<xsl:template match="inst:Jednostka">
    		<xsl:apply-templates select="inst:NazwaInstytucji"/>
    		<xsl:if test="adr:Adres">
    			<tr>
    				<td class="sublevel" colspan="2">
    					Adres
    					<br/>
    					<table>
    						<xsl:apply-templates select="adr:Adres"/>
    					</table>
    				</td>
    			</tr>
    		</xsl:if>
    		<xsl:if test="adr:Kontakt">
    			<tr>
    				<td class="sublevel" colspan="2">
    					Kontakt
    					<br/>
    					<table>
    						<xsl:apply-templates select="adr:Kontakt"/>
    					</table>
    				</td>
    			</tr>
    		</xsl:if>
    		<xsl:if test="inst:Jednostka">
    			<tr>
    				<td class="sublevel" colspan="2">
    					Jednostka organizacyjna
    					<br/>
    					<table>
    						<xsl:apply-templates select="inst:Jednostka"/>
    					</table>
    				</td>
    			</tr>
    		</xsl:if>
    		<xsl:apply-templates select="inst:Poziom"/>
    		<xsl:if test="inst:Pracownik">
    			<tr>
    				<td class="sublevel" colspan="2">
    					Pracownik
    					<br/>
    					<table>
    						<xsl:apply-templates select="inst:Pracownik"/>
    					</table>
    				</td>
    			</tr>
    		</xsl:if>
    	</xsl:template>
    	<xsl:template match="inst:KRS">
    		<tr>
    			<td class="label">Numer KRS</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="inst:NIP">
    		<tr>
    			<td class="label">Numer NIP</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="inst:REGON">
    		<tr>
    			<td class="label">Numer REGON</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="inst:InnyIdentyfikator">
    		<tr>
    			<td class="label">
    				Identyfikator
    				<xsl:value-of select="inst:TypIdentyfikatora"/>
    			</td>
    			<td class="value">
    				<xsl:value-of select="inst:WartoscIdentyfikatora"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="inst:NazwaInstytucji">
    		<tr>
    			<td class="label">Nazwa</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="inst:Poziom">
    		<tr>
    			<td class="label">Poziom w strukturze organizacyjnej</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="inst:Pracownik">
    		<xsl:apply-templates select="oso:IdOsoby"/>
    		<xsl:apply-templates select="oso:Imie"/>
    		<xsl:apply-templates select="oso:ImieDrugie"/>
    		<xsl:if test="oso:Nazwisko">
    			<tr>
    				<td class="label">Nazwisko</td>
    				<td class="value">
    					<xsl:if test="oso:Nazwisko[@rodzajCzlonu='pierwszy']">
    						<xsl:value-of select="oso:Nazwisko[@rodzajCzlonu='pierwszy']"/>
    						<xsl:text> </xsl:text>
    					</xsl:if>
    					<xsl:if test="oso:Nazwisko[@rodzajCzlonu='drugi']">
    						<xsl:value-of select="oso:Nazwisko[@rodzajCzlonu='pierwszy']"/>
    						<xsl:text> </xsl:text>
    					</xsl:if>
    					<xsl:if test="oso:Nazwisko[@rodzajCzlonu='trzeci']">
    						<xsl:value-of select="oso:Nazwisko[@rodzajCzlonu='pierwszy']"/>
    						<xsl:text> </xsl:text>
    					</xsl:if>
    					<xsl:if test="oso:Nazwisko[not(@rodzajCzlonu)]">
    						<xsl:value-of select="oso:Nazwisko[not(@rodzajCzlonu)]"/>
    						<xsl:text> </xsl:text>
    					</xsl:if>
    				</td>
    			</tr>
    		</xsl:if>
    		<xsl:apply-templates select="adr:Kontakt"/>
    		<xsl:apply-templates select="inst:Funkcja"/>
    	</xsl:template>
    	<xsl:template match="inst:Funkcja">
    		<tr>
    			<td class="label">Funkcja</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    
    	<!-- Meta -->
    	<xsl:template match="meta:Data">
    		<tr>
    			<td class="label">
    				<xsl:choose>
    					<xsl:when test="@typDaty='dostepnyPo'">
    						Data udostępnienia
    					</xsl:when>
    					<xsl:when test="@typDaty='opublikowany'">
    						Data opublikowania
    					</xsl:when>
    					<xsl:when test="@typDaty='stworzony'">
    						Data stworzenia
    					</xsl:when>
    					<xsl:when test="@typDaty='uzyskany'">
    						Data uzyskania
    					</xsl:when>
    					<xsl:when test="@typDaty='otrzymany'">
    						Data otrzymania
    					</xsl:when>
    					<xsl:when test="@typDaty='wyslany'">
    						Data wysłania
    					</xsl:when>
    					<xsl:when test="@typDaty='zaakceptowany'">
    						Data zaakceptowania
    					</xsl:when>
    					<xsl:when test="@typDaty='zatwierdzony'">
    						Data zatwierdzenia
    					</xsl:when>
    					<xsl:when test="@typDaty='zmodyfikowany'">
    						Data zmodyfikowania
    					</xsl:when>
    					<xsl:when test="@typDaty='datySkrajne'">
    						Daty skrajne
    					</xsl:when>
    					<xsl:when test="@typDaty='zdarzenia'">
    						Data zdarzenie
    					</xsl:when>
    					<xsl:when test="@typDaty='waznosci'">
    						Data ważności
    					</xsl:when>
    					<xsl:when test="@typDaty='odrzucony'">
    						Data odrzucenia
    					</xsl:when>
    					<xsl:when test="@typDaty='inna'">
    						Inna data
    					</xsl:when>
    				</xsl:choose>
    			</td>
    			<td class="value">
    				<xsl:if test="meta:Czas">
    					<xsl:value-of select="meta:Czas"/>
    					<xsl:text> </xsl:text>
    				</xsl:if>
    				<xsl:if test="meta:Od">
    					<xsl:text>od </xsl:text>
    					<xsl:value-of select="meta:Od"/>
    					<xsl:text> </xsl:text>
    				</xsl:if>
    				<xsl:if test="meta:Do">
    					<xsl:text>do </xsl:text>
    					<xsl:value-of select="meta:Do"/>
    					<xsl:text> </xsl:text>
    				</xsl:if>
    				<xsl:if test="@typDatyUzupelnienie">
    					<br/>
    					<xsl:value-of select="@typDatyUzupelnienie"/>
    				</xsl:if>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="meta:Od">
    		<tr>
    			<td class="label">Od</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="meta:Do">
    		<tr>
    			<td class="label">Do</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="meta:Opis">
    		<tr>
    			<td class="label">Opis</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="meta:Identyfikator">
    		<tr>
    			<td class="label">
    				Identyfikator
    				<xsl:value-of select="@typIdentyfikatora"/>
    			</td>
    			<td class="value">
    				<xsl:value-of select="meta:Wartosc"/>
    				<xsl:if test="meta:Podmiot/inst:Instytucja/inst:NazwaInstytucji">
    					<br/>
    					Rejestr prowadzony przez
    					<xsl:value-of select="meta:Podmiot/inst:Instytucja/inst:NazwaInstytucji"/>
    				</xsl:if>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="meta:Podmiot">
    		<xsl:apply-templates select="inst:Instytucja"/>
    		<xsl:apply-templates select="oso:Osoba"/>
    	</xsl:template>
    	<xsl:template match="meta:ZnakSprawy">
    		<tr>
    			<td class="label">Znak sprawy</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    
    	<!-- Struktura -->
    	<xsl:template match="str:Zalaczniki">
    		<xsl:apply-templates select="str:Zalacznik"/>
    	</xsl:template>
    	<xsl:template match="str:Zalacznik">
    		<tr>
    			<td class="label">Załącznik</td>
    			<td class="value2">
    				<xsl:call-template name="str_ZalacznikTypValue"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template name="str_ZalacznikTypValue">
    		<xsl:choose>
    			<xsl:when test="@kodowanie='URI'">
    				<xsl:text>Załącznik zewnętrzny w formacie </xsl:text>
    				<b>
    					<xsl:value-of select="@format"/>
    				</b>
    				<xsl:text> dostępny pod adresem URI: </xsl:text>
    				<b>
    					<xsl:value-of select="str:DaneZalacznika"/>
    				</b>
    			</xsl:when>
    			<xsl:when test="@kodowanie='base64'">
    				<xsl:text>Załącznik w formacie </xsl:text>
    				<b>
    					<xsl:value-of select="@format"/>
    				</b>
    				<xsl:text> zapisany wewnątrz treści dokumentu.</xsl:text>
    			</xsl:when>
    		</xsl:choose>
    		<xsl:if test="@nazwaPliku">
    			<br/>
    			Nazwa pliku:
    			<b>
    				<xsl:value-of select="@nazwaPliku"/>
    			</b>
    		</xsl:if>
    		<xsl:if test="str:OpisZalacznika">
    			<br/>
    			Opis załącznika:
    			<br/>
    			<xsl:value-of select="str:OpisZalacznika"/>
    		</xsl:if>
    	</xsl:template>
    	<xsl:template match="str:OpisZalacznika">
    		<tr>
    			<td class="label">Opis załącznika</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="str:NumerDokumentu">
    		<tr>
    			<td class="label">Numer dokumentu</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    
    	<!-- XSD -->
    	<xsl:template name="xsd_boolean">
    		<xsl:choose>
    			<xsl:when test="text()='true'">
    				<xsl:text>TAK</xsl:text>
    			</xsl:when>
    			<xsl:when test="text()='1'">
    				<xsl:text>TAK</xsl:text>
    			</xsl:when>
    			<xsl:when test="text()='false'">
    				<xsl:text>NIE</xsl:text>
    			</xsl:when>
    			<xsl:when test="text()='0'">
    				<xsl:text>NIE</xsl:text>
    			</xsl:when>
    		</xsl:choose>
    	</xsl:template>
    <xsl:template match="dok:Powierzchnia">
    <tr><td class="label">Powierzchnia w ha</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ZalacznikNr">
    <tr><td class="label">Źródło</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:RokDeklaracji">
    <tr><td class="label">Rok, za który składana jest deklaracja</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DataWypelnienia">
    <tr><td class="label">Data wypełnienia deklaracji</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:PodstawaPrawna">
    <tr><td class="label">Podstawa prawna</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Skladajacy">
    <tr><td class="label">Składający</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Termin">
    <tr><td class="label">Termin składania</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:OrganPodatkowy">
    <tr><td class="label">Organ podatkowy:</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:MiejsceSkladaniaDeklaracji">
    <tr><td class="sublevel" colspan="2">A. Miejsce składania deklaracji<br/>
    <table>
    <xsl:apply-templates select="dok:Do"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:MiejsceSkladaniaDeklaracji/dok:Do">
    <tr><td class="label">Nazwa i adres siedziby
    											organu podatkowego</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObowiazekZlozenia">
    <tr><td class="sublevel" colspan="2">B. Obowiązek złożenia deklaracji<br/>
    <table>
    <xsl:apply-templates select="dok:OkolicznosciPowodujaceZlozenieDeklaracji"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObowiazekZlozenia/dok:OkolicznosciPowodujaceZlozenieDeklaracji">
    <tr><td class="sublevel" colspan="2">Okoliczności powodujące
    											konieczność
    											złożenia
    											deklaracji<br/>
    <table>
    <xsl:apply-templates select="dok:DeklaracjaRoczna"/>
    <xsl:apply-templates select="dok:KorektaDeklaracji"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObowiazekZlozenia/dok:OkolicznosciPowodujaceZlozenieDeklaracji/dok:DeklaracjaRoczna">
    <tr><td class="label">deklaracja
    															roczna</td><td class="value"><xsl:call-template name="xsd_boolean"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObowiazekZlozenia/dok:OkolicznosciPowodujaceZlozenieDeklaracji/dok:KorektaDeklaracji">
    <tr><td class="sublevel" colspan="2">korekta
    															deklaracji
    															rocznej<br/>
    <table>
    <xsl:apply-templates select="dok:Miesiac"/>
    <xsl:apply-templates select="typy:Rok"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObowiazekZlozenia/dok:OkolicznosciPowodujaceZlozenieDeklaracji/dok:KorektaDeklaracji/dok:Miesiac">
    <tr><td class="label">miesiąc
    																		od
    																		którego
    																		obowiązuje
    																		korekta
    																		deklaracji</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:PodmiotZobowiazanyDoZlozeniaDeklaracji">
    <tr><td class="sublevel" colspan="2">C. Podmiot zobowiązany do złożenia deklaracji<br/>
    <table>
    <xsl:apply-templates select="dok:RodzajPodmiotu"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:PodmiotZobowiazanyDoZlozeniaDeklaracji/dok:RodzajPodmiotu">
    <tr><td class="label">C.1. Rodzaj podmiotu</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodatnika">
    <tr><td class="sublevel" colspan="2">D. Dane podatnika<br/>
    <table>
    <xsl:apply-templates select="dok:RodzajPodatnika"/>
    <xsl:apply-templates select="dok:DaneWspolnikow"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodatnika/dok:RodzajPodatnika">
    <tr><td class="sublevel" colspan="2">D.1. Dane identyfikacyjne<br/>
    <table>
    <xsl:apply-templates select="dok:RodzajPodatnika"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodatnika/dok:RodzajPodatnika/dok:RodzajPodatnika">
    <tr><td class="sublevel" colspan="2">Rodzaj podatnika<br/>
    <table>
    <xsl:apply-templates select="dok:OsobaFizyczna"/>
    <xsl:apply-templates select="dok:OsobaPrawna"/>
    <xsl:apply-templates select="dok:JednostkaOrganizacyjna"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodatnika/dok:RodzajPodatnika/dok:RodzajPodatnika/dok:OsobaFizyczna">
    <tr><td class="sublevel" colspan="2">Osoba fizyczna<br/>
    <table>
    <xsl:apply-templates select="oso:Nazwisko"/>
    <xsl:apply-templates select="oso:Imie"/>
    <xsl:apply-templates select="oso:ImieDrugie"/>
    <xsl:apply-templates select="dok:Pesel"/>
    <xsl:apply-templates select="dok:AdresZamieszkania"/>
    <xsl:apply-templates select="dok:AdresDoKorespondencji"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodatnika/dok:RodzajPodatnika/dok:RodzajPodatnika/dok:OsobaFizyczna/dok:Pesel">
    <tr><td class="label">PESEL</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodatnika/dok:RodzajPodatnika/dok:RodzajPodatnika/dok:OsobaFizyczna/dok:AdresZamieszkania">
    <tr><td class="sublevel" colspan="2">D.2 Adres zamieszkania<br/>
    <table>
    <xsl:apply-templates select="adr:KodPocztowy"/>
    <xsl:apply-templates select="adr:Poczta"/>
    <xsl:apply-templates select="adr:Miejscowosc"/>
    <xsl:apply-templates select="adr:Ulica"/>
    <xsl:apply-templates select="adr:Budynek"/>
    <xsl:apply-templates select="adr:Lokal"/>
    <xsl:apply-templates select="adr:SkrytkaPocztowa"/>
    <xsl:apply-templates select="adr:Kraj"/>
    <xsl:apply-templates select="adr:TERC"/>
    <xsl:apply-templates select="adr:SIMC"/>
    <xsl:apply-templates select="adr:ULIC"/>
    <xsl:apply-templates select="adr:Wojewodztwo"/>
    <xsl:apply-templates select="adr:Powiat"/>
    <xsl:apply-templates select="adr:Gmina"/>
    <xsl:apply-templates select="adr:Uwagi"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodatnika/dok:RodzajPodatnika/dok:RodzajPodatnika/dok:OsobaFizyczna/dok:AdresDoKorespondencji">
    <tr><td class="sublevel" colspan="2">D.3. Adres do korespondencji
    																					(wpisać, jeżeli jest inny
    																					niż adres zamieszkania)<br/>
    <table>
    <xsl:apply-templates select="adr:KodPocztowy"/>
    <xsl:apply-templates select="adr:Poczta"/>
    <xsl:apply-templates select="adr:Miejscowosc"/>
    <xsl:apply-templates select="adr:Ulica"/>
    <xsl:apply-templates select="adr:Budynek"/>
    <xsl:apply-templates select="adr:Lokal"/>
    <xsl:apply-templates select="adr:SkrytkaPocztowa"/>
    <xsl:apply-templates select="adr:Kraj"/>
    <xsl:apply-templates select="adr:TERC"/>
    <xsl:apply-templates select="adr:SIMC"/>
    <xsl:apply-templates select="adr:ULIC"/>
    <xsl:apply-templates select="adr:Wojewodztwo"/>
    <xsl:apply-templates select="adr:Powiat"/>
    <xsl:apply-templates select="adr:Gmina"/>
    <xsl:apply-templates select="adr:Uwagi"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodatnika/dok:RodzajPodatnika/dok:RodzajPodatnika/dok:OsobaPrawna">
    <tr><td class="sublevel" colspan="2">Osoba prawna<br/>
    <table>
    <xsl:apply-templates select="dok:NazwaPelna"/>
    <xsl:apply-templates select="dok:NazwaSkrocona"/>
    <xsl:apply-templates select="dok:NumerKrs"/>
    <xsl:apply-templates select="dok:Regon"/>
    <xsl:apply-templates select="dok:Pkd"/>
    <xsl:apply-templates select="dok:NIP"/>
    <xsl:apply-templates select="dok:AdresSiedziby"/>
    <xsl:apply-templates select="dok:AdresDoKorespondencji"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodatnika/dok:RodzajPodatnika/dok:RodzajPodatnika/dok:OsobaPrawna/dok:NazwaPelna">
    <tr><td class="label">Nazwa pełna</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodatnika/dok:RodzajPodatnika/dok:RodzajPodatnika/dok:OsobaPrawna/dok:NazwaSkrocona">
    <tr><td class="label">Nazwa skrócona</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodatnika/dok:RodzajPodatnika/dok:RodzajPodatnika/dok:OsobaPrawna/dok:NumerKrs">
    <tr><td class="label">Nr Krajowego Rejestru Sądowego</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodatnika/dok:RodzajPodatnika/dok:RodzajPodatnika/dok:OsobaPrawna/dok:Regon">
    <tr><td class="label">Identyfikator REGON</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodatnika/dok:RodzajPodatnika/dok:RodzajPodatnika/dok:OsobaPrawna/dok:Pkd">
    <tr><td class="label">PKD</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodatnika/dok:RodzajPodatnika/dok:RodzajPodatnika/dok:OsobaPrawna/dok:NIP">
    <tr><td class="label">NIP</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodatnika/dok:RodzajPodatnika/dok:RodzajPodatnika/dok:OsobaPrawna/dok:AdresSiedziby">
    <tr><td class="sublevel" colspan="2">D.2 Adres siedziby<br/>
    <table>
    <xsl:apply-templates select="adr:KodPocztowy"/>
    <xsl:apply-templates select="adr:Poczta"/>
    <xsl:apply-templates select="adr:Miejscowosc"/>
    <xsl:apply-templates select="adr:Ulica"/>
    <xsl:apply-templates select="adr:Budynek"/>
    <xsl:apply-templates select="adr:Lokal"/>
    <xsl:apply-templates select="adr:SkrytkaPocztowa"/>
    <xsl:apply-templates select="adr:Kraj"/>
    <xsl:apply-templates select="adr:TERC"/>
    <xsl:apply-templates select="adr:SIMC"/>
    <xsl:apply-templates select="adr:ULIC"/>
    <xsl:apply-templates select="adr:Wojewodztwo"/>
    <xsl:apply-templates select="adr:Powiat"/>
    <xsl:apply-templates select="adr:Gmina"/>
    <xsl:apply-templates select="adr:Uwagi"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodatnika/dok:RodzajPodatnika/dok:RodzajPodatnika/dok:OsobaPrawna/dok:AdresDoKorespondencji">
    <tr><td class="sublevel" colspan="2">D.3. Adres do korespondencji (wpisać, jeżeli
    						jest inny niż adres siedziby)<br/>
    <table>
    <xsl:apply-templates select="adr:KodPocztowy"/>
    <xsl:apply-templates select="adr:Poczta"/>
    <xsl:apply-templates select="adr:Miejscowosc"/>
    <xsl:apply-templates select="adr:Ulica"/>
    <xsl:apply-templates select="adr:Budynek"/>
    <xsl:apply-templates select="adr:Lokal"/>
    <xsl:apply-templates select="adr:SkrytkaPocztowa"/>
    <xsl:apply-templates select="adr:Kraj"/>
    <xsl:apply-templates select="adr:TERC"/>
    <xsl:apply-templates select="adr:SIMC"/>
    <xsl:apply-templates select="adr:ULIC"/>
    <xsl:apply-templates select="adr:Wojewodztwo"/>
    <xsl:apply-templates select="adr:Powiat"/>
    <xsl:apply-templates select="adr:Gmina"/>
    <xsl:apply-templates select="adr:Uwagi"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodatnika/dok:RodzajPodatnika/dok:RodzajPodatnika/dok:JednostkaOrganizacyjna">
    <tr><td class="sublevel" colspan="2">Jednostka organizacyjna, w tym
    																		spółka, nieposiadająca osobowości prawnej<br/>
    <table>
    <xsl:apply-templates select="dok:NazwaPelna"/>
    <xsl:apply-templates select="dok:NazwaSkrocona"/>
    <xsl:apply-templates select="dok:NumerKrs"/>
    <xsl:apply-templates select="dok:Regon"/>
    <xsl:apply-templates select="dok:Pkd"/>
    <xsl:apply-templates select="dok:NIP"/>
    <xsl:apply-templates select="dok:AdresSiedziby"/>
    <xsl:apply-templates select="dok:AdresDoKorespondencji"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodatnika/dok:RodzajPodatnika/dok:RodzajPodatnika/dok:JednostkaOrganizacyjna/dok:NazwaPelna">
    <tr><td class="label">Nazwa pełna</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodatnika/dok:RodzajPodatnika/dok:RodzajPodatnika/dok:JednostkaOrganizacyjna/dok:NazwaSkrocona">
    <tr><td class="label">Nazwa skrócona</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodatnika/dok:RodzajPodatnika/dok:RodzajPodatnika/dok:JednostkaOrganizacyjna/dok:NumerKrs">
    <tr><td class="label">Nr Krajowego Rejestru Sądowego</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodatnika/dok:RodzajPodatnika/dok:RodzajPodatnika/dok:JednostkaOrganizacyjna/dok:Regon">
    <tr><td class="label">Identyfikator REGON</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodatnika/dok:RodzajPodatnika/dok:RodzajPodatnika/dok:JednostkaOrganizacyjna/dok:Pkd">
    <tr><td class="label">PKD</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodatnika/dok:RodzajPodatnika/dok:RodzajPodatnika/dok:JednostkaOrganizacyjna/dok:NIP">
    <tr><td class="label">NIP</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodatnika/dok:RodzajPodatnika/dok:RodzajPodatnika/dok:JednostkaOrganizacyjna/dok:AdresSiedziby">
    <tr><td class="sublevel" colspan="2">D.2 Adres siedziby<br/>
    <table>
    <xsl:apply-templates select="adr:KodPocztowy"/>
    <xsl:apply-templates select="adr:Poczta"/>
    <xsl:apply-templates select="adr:Miejscowosc"/>
    <xsl:apply-templates select="adr:Ulica"/>
    <xsl:apply-templates select="adr:Budynek"/>
    <xsl:apply-templates select="adr:Lokal"/>
    <xsl:apply-templates select="adr:SkrytkaPocztowa"/>
    <xsl:apply-templates select="adr:Kraj"/>
    <xsl:apply-templates select="adr:TERC"/>
    <xsl:apply-templates select="adr:SIMC"/>
    <xsl:apply-templates select="adr:ULIC"/>
    <xsl:apply-templates select="adr:Wojewodztwo"/>
    <xsl:apply-templates select="adr:Powiat"/>
    <xsl:apply-templates select="adr:Gmina"/>
    <xsl:apply-templates select="adr:Uwagi"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodatnika/dok:RodzajPodatnika/dok:RodzajPodatnika/dok:JednostkaOrganizacyjna/dok:AdresDoKorespondencji">
    <tr><td class="sublevel" colspan="2">D.3. Adres do korespondencji (wpisać, jeżeli
    						jest inny niż adres siedziby)<br/>
    <table>
    <xsl:apply-templates select="adr:KodPocztowy"/>
    <xsl:apply-templates select="adr:Poczta"/>
    <xsl:apply-templates select="adr:Miejscowosc"/>
    <xsl:apply-templates select="adr:Ulica"/>
    <xsl:apply-templates select="adr:Budynek"/>
    <xsl:apply-templates select="adr:Lokal"/>
    <xsl:apply-templates select="adr:SkrytkaPocztowa"/>
    <xsl:apply-templates select="adr:Kraj"/>
    <xsl:apply-templates select="adr:TERC"/>
    <xsl:apply-templates select="adr:SIMC"/>
    <xsl:apply-templates select="adr:ULIC"/>
    <xsl:apply-templates select="adr:Wojewodztwo"/>
    <xsl:apply-templates select="adr:Powiat"/>
    <xsl:apply-templates select="adr:Gmina"/>
    <xsl:apply-templates select="adr:Uwagi"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodatnika/dok:DaneWspolnikow">
    <tr><td class="sublevel" colspan="2">D.4. Dane wspólników spółek
    											nieposiadających osobowości prawnej<br/>
    <table>
    <xsl:apply-templates select="dok:PierwszyWlasciciel"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodatnika/dok:DaneWspolnikow/dok:PierwszyWlasciciel">
    <tr><td class="sublevel" colspan="2">Wspólnik<br/>
    <table>
    <xsl:apply-templates select="oso:Imie"/>
    <xsl:apply-templates select="oso:Nazwisko"/>
    <xsl:apply-templates select="oso:NIP"/>
    <xsl:apply-templates select="oso:PESEL"/>
    <xsl:apply-templates select="adr:Adres"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneDotyczaceLasow">
    <tr><td class="sublevel" colspan="2">E. Dane dotyczące lasów niepodlegających
    								zwolnieniu<br/>
    <table>
    <xsl:apply-templates select="dok:RodzajGruntoeLesnych"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneDotyczaceLasow/dok:RodzajGruntoeLesnych">
    <tr><td class="sublevel" colspan="2">Rodzaj gruntów leśnych<br/>
    <table>
    <xsl:apply-templates select="dok:Lasy"/>
    <xsl:apply-templates select="dok:Rezerwaty"/>
    <xsl:apply-templates select="dok:ParkiNarodowe"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneDotyczaceLasow/dok:RodzajGruntoeLesnych/dok:Lasy">
    <tr><td class="sublevel" colspan="2">I. Lasy<br/>
    <table>
    <xsl:apply-templates select="dok:Okres"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneDotyczaceLasow/dok:RodzajGruntoeLesnych/dok:Lasy/dok:Okres">
    <tr><td class="sublevel" colspan="2">Okres<br/>
    <table>
    <xsl:apply-templates select="dok:Od"/>
    <xsl:apply-templates select="dok:Do"/>
    <xsl:apply-templates select="dok:PodstawaOpodatkowania"/>
    <xsl:apply-templates select="dok:StawkaPodatku"/>
    <xsl:apply-templates select="dok:KwotaPodatku"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneDotyczaceLasow/dok:RodzajGruntoeLesnych/dok:Lasy/dok:Okres/dok:Od">
    <tr><td class="label">od (RRRR-MM)</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneDotyczaceLasow/dok:RodzajGruntoeLesnych/dok:Lasy/dok:Okres/dok:Do">
    <tr><td class="label">do (RRRR-MM)</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneDotyczaceLasow/dok:RodzajGruntoeLesnych/dok:Lasy/dok:Okres/dok:PodstawaOpodatkowania">
    <tr><td class="label">Powierzchnia
    																				(ha)</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneDotyczaceLasow/dok:RodzajGruntoeLesnych/dok:Lasy/dok:Okres/dok:StawkaPodatku">
    <tr><td class="label">Stawka podatku (zł)</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneDotyczaceLasow/dok:RodzajGruntoeLesnych/dok:Lasy/dok:Okres/dok:KwotaPodatku">
    <tr><td class="label">Kwota
    																				podatku (zł
    																				gr)</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneDotyczaceLasow/dok:RodzajGruntoeLesnych/dok:Rezerwaty">
    <tr><td class="sublevel" colspan="2">II. Lasy
    														wchodzące w
    														skład rezerwatów
    														przyrody<br/>
    <table>
    <xsl:apply-templates select="dok:Okres"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneDotyczaceLasow/dok:RodzajGruntoeLesnych/dok:Rezerwaty/dok:Okres">
    <tr><td class="sublevel" colspan="2">Okres<br/>
    <table>
    <xsl:apply-templates select="dok:Od"/>
    <xsl:apply-templates select="dok:Do"/>
    <xsl:apply-templates select="dok:PodstawaOpodatkowania"/>
    <xsl:apply-templates select="dok:StawkaPodatku"/>
    <xsl:apply-templates select="dok:KwotaPodatku"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneDotyczaceLasow/dok:RodzajGruntoeLesnych/dok:Rezerwaty/dok:Okres/dok:Od">
    <tr><td class="label">od (RRRR-MM)</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneDotyczaceLasow/dok:RodzajGruntoeLesnych/dok:Rezerwaty/dok:Okres/dok:Do">
    <tr><td class="label">do (RRRR-MM)</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneDotyczaceLasow/dok:RodzajGruntoeLesnych/dok:Rezerwaty/dok:Okres/dok:PodstawaOpodatkowania">
    <tr><td class="label">Powierzchnia
    																				(ha)</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneDotyczaceLasow/dok:RodzajGruntoeLesnych/dok:Rezerwaty/dok:Okres/dok:StawkaPodatku">
    <tr><td class="label">Stawka podatku (zł)</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneDotyczaceLasow/dok:RodzajGruntoeLesnych/dok:Rezerwaty/dok:Okres/dok:KwotaPodatku">
    <tr><td class="label">Kwota
    																				podatku (zł
    																				gr)</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneDotyczaceLasow/dok:RodzajGruntoeLesnych/dok:ParkiNarodowe">
    <tr><td class="sublevel" colspan="2">III. Lasy
    														wchodzące w
    														skład parków
    														narodowych<br/>
    <table>
    <xsl:apply-templates select="dok:Okres"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneDotyczaceLasow/dok:RodzajGruntoeLesnych/dok:ParkiNarodowe/dok:Okres">
    <tr><td class="sublevel" colspan="2">Okres<br/>
    <table>
    <xsl:apply-templates select="dok:Od"/>
    <xsl:apply-templates select="dok:Do"/>
    <xsl:apply-templates select="dok:PodstawaOpodatkowania"/>
    <xsl:apply-templates select="dok:StawkaPodatku"/>
    <xsl:apply-templates select="dok:KwotaPodatku"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneDotyczaceLasow/dok:RodzajGruntoeLesnych/dok:ParkiNarodowe/dok:Okres/dok:Od">
    <tr><td class="label">od (RRRR-MM)</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneDotyczaceLasow/dok:RodzajGruntoeLesnych/dok:ParkiNarodowe/dok:Okres/dok:Do">
    <tr><td class="label">do (RRRR-MM)</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneDotyczaceLasow/dok:RodzajGruntoeLesnych/dok:ParkiNarodowe/dok:Okres/dok:PodstawaOpodatkowania">
    <tr><td class="label">Powierzchnia
    																				(ha)</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneDotyczaceLasow/dok:RodzajGruntoeLesnych/dok:ParkiNarodowe/dok:Okres/dok:StawkaPodatku">
    <tr><td class="label">Stawka podatku (zł)</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneDotyczaceLasow/dok:RodzajGruntoeLesnych/dok:ParkiNarodowe/dok:Okres/dok:KwotaPodatku">
    <tr><td class="label">Kwota
    																				podatku (zł
    																				gr)</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:LacznaKwotaPodatku">
    <tr><td class="sublevel" colspan="2">F. Łączna kwota podatku<br/>
    <table>
    <xsl:apply-templates select="dok:Kwota"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:LacznaKwotaPodatku/dok:Kwota">
    <tr><td class="label">Kwota podatku (po
    											zaokrągleniu do
    											pełnych
    											zł)
    											Suma kwot podatku z części E</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjaoZalacznikach">
    <tr><td class="sublevel" colspan="2">G. Informacja o załącznikach (do
    								niniejszej
    								deklaracji dołączono)<br/>
    <table>
    <xsl:apply-templates select="dok:LiczbaZalacznikow"/>
    <xsl:apply-templates select="dok:ZwolnieniaPodatkowe"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjaoZalacznikach/dok:LiczbaZalacznikow">
    <tr><td class="label">Liczba załączników ZL-1/A</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjaoZalacznikach/dok:ZwolnieniaPodatkowe">
    <tr><td class="label">Załącznik ZL-1/B składany</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Oswiadczenie">
    <tr><td class="sublevel" colspan="2">H. Oświadczenie i podpis podatnika / osoby reprezentującej podatnika<br/>
    <table>
    <xsl:apply-templates select="dok:Podatnik"/>
    <xsl:apply-templates select="dok:ReprezentantPodatnika"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Oswiadczenie/dok:Podatnik">
    <tr><td class="sublevel" colspan="2">Podatnik<br/>
    <table>
    <xsl:apply-templates select="oso:Imie"/>
    <xsl:apply-templates select="dok:Nazwisko"/>
    <xsl:apply-templates select="adr:Telefon"/>
    <xsl:apply-templates select="dok:DataWypelnienia"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Oswiadczenie/dok:Podatnik/dok:Nazwisko">
    <tr><td class="label">Nazwisko</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Oswiadczenie/dok:Podatnik/dok:DataWypelnienia">
    <tr><td class="label">Data wypełnienia</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Oswiadczenie/dok:ReprezentantPodatnika">
    <tr><td class="sublevel" colspan="2">Reprezentant podatnika<br/>
    <table>
    <xsl:apply-templates select="oso:Imie"/>
    <xsl:apply-templates select="dok:Nazwisko"/>
    <xsl:apply-templates select="adr:Telefon"/>
    <xsl:apply-templates select="dok:DataWypelnienia"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Oswiadczenie/dok:ReprezentantPodatnika/dok:Nazwisko">
    <tr><td class="label">Nazwisko</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Oswiadczenie/dok:ReprezentantPodatnika/dok:DataWypelnienia">
    <tr><td class="label">Data wypełnienia</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:AdnotacjeOrganuPodatkowego">
    <tr><td class="sublevel" colspan="2">I. Adnotacje organu podatkowego<br/>
    <table>
    <xsl:apply-templates select="dok:Uwagi"/>
    <xsl:apply-templates select="dok:Data"/>
    <xsl:apply-templates select="dok:WnoszacyUwagi"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:AdnotacjeOrganuPodatkowego/dok:Uwagi">
    <tr><td class="label">Uwagi organu podatkowego</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:AdnotacjeOrganuPodatkowego/dok:Data">
    <tr><td class="label">Data (dzień-miesiąc-rok)</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:AdnotacjeOrganuPodatkowego/dok:WnoszacyUwagi">
    <tr><td class="label">Osoba wnosząca uwagi</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ZgodaNaDoreczanie">
    <tr><td class="sublevel" colspan="2">Zgoda na doręczanie pism za pomocą
    								środków
    								komunikacji elektronicznej w
    								rozumieniu przepisów o świadczeniu
    								usług
    								drogą elektroniczną<br/>
    <table>
    <xsl:apply-templates select="dok:WyrazamZgode"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ZgodaNaDoreczanie/dok:WyrazamZgode">
    <tr><td class="label">wyrażam zgodę</td><td class="value"><xsl:call-template name="xsd_boolean"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Pouczenie">
    <tr><td class="label">Pouczenie</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki">
    <tr><td class="sublevel" colspan="2">Załączniki<br/>
    <table>
    <xsl:apply-templates select="dok:Zwolnienia"/>
    <xsl:apply-templates select="dok:Nieruchomosci"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Zwolnienia">
    <tr><td class="sublevel" colspan="2">Dane o gruntach leśnych ZL-1/A<br/>
    <table>
    <xsl:apply-templates select="dok:PrzeznaczenieFormularza"/>
    <xsl:apply-templates select="dok:DanePodatnika"/>
    <xsl:apply-templates select="dok:DaneNieruchomosciObiektow"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Zwolnienia/dok:PrzeznaczenieFormularza">
    <tr><td class="sublevel" colspan="2">A. Przeznaczenie
    														formularza<br/>
    <table>
    <xsl:apply-templates select="dok:ZalacznikDo"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Zwolnienia/dok:PrzeznaczenieFormularza/dok:ZalacznikDo">
    <tr><td class="sublevel" colspan="2">Niniejszy
    																	formularz
    																	stanowi
    																	załącznik
    																	do:<br/>
    <table>
    <xsl:apply-templates select="dok:Dek"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Zwolnienia/dok:PrzeznaczenieFormularza/dok:ZalacznikDo/dok:Dek">
    <tr><td class="label">deklaracji na podatek leśny DL-1</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Zwolnienia/dok:DanePodatnika">
    <tr><td class="sublevel" colspan="2">B. Dane podatnika<br/>
    <table>
    <xsl:apply-templates select="dok:DaneIdentyfikacyjne"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Zwolnienia/dok:DanePodatnika/dok:DaneIdentyfikacyjne">
    <tr><td class="sublevel" colspan="2">B.1. Dane identyfikacyjne<br/>
    <table>
    <xsl:apply-templates select="dok:RodzajPodatnika"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Zwolnienia/dok:DanePodatnika/dok:DaneIdentyfikacyjne/dok:RodzajPodatnika">
    <tr><td class="sublevel" colspan="2">Rodzaj podatnika<br/>
    <table>
    <xsl:apply-templates select="dok:OsobaFizyczna"/>
    <xsl:apply-templates select="dok:OsobaPrawna"/>
    <xsl:apply-templates select="dok:JednostkaOrganizacyjna"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Zwolnienia/dok:DanePodatnika/dok:DaneIdentyfikacyjne/dok:RodzajPodatnika/dok:OsobaFizyczna">
    <tr><td class="sublevel" colspan="2">Osoba fizyczna<br/>
    <table>
    <xsl:apply-templates select="oso:Nazwisko"/>
    <xsl:apply-templates select="oso:Imie"/>
    <xsl:apply-templates select="oso:ImieDrugie"/>
    <xsl:apply-templates select="dok:Pesel"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Zwolnienia/dok:DanePodatnika/dok:DaneIdentyfikacyjne/dok:RodzajPodatnika/dok:OsobaFizyczna/dok:Pesel">
    <tr><td class="label">PESEL</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Zwolnienia/dok:DanePodatnika/dok:DaneIdentyfikacyjne/dok:RodzajPodatnika/dok:OsobaPrawna">
    <tr><td class="sublevel" colspan="2">Osoba prawna<br/>
    <table>
    <xsl:apply-templates select="dok:OsobaPrawnaDane"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Zwolnienia/dok:DanePodatnika/dok:DaneIdentyfikacyjne/dok:RodzajPodatnika/dok:OsobaPrawna/dok:OsobaPrawnaDane">
    <tr><td class="sublevel" colspan="2">- dane identyfikacyjne<br/>
    <table>
    <xsl:apply-templates select="dok:NazwaPelna"/>
    <xsl:apply-templates select="dok:NazwaSkrocona"/>
    <xsl:apply-templates select="dok:Regon"/>
    <xsl:apply-templates select="dok:Nip"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Zwolnienia/dok:DanePodatnika/dok:DaneIdentyfikacyjne/dok:RodzajPodatnika/dok:OsobaPrawna/dok:OsobaPrawnaDane/dok:NazwaPelna">
    <tr><td class="label">Nazwa pełna</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Zwolnienia/dok:DanePodatnika/dok:DaneIdentyfikacyjne/dok:RodzajPodatnika/dok:OsobaPrawna/dok:OsobaPrawnaDane/dok:NazwaSkrocona">
    <tr><td class="label">Nazwa skrócona</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Zwolnienia/dok:DanePodatnika/dok:DaneIdentyfikacyjne/dok:RodzajPodatnika/dok:OsobaPrawna/dok:OsobaPrawnaDane/dok:Regon">
    <tr><td class="label">Identyfikator REGON</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Zwolnienia/dok:DanePodatnika/dok:DaneIdentyfikacyjne/dok:RodzajPodatnika/dok:OsobaPrawna/dok:OsobaPrawnaDane/dok:Nip">
    <tr><td class="label">NIP</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Zwolnienia/dok:DanePodatnika/dok:DaneIdentyfikacyjne/dok:RodzajPodatnika/dok:JednostkaOrganizacyjna">
    <tr><td class="sublevel" colspan="2">Jednostka organizacyjna, w tym
    																								spółka, nieposiadająca osobowości prawnej<br/>
    <table>
    <xsl:apply-templates select="dok:OsobaPrawnaDane"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Zwolnienia/dok:DanePodatnika/dok:DaneIdentyfikacyjne/dok:RodzajPodatnika/dok:JednostkaOrganizacyjna/dok:OsobaPrawnaDane">
    <tr><td class="sublevel" colspan="2">- dane identyfikacyjne<br/>
    <table>
    <xsl:apply-templates select="dok:NazwaPelna"/>
    <xsl:apply-templates select="dok:NazwaSkrocona"/>
    <xsl:apply-templates select="dok:Regon"/>
    <xsl:apply-templates select="dok:Nip"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Zwolnienia/dok:DanePodatnika/dok:DaneIdentyfikacyjne/dok:RodzajPodatnika/dok:JednostkaOrganizacyjna/dok:OsobaPrawnaDane/dok:NazwaPelna">
    <tr><td class="label">Nazwa pełna</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Zwolnienia/dok:DanePodatnika/dok:DaneIdentyfikacyjne/dok:RodzajPodatnika/dok:JednostkaOrganizacyjna/dok:OsobaPrawnaDane/dok:NazwaSkrocona">
    <tr><td class="label">Nazwa skrócona</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Zwolnienia/dok:DanePodatnika/dok:DaneIdentyfikacyjne/dok:RodzajPodatnika/dok:JednostkaOrganizacyjna/dok:OsobaPrawnaDane/dok:Regon">
    <tr><td class="label">Identyfikator REGON</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Zwolnienia/dok:DanePodatnika/dok:DaneIdentyfikacyjne/dok:RodzajPodatnika/dok:JednostkaOrganizacyjna/dok:OsobaPrawnaDane/dok:Nip">
    <tr><td class="label">NIP</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Zwolnienia/dok:DaneNieruchomosciObiektow">
    <tr><td class="sublevel" colspan="2">C. Dane o
    														gruntach
    														podlegających
    														opodatkowaniu
    														lub zwolnieniu<br/>
    <table>
    <xsl:apply-templates select="dok:DaneNieruchomosciObiektow"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Zwolnienia/dok:DaneNieruchomosciObiektow/dok:DaneNieruchomosciObiektow">
    <tr><td class="sublevel" colspan="2">Grunt<br/>
    <table>
    <xsl:apply-templates select="dok:PolozenieNieruchomosci"/>
    <xsl:apply-templates select="dok:TytulPrawny"/>
    <xsl:apply-templates select="dok:IdentyfikatoryGeodezyjne"/>
    <xsl:apply-templates select="dok:KsiegaWieczysta"/>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Zwolnienia/dok:DaneNieruchomosciObiektow/dok:DaneNieruchomosciObiektow/dok:PolozenieNieruchomosci">
    <tr><td class="label">Położenie
    																				lasu
    																				(adres)</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Zwolnienia/dok:DaneNieruchomosciObiektow/dok:DaneNieruchomosciObiektow/dok:TytulPrawny">
    <tr><td class="sublevel" colspan="2">Tytuł
    																				prawny<br/>
    <table>
    <xsl:apply-templates select="dok:RodzajWlasnosci"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Zwolnienia/dok:DaneNieruchomosciObiektow/dok:DaneNieruchomosciObiektow/dok:TytulPrawny/dok:RodzajWlasnosci">
    <tr><td class="label">Rodzaj
    																							własności,
    																							posiadania</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Zwolnienia/dok:DaneNieruchomosciObiektow/dok:DaneNieruchomosciObiektow/dok:IdentyfikatoryGeodezyjne">
    <tr><td class="sublevel" colspan="2">Identyfikatory
    																				geodezyjne
    																				działek<br/>
    <table>
    <xsl:apply-templates select="dok:Dzialki"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Zwolnienia/dok:DaneNieruchomosciObiektow/dok:DaneNieruchomosciObiektow/dok:IdentyfikatoryGeodezyjne/dok:Dzialki">
    <tr><td class="label">Działki</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Zwolnienia/dok:DaneNieruchomosciObiektow/dok:DaneNieruchomosciObiektow/dok:KsiegaWieczysta">
    <tr><td class="sublevel" colspan="2">Księga
    																				wieczysta<br/>
    <table>
    <xsl:apply-templates select="dok:NumerKsiegi"/>
    <xsl:apply-templates select="dok:NazwaSadu"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Zwolnienia/dok:DaneNieruchomosciObiektow/dok:DaneNieruchomosciObiektow/dok:KsiegaWieczysta/dok:NumerKsiegi">
    <tr><td class="label">Numer
    																							księgi
    																							wieczystej</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Zwolnienia/dok:DaneNieruchomosciObiektow/dok:DaneNieruchomosciObiektow/dok:KsiegaWieczysta/dok:NazwaSadu">
    <tr><td class="label">Nazwa
    																							sądu</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Zwolnienia/dok:DaneNieruchomosciObiektow/dok:DaneNieruchomosciObiektow/dok:Powierzchnia">
    <tr><td class="sublevel" colspan="2">Powierzchnia<br/>
    <table>
    <xsl:apply-templates select="dok:Grunty"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Zwolnienia/dok:DaneNieruchomosciObiektow/dok:DaneNieruchomosciObiektow/dok:Powierzchnia/dok:Grunty">
    <tr><td class="label">Grunty</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci">
    <tr><td class="sublevel" colspan="2">Dane o zwolnieniach podatkowych w podatku
    											leśnym ZL-1/B<br/>
    <table>
    <xsl:apply-templates select="dok:PrzeznaczenieFormularza"/>
    <xsl:apply-templates select="dok:DanePodatnika"/>
    <xsl:apply-templates select="dok:DaneDotyczaceZwolnien"/>
    <xsl:apply-templates select="dok:DaneDotyczaceUlg"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:PrzeznaczenieFormularza">
    <tr><td class="sublevel" colspan="2">A. Przeznaczenie
    														formularza<br/>
    <table>
    <xsl:apply-templates select="dok:ZalacznikDo"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:PrzeznaczenieFormularza/dok:ZalacznikDo">
    <tr><td class="sublevel" colspan="2">Niniejszy
    																	formularz
    																	stanowi
    																	załącznik
    																	do:<br/>
    <table>
    <xsl:apply-templates select="dok:dek"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:PrzeznaczenieFormularza/dok:ZalacznikDo/dok:dek">
    <tr><td class="label">deklaracji na podatek leśny DL-1</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DanePodatnika">
    <tr><td class="sublevel" colspan="2">B. Dane podatnika<br/>
    <table>
    <xsl:apply-templates select="dok:DanePodatnika"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DanePodatnika/dok:DanePodatnika">
    <tr><td class="sublevel" colspan="2">B.1. Dane identyfikacyjne<br/>
    <table>
    <xsl:apply-templates select="dok:RodzajPodatnika"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DanePodatnika/dok:DanePodatnika/dok:RodzajPodatnika">
    <tr><td class="sublevel" colspan="2">Rodzaj podatnika<br/>
    <table>
    <xsl:apply-templates select="dok:OsobaFizyczna"/>
    <xsl:apply-templates select="dok:OsobaPrawna"/>
    <xsl:apply-templates select="dok:JednostkaOrganizacyjna"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DanePodatnika/dok:DanePodatnika/dok:RodzajPodatnika/dok:OsobaFizyczna">
    <tr><td class="sublevel" colspan="2">Osoba fizyczna<br/>
    <table>
    <xsl:apply-templates select="oso:Nazwisko"/>
    <xsl:apply-templates select="oso:Imie"/>
    <xsl:apply-templates select="oso:ImieDrugie"/>
    <xsl:apply-templates select="dok:Pesel"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DanePodatnika/dok:DanePodatnika/dok:RodzajPodatnika/dok:OsobaFizyczna/dok:Pesel">
    <tr><td class="label">PESEL</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DanePodatnika/dok:DanePodatnika/dok:RodzajPodatnika/dok:OsobaPrawna">
    <tr><td class="sublevel" colspan="2">Osoba prawna<br/>
    <table>
    <xsl:apply-templates select="dok:OsobaPrawnaDane"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DanePodatnika/dok:DanePodatnika/dok:RodzajPodatnika/dok:OsobaPrawna/dok:OsobaPrawnaDane">
    <tr><td class="sublevel" colspan="2">- dane identyfikacyjne<br/>
    <table>
    <xsl:apply-templates select="dok:NazwaPelna"/>
    <xsl:apply-templates select="dok:NazwaSkrocona"/>
    <xsl:apply-templates select="dok:Regon"/>
    <xsl:apply-templates select="dok:Nip"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DanePodatnika/dok:DanePodatnika/dok:RodzajPodatnika/dok:OsobaPrawna/dok:OsobaPrawnaDane/dok:NazwaPelna">
    <tr><td class="label">Nazwa pełna</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DanePodatnika/dok:DanePodatnika/dok:RodzajPodatnika/dok:OsobaPrawna/dok:OsobaPrawnaDane/dok:NazwaSkrocona">
    <tr><td class="label">Nazwa skrócona</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DanePodatnika/dok:DanePodatnika/dok:RodzajPodatnika/dok:OsobaPrawna/dok:OsobaPrawnaDane/dok:Regon">
    <tr><td class="label">Identyfikator REGON</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DanePodatnika/dok:DanePodatnika/dok:RodzajPodatnika/dok:OsobaPrawna/dok:OsobaPrawnaDane/dok:Nip">
    <tr><td class="label">NIP</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DanePodatnika/dok:DanePodatnika/dok:RodzajPodatnika/dok:JednostkaOrganizacyjna">
    <tr><td class="sublevel" colspan="2">Jednostka organizacyjna, w tym
    																								spółka, nieposiadająca osobowości prawnej<br/>
    <table>
    <xsl:apply-templates select="dok:OsobaPrawnaDane"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DanePodatnika/dok:DanePodatnika/dok:RodzajPodatnika/dok:JednostkaOrganizacyjna/dok:OsobaPrawnaDane">
    <tr><td class="sublevel" colspan="2">- dane identyfikacyjne<br/>
    <table>
    <xsl:apply-templates select="dok:NazwaPelna"/>
    <xsl:apply-templates select="dok:NazwaSkrocona"/>
    <xsl:apply-templates select="dok:Regon"/>
    <xsl:apply-templates select="dok:Nip"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DanePodatnika/dok:DanePodatnika/dok:RodzajPodatnika/dok:JednostkaOrganizacyjna/dok:OsobaPrawnaDane/dok:NazwaPelna">
    <tr><td class="label">Nazwa pełna</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DanePodatnika/dok:DanePodatnika/dok:RodzajPodatnika/dok:JednostkaOrganizacyjna/dok:OsobaPrawnaDane/dok:NazwaSkrocona">
    <tr><td class="label">Nazwa skrócona</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DanePodatnika/dok:DanePodatnika/dok:RodzajPodatnika/dok:JednostkaOrganizacyjna/dok:OsobaPrawnaDane/dok:Regon">
    <tr><td class="label">Identyfikator REGON</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DanePodatnika/dok:DanePodatnika/dok:RodzajPodatnika/dok:JednostkaOrganizacyjna/dok:OsobaPrawnaDane/dok:Nip">
    <tr><td class="label">NIP</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DaneDotyczaceZwolnien">
    <tr><td class="sublevel" colspan="2">C. Dane dotyczące zwolnień podatkowych wynikających z ustawy (Ustawa z dnia 30 października 2002 r. o podatku leśnym) lub uchwały Rady Gminy<br/>
    <table>
    <xsl:apply-templates select="dok:PunktPierwszy"/>
    <xsl:apply-templates select="dok:PunktDrugi"/>
    <xsl:apply-templates select="dok:PunktTrzeci"/>
    <xsl:apply-templates select="dok:PunktPierwszyUstepDrugi"/>
    <xsl:apply-templates select="dok:PunktDrugiUstepDrugi"/>
    <xsl:apply-templates select="dok:PunktTrzeciUstepDrugi"/>
    <xsl:apply-templates select="dok:PunktCzwartyUstepDrugi"/>
    <xsl:apply-templates select="dok:PunktPiatyUstepDrugi"/>
    <xsl:apply-templates select="dok:PunktSzostyUstepDrugi"/>
    <xsl:apply-templates select="dok:PunktSiodmyUstepDrugi"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DaneDotyczaceZwolnien/dok:PunktPierwszy">
    <tr><td class="sublevel" colspan="2">Art.
    																	7
    																	ust.
    																	1
    																	pkt
    																	1 -
    																	lasy
    																	z
    																	drzewostanem
    																	w
    																	wieku
    																	do
    																	40
    																	lat<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DaneDotyczaceZwolnien/dok:PunktDrugi">
    <tr><td class="sublevel" colspan="2">Art.
    																	7
    																	ust.
    																	1
    																	pkt
    																	2 -
    																	lasy
    																	wpisane
    																	indywidualnie
    																	do
    																	rejestru
    																	zabytków<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DaneDotyczaceZwolnien/dok:PunktTrzeci">
    <tr><td class="sublevel" colspan="2">Art.
    																	7
    																	ust.
    																	1
    																	pkt
    																	3 -
    																	użytki
    																	ekologiczne<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DaneDotyczaceZwolnien/dok:PunktPierwszyUstepDrugi">
    <tr><td class="sublevel" colspan="2">Art.
    																	7
    																	ust.
    																	2
    																	pkt
    																	1 -
    																	uczelnie<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DaneDotyczaceZwolnien/dok:PunktDrugiUstepDrugi">
    <tr><td class="sublevel" colspan="2">Art.
    																	7
    																	ust.
    																	2
    																	pkt
    																	2 -
    																	publiczne
    																	i
    																	niepubliczne
    																	jednostki
    																	organizacyjne
    																	objęte
    																	systemem
    																	oświaty
    																	oraz
    																	prowadzące
    																	je
    																	organy,
    																	w
    																	zakresie
    																	lasów
    																	zajętych
    																	na
    																	działalność
    																	oświatową<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DaneDotyczaceZwolnien/dok:PunktTrzeciUstepDrugi">
    <tr><td class="sublevel" colspan="2">Art.
    																	7
    																	ust.
    																	2
    																	pkt
    																	3 -
    																	instytuty
    																	naukowe
    																	i
    																	pomocnicze
    																	jednostki
    																	naukowe
    																	Polskiej
    																	Akademii
    																	Nauk<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DaneDotyczaceZwolnien/dok:PunktCzwartyUstepDrugi">
    <tr><td class="sublevel" colspan="2">Art.
    																	7
    																	ust.
    																	2
    																	pkt
    																	4 –
    																	prowadzących
    																	zakłady
    																	pracy
    																	chronionej
    																	spełniające
    																	warunek,
    																	o
    																	którym
    																	mowa
    																	w
    																	art.
    																	28
    																	ust.
    																	1
    																	pkt
    																	1
    																	lit.
    																	b
    																	ustawy
    																	z
    																	dnia
    																	27
    																	sierpnia
    																	1997
    																	r. o
    																	rehabilitacji
    																	zawodowej
    																	i
    																	społecznej
    																	oraz
    																	zatrudnianiu
    																	osób
    																	niepełnosprawnych
    																	(Dz. U. z 2016 r.poz. 2046 i 1948 oraz z 2017r. poz. 777, 935 i 1428),
    																	lub
    																	zakłady
    																	aktywności
    																	zawodowej
    																	w
    																	zakresie
    																	przedmiotów
    																	opodatkowania
    																	zgłoszonych
    																	wojewodzie,
    																	jeżeli
    																	zgłoszenie
    																	zostało
    																	potwierdzone
    																	decyzją
    																	w
    																	sprawie
    																	przyznania
    																	statusu
    																	zakładu
    																	pracy
    																	chronionej
    																	lub
    																	zakładu
    																	aktywności
    																	zawodowej
    																	albo
    																	zaświadczeniem
    																	-
    																	zajętych
    																	na
    																	prowadzenie
    																	tego
    																	zakładu,
    																	z
    																	wyjątkiem
    																	przedmiotów
    																	opodatkowania
    																	znajdujących
    																	się
    																	w
    																	posiadaniu
    																	zależnym
    																	podmiotów
    																	niebędących
    																	prowadzącymi
    																	zakłady
    																	pracy
    																	chronionej
    																	spełniające
    																	warunek,
    																	o
    																	którym
    																	mowa
    																	w
    																	art.
    																	28
    																	ust.
    																	1
    																	pkt
    																	1
    																	lit.
    																	b
    																	ustawy
    																	z
    																	dnia
    																	27
    																	sierpnia
    																	1997
    																	r. o
    																	rehabilitacji
    																	zawodowej
    																	i
    																	społecznej
    																	oraz
    																	zatrudnianiu
    																	osób
    																	niepełnosprawnych
    																	lub
    																	zakłady
    																	aktywności
    																	zawodowej<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DaneDotyczaceZwolnien/dok:PunktPiatyUstepDrugi">
    <tr><td class="sublevel" colspan="2">Art.
    																	7
    																	ust.
    																	2
    																	pkt
    																	5 -
    																	instytuty
    																	badawcze<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DaneDotyczaceZwolnien/dok:PunktSzostyUstepDrugi">
    <tr><td class="sublevel" colspan="2">Art.
    																	7
    																	ust.
    																	2
    																	pkt
    																	6 -
    																	przedsiębiorców
    																	o
    																	statusie
    																	centrum
    																	badawczo-rozwojowego
    																	uzyskanym
    																	na
    																	zasadach
    																	określonych
    																	w
    																	przepisach
    																	o
    																	niektórych
    																	formach
    																	wspierania
    																	działalności
    																	innowacyjnej,
    																	w
    																	odniesieniu
    																	do
    																	przedmiotów
    																	opodatkowania
    																	zajętych
    																	na
    																	cele
    																	prowadzonych
    																	badań
    																	i
    																	prac
    																	rozwojowych<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DaneDotyczaceZwolnien/dok:PunktSiodmyUstepDrugi">
    <tr><td class="sublevel" colspan="2">Art.
    																	7
    																	ust.
    																	2
    																	pkt
    																	7 -
    																	Krajowy
    																	Zasób
    																	Nieruchomości,
    																	w
    																	zakresie
    																	nieruchomości
    																	wchodzących
    																	w
    																	skład
    																	Zasobu
    																	Nieruchomości,
    																	o
    																	którym
    																	mowa
    																	w
    																	ustawie
    																	z
    																	dnia
    																	20
    																	lipca
    																	2017
    																	r. o
    																	Krajowym
    																	Zasobie
    																	Nieruchomości
    																	(Dz.
    																	U.
    																	poz.
    																	1529).<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DaneDotyczaceUlg">
    <tr><td class="sublevel" colspan="2">Inne zwolnienia<br/>
    <table>
    <xsl:apply-templates select="dok:TytulPrawny"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DaneDotyczaceUlg/dok:TytulPrawny">
    <tr><td class="sublevel" colspan="2">Tytuł
    																	prawny
    																	ulgi<br/>
    <table>
    <xsl:apply-templates select="dok:ArtykulTrzynasty"/>
    <xsl:apply-templates select="dok:ArtykulTrzynastyB"/>
    <xsl:apply-templates select="dok:ArtykulTrzynastyUlga"/>
    <xsl:apply-templates select="dok:Inne"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DaneDotyczaceUlg/dok:TytulPrawny/dok:ArtykulTrzynasty">
    <tr><td class="label">Art.13
    																				ust.1
    																				-
    																				ulga
    																				inwestycyjna</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DaneDotyczaceUlg/dok:TytulPrawny/dok:ArtykulTrzynastyB">
    <tr><td class="label">Art.13b
    																				ust.1
    																				-
    																				ulga
    																				dla
    																				gruntów
    																				położonych
    																				na
    																				terenach
    																				podgórskich
    																				i
    																				górskich</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DaneDotyczaceUlg/dok:TytulPrawny/dok:ArtykulTrzynastyUlga">
    <tr><td class="label">Art.13b
    																				ust.1
    																				-
    																				ulga
    																				z
    																				tytułu
    																				wystąpienia
    																				klęski
    																				żywiołowej</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DaneDotyczaceUlg/dok:TytulPrawny/dok:Inne">
    <tr><td class="sublevel" colspan="2">Inne zwolnienia<br/>
    <table>
    <xsl:apply-templates select="dok:Tytul"/>
    <xsl:apply-templates select="dok:Pow"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DaneDotyczaceUlg/dok:TytulPrawny/dok:Inne/dok:Tytul">
    <tr><td class="label">Tytuł zwolnienia oraz podstawa prawna</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:Nieruchomosci/dok:DaneDotyczaceUlg/dok:TytulPrawny/dok:Inne/dok:Pow">
    <tr><td class="label">Powierzchnia w ha</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="typy:DataWniosku">
    <tr><td class="label">Data</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="typy:OsobyObjeteDecyzjaLiczba">
    <tr><td class="label">Liczba osób objętych decyzją</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="typy:DataWszczeciaEgzekucji">
    <tr><td class="label">Data wszczęcia egzekucji</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="typy:RodzajDecyzji">
    <tr><td class="label">Rodzaj decyzji</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="typy:SygnaturaSprawy">
    <tr><td class="label">Sygnatura sprawy</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="typy:NumerSystemowyOsoby">
    <tr><td class="label">Numer systemowy osoby</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="typy:Rok">
    <tr><td class="label">Rok</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="typy:NumerDecyzji">
    <tr><td class="label">Numer decyzji</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="typy:OznaczenieWaluty">
    <tr><td class="label">Waluta</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="typy:SeriaNumerDokumentu">
    <tr><td class="label">Seria i numer dokumentu</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="typy:DataWydaniaDecyzji">
    <tr><td class="label">Data wydania decyzji</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="typy:Decyzja">
    <tr><td class="sublevel" colspan="2">Decyzja<br/>
    <table>
    <xsl:apply-templates select="typy:RodzajDecyzji"/>
    <xsl:apply-templates select="typy:DataWydaniaDecyzji"/>
    <xsl:apply-templates select="typy:NumerDecyzji"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="typy:NumerTytuluWykonawczego">
    <tr><td class="label">Numer tytułu wykonawczego</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="typy:OkresZlozenia">
    <tr><td class="label">Okres złożenia</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="typy:NumerSystemowyWniosku">
    <tr><td class="label">Numer systemowy wniosku</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="typy:OdbiorDecyzji">
    <tr><td class="sublevel" colspan="2">Osoba odbierająca decyzję<br/>
    <table>
    <xsl:apply-templates select="typy:Data"/>
    <xsl:apply-templates select="typy:Potwierdzajacy"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="typy:OdbiorDecyzji/typy:Data">
    <tr><td class="label">Data</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="typy:OdbiorDecyzji/typy:Potwierdzajacy">
    <tr><td class="sublevel" colspan="2">Podpisujący<br/>
    <table>
    <xsl:apply-templates select="oso:IdOsoby"/>
    <xsl:apply-templates select="oso:Imie"/>
    <xsl:apply-templates select="oso:Nazwisko"/>
    <xsl:apply-templates select="adr:Kontakt"/>
    <xsl:apply-templates select="inst:Funkcja"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="typy:PodpisWnioskodawcy">
    <tr><td class="sublevel" colspan="2">Podpis  wnioskodawcy<br/>
    <table>
    <xsl:apply-templates select="typy:Data"/>
    <xsl:apply-templates select="typy:Potwierdzajacy"/>
    </table></td></tr>
    </xsl:template>
    <xsl:template match="typy:PodpisWnioskodawcy/typy:Data">
    <tr><td class="label">Data</td><td class="value"><xsl:value-of select="text()"/></td></tr>
    </xsl:template>
    <xsl:template match="typy:PodpisWnioskodawcy/typy:Potwierdzajacy">
    <tr><td class="sublevel" colspan="2">Podpisujący<br/>
    <table>
    <xsl:apply-templates select="oso:IdOsoby"/>
    <xsl:apply-templates select="oso:Imie"/>
    <xsl:apply-templates select="oso:Nazwisko"/>
    <xsl:apply-templates select="adr:Kontakt"/>
    <xsl:apply-templates select="inst:Funkcja"/>
    </table></td></tr>
    </xsl:template>
    </xsl:stylesheet>