3965

ID3965
Data2017-02-15
Symbol2017/02/15/3965
InstytucjaUrząd Miasta Katowice
NazwaInformacja na podatek rolny IR-1
Czy Aktualny0

Ustawy (1)

  • URI://Dziennik_Ustaw/2016/617/6a/12/1
  • Ustawa z dnia 15 listopada 1984 r. o podatku rolnym

    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/2017/02/15/3965/" 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>
    					Informacja na podatek rolny IR-1
    					<xsl:text> (</xsl:text>
    					F.PO.INF.ROL.P017
    					<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">
    						Informacja na podatek rolny IR-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>
    
    	
    	<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>
    
    	
    	<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>
    
    	
    	<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>
    
    	
    	<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>
    
    	
    	<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>
    
    	
    	<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:Zrodlo">
    <tr>
                <td class="label"> </td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Powierzchnia">
    <tr>
                <td class="label">Powierzchnia (ha) z dokładnością do 1 m²</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zrodlo">
    <tr>
                <td class="label"> </td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:NipPesel">
    <tr>
                <td class="sublevel" colspan="2">Identyfikator podatnika: NIP¹/PESEL²<br/>
    <table>
    <xsl:apply-templates select="oso:NIP"/>
    <xsl:apply-templates select="oso:PESEL"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:RokDeklaracji">
    <tr>
                <td class="label">Rok</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Data">
    <tr>
                <td class="label">Data wypełnienia informacji</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:MiejsceSkladania">
    <tr>
                <td class="label">Miejsce składania</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 informacji<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:OkolicznosciPowodujaceObowiazekZlozeniaInformacji">
    <tr>
                <td class="sublevel" colspan="2">B. Obowiązek złożenia informacji<br/>
    <table>
    <xsl:apply-templates select="dok:Okolicznosci"/>
    <xsl:apply-templates select="dok:BJedenUzasadnienie"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:OkolicznosciPowodujaceObowiazekZlozeniaInformacji/dok:Okolicznosci">
    <tr>
                <td class="sublevel" colspan="2">Okoliczności powodujące
    											obowiązek złożenia
    											lub
    											zmiany informacji<br/>
    <table>
    <xsl:apply-templates select="dok:PierwszyRaz"/>
    <xsl:apply-templates select="dok:KorektaInf"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:OkolicznosciPowodujaceObowiazekZlozeniaInformacji/dok:Okolicznosci/dok:PierwszyRaz">
    <tr>
                <td class="sublevel" colspan="2">1.
    															informacja
    															składana po
    															raz pierwszy<br/>
    <table>
    <xsl:apply-templates select="dok:DataNabycia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:OkolicznosciPowodujaceObowiazekZlozeniaInformacji/dok:Okolicznosci/dok:PierwszyRaz/dok:DataNabycia">
    <tr>
                <td class="label">data
    																		nabycia</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:OkolicznosciPowodujaceObowiazekZlozeniaInformacji/dok:Okolicznosci/dok:KorektaInf">
    <tr>
                <td class="sublevel" colspan="2">2. korekta
    															uprzednio
    															złożonej
    															informacji<br/>
    <table>
    <xsl:apply-templates select="dok:DataZmiany"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:OkolicznosciPowodujaceObowiazekZlozeniaInformacji/dok:Okolicznosci/dok:KorektaInf/dok:DataZmiany">
    <tr>
                <td class="label">data
    																		zmiany</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:OkolicznosciPowodujaceObowiazekZlozeniaInformacji/dok:BJedenUzasadnienie">
    <tr>
                <td class="sublevel" colspan="2">B.1. Uzasadnienie złożenia
    											lub zmiany
    											informacji<br/>
    <table>
    <xsl:apply-templates select="dok:Uzasadnienie"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:OkolicznosciPowodujaceObowiazekZlozeniaInformacji/dok:BJedenUzasadnienie/dok:Uzasadnienie">
    <tr>
                <td class="label"> </td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneIdentyfikacyjne">
    <tr>
                <td class="sublevel" colspan="2">C. Dane identyfikacyjne<br/>
    <table>
    <xsl:apply-templates select="dok:DanePodatnika"/>
    <xsl:apply-templates select="dok:AdresZamieszkania"/>
    <xsl:apply-templates select="dok:AdresDoDoreczenWkraju"/>
    <xsl:apply-templates select="dok:DanePodatnika2"/>
    <xsl:apply-templates select="dok:AdresZamieszkania2"/>
    <xsl:apply-templates select="dok:AdresDoDoreczenWkraju2"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneIdentyfikacyjne/dok:DanePodatnika">
    <tr>
                <td class="sublevel" colspan="2">C.1. Dane podatnika<br/>
    <table>
    <xsl:apply-templates select="dok:Nazwisko"/>
    <xsl:apply-templates select="dok:Imie"/>
    <xsl:apply-templates select="oso:ImieDrugie"/>
    <xsl:apply-templates select="oso:DataUrodzenia"/>
    <xsl:apply-templates select="oso:ImieOjca"/>
    <xsl:apply-templates select="oso:ImieMatki"/>
    <xsl:apply-templates select="oso:PESEL"/>
    <xsl:apply-templates select="inst:REGON"/>
    <xsl:apply-templates select="adr:Telefon"/>
    <xsl:apply-templates select="adr:Faks"/>
    <xsl:apply-templates select="adr:Email"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneIdentyfikacyjne/dok:DanePodatnika/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:DaneIdentyfikacyjne/dok:DanePodatnika/dok:Imie">
    <tr>
                <td class="label">Pierwsze imię</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneIdentyfikacyjne/dok:AdresZamieszkania">
    <tr>
                <td class="sublevel" colspan="2">C.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:DaneIdentyfikacyjne/dok:AdresDoDoreczenWkraju">
    <tr>
                <td class="sublevel" colspan="2">C.3. Adres do doręczeń w
    											kraju (jeśli 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:DaneIdentyfikacyjne/dok:DanePodatnika2">
    <tr>
                <td class="sublevel" colspan="2">C.4. Dane podatnika<br/>
    <table>
    <xsl:apply-templates select="dok:Nazwisko"/>
    <xsl:apply-templates select="dok:Imie"/>
    <xsl:apply-templates select="oso:ImieDrugie"/>
    <xsl:apply-templates select="oso:DataUrodzenia"/>
    <xsl:apply-templates select="oso:ImieOjca"/>
    <xsl:apply-templates select="oso:ImieMatki"/>
    <xsl:apply-templates select="oso:PESEL"/>
    <xsl:apply-templates select="inst:REGON"/>
    <xsl:apply-templates select="adr:Telefon"/>
    <xsl:apply-templates select="adr:Faks"/>
    <xsl:apply-templates select="adr:Email"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneIdentyfikacyjne/dok:DanePodatnika2/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:DaneIdentyfikacyjne/dok:DanePodatnika2/dok:Imie">
    <tr>
                <td class="label">Pierwsze imię</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneIdentyfikacyjne/dok:AdresZamieszkania2">
    <tr>
                <td class="sublevel" colspan="2">C.5. 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:DaneIdentyfikacyjne/dok:AdresDoDoreczenWkraju2">
    <tr>
                <td class="sublevel" colspan="2">C.6. Adres do doręczeń w
    											kraju (jeśli 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:DaneNieruchomosci">
    <tr>
                <td class="sublevel" colspan="2">D. Dane o nieruchomościach rolnych
    								podlegających opodatkowaniu lub
    								zwolnieniu<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"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneNieruchomosci/dok:PolozenieNieruchomosci">
    <tr>
                <td class="sublevel" colspan="2">D.1. Położenie nieruchomości<br/>
    <table>
    <xsl:apply-templates select="dok:Polozenie"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneNieruchomosci/dok:PolozenieNieruchomosci/dok:Polozenie">
    <tr>
                <td class="label">Położenie nieruchomości (adres)</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneNieruchomosci/dok:TytulPrawny">
    <tr>
                <td class="sublevel" colspan="2">D.2. Tytuł prawny<br/>
    <table>
    <xsl:apply-templates select="dok:RodzajWlasnosci"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneNieruchomosci/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:DaneNieruchomosci/dok:IdentyfikatoryGeodezyjne">
    <tr>
                <td class="sublevel" colspan="2">D.3. Identyfikatory geodezyjne działek (wykazuje się jeśli zostały nadane)<br/>
    <table>
    <xsl:apply-templates select="dok:Dzialki"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneNieruchomosci/dok:IdentyfikatoryGeodezyjne/dok:Dzialki">
    <tr>
                <td class="label">Działki (Obręb,
    														karta mapy,
    														numer działki)</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneNieruchomosci/dok:KsiegaWieczysta">
    <tr>
                <td class="sublevel" colspan="2">D.4. 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:DaneNieruchomosci/dok:KsiegaWieczysta/dok:NumerKsiegi">
    <tr>
                <td class="label">Numer księgi
    														wieczystej dla gruntu</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneNieruchomosci/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:DaneUzytkow">
    <tr>
                <td class="sublevel" colspan="2">E. Dane dotyczące użytków rolnych
    								stanowiących gospodarstwo rolne lub niestanowiących gospodarstwa rolnego (z
    								wyjątkiem zwolnionych)<br/>
    <table>
    <xsl:apply-templates select="dok:GruntyOrne"/>
    <xsl:apply-templates select="dok:Sady"/>
    <xsl:apply-templates select="dok:Laki"/>
    <xsl:apply-templates select="dok:Pastwiska"/>
    <xsl:apply-templates select="dok:GruntyOrneZabudowane"/>
    <xsl:apply-templates select="dok:Zadrzewione"/>
    <xsl:apply-templates select="dok:Rowy"/>
    <xsl:apply-templates select="dok:GruntyStawyNiezarybione"/>
    <xsl:apply-templates select="dok:GruntyStawyZarybionePstrag"/>
    <xsl:apply-templates select="dok:GruntyStawyZarybioneInne"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:GruntyOrne">
    <tr>
                <td class="sublevel" colspan="2">E.1. Grunty orne<br/>
    <table>
    <xsl:apply-templates select="dok:KlasaI"/>
    <xsl:apply-templates select="dok:KlasaII"/>
    <xsl:apply-templates select="dok:KlasaIIIa"/>
    <xsl:apply-templates select="dok:KlasaIIIb"/>
    <xsl:apply-templates select="dok:KlasaIVa"/>
    <xsl:apply-templates select="dok:KlasaIVb"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:GruntyOrne/dok:KlasaI">
    <tr>
                <td class="sublevel" colspan="2">Klasa I<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:GruntyOrne/dok:KlasaII">
    <tr>
                <td class="sublevel" colspan="2">Klasa II<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:GruntyOrne/dok:KlasaIIIa">
    <tr>
                <td class="sublevel" colspan="2">Klasa IIIa<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:GruntyOrne/dok:KlasaIIIb">
    <tr>
                <td class="sublevel" colspan="2">Klasa IIIb<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:GruntyOrne/dok:KlasaIVa">
    <tr>
                <td class="sublevel" colspan="2">Klasa IVa<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:GruntyOrne/dok:KlasaIVb">
    <tr>
                <td class="sublevel" colspan="2">Klasa IVb<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Sady">
    <tr>
                <td class="sublevel" colspan="2">E.2. Sady<br/>
    <table>
    <xsl:apply-templates select="dok:KlasaI"/>
    <xsl:apply-templates select="dok:KlasaII"/>
    <xsl:apply-templates select="dok:KlasaIII"/>
    <xsl:apply-templates select="dok:KlasaIIIa"/>
    <xsl:apply-templates select="dok:KlasaIIIb"/>
    <xsl:apply-templates select="dok:KlasaIV"/>
    <xsl:apply-templates select="dok:KlasaIVa"/>
    <xsl:apply-templates select="dok:KlasaIVb"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Sady/dok:KlasaI">
    <tr>
                <td class="sublevel" colspan="2">Klasa I<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Sady/dok:KlasaII">
    <tr>
                <td class="sublevel" colspan="2">Klasa II<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Sady/dok:KlasaIII">
    <tr>
                <td class="sublevel" colspan="2">Klasa III<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Sady/dok:KlasaIIIa">
    <tr>
                <td class="sublevel" colspan="2">Klasa IIIa<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Sady/dok:KlasaIIIb">
    <tr>
                <td class="sublevel" colspan="2">Klasa IIIb<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Sady/dok:KlasaIV">
    <tr>
                <td class="sublevel" colspan="2">Klasa IV<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Sady/dok:KlasaIVa">
    <tr>
                <td class="sublevel" colspan="2">Klasa IVa<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Sady/dok:KlasaIVb">
    <tr>
                <td class="sublevel" colspan="2">Klasa IVb<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Laki">
    <tr>
                <td class="sublevel" colspan="2">E.3. Łąki<br/>
    <table>
    <xsl:apply-templates select="dok:KlasaI"/>
    <xsl:apply-templates select="dok:KlasaII"/>
    <xsl:apply-templates select="dok:KlasaIII"/>
    <xsl:apply-templates select="dok:KlasaIV"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Laki/dok:KlasaI">
    <tr>
                <td class="sublevel" colspan="2">Klasa I<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Laki/dok:KlasaII">
    <tr>
                <td class="sublevel" colspan="2">Klasa II<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Laki/dok:KlasaIII">
    <tr>
                <td class="sublevel" colspan="2">Klasa III<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Laki/dok:KlasaIV">
    <tr>
                <td class="sublevel" colspan="2">Klasa IV<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Pastwiska">
    <tr>
                <td class="sublevel" colspan="2">E.4. Pastwiska<br/>
    <table>
    <xsl:apply-templates select="dok:KlasaI"/>
    <xsl:apply-templates select="dok:KlasaII"/>
    <xsl:apply-templates select="dok:KlasaIII"/>
    <xsl:apply-templates select="dok:KlasaIV"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Pastwiska/dok:KlasaI">
    <tr>
                <td class="sublevel" colspan="2">Klasa I<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Pastwiska/dok:KlasaII">
    <tr>
                <td class="sublevel" colspan="2">Klasa II<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Pastwiska/dok:KlasaIII">
    <tr>
                <td class="sublevel" colspan="2">Klasa III<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Pastwiska/dok:KlasaIV">
    <tr>
                <td class="sublevel" colspan="2">Klasa IV<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:GruntyOrneZabudowane">
    <tr>
                <td class="sublevel" colspan="2">E.5. Grunty rolne zabudowane<br/>
    <table>
    <xsl:apply-templates select="dok:KlasaI"/>
    <xsl:apply-templates select="dok:KlasaII"/>
    <xsl:apply-templates select="dok:KlasaIII"/>
    <xsl:apply-templates select="dok:KlasaIIIa"/>
    <xsl:apply-templates select="dok:KlasaIIIb"/>
    <xsl:apply-templates select="dok:KlasaIV"/>
    <xsl:apply-templates select="dok:KlasaIVa"/>
    <xsl:apply-templates select="dok:KlasaIVb"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:GruntyOrneZabudowane/dok:KlasaI">
    <tr>
                <td class="sublevel" colspan="2">Klasa I<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:GruntyOrneZabudowane/dok:KlasaII">
    <tr>
                <td class="sublevel" colspan="2">Klasa II<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:GruntyOrneZabudowane/dok:KlasaIII">
    <tr>
                <td class="sublevel" colspan="2">Klasa III<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:GruntyOrneZabudowane/dok:KlasaIIIa">
    <tr>
                <td class="sublevel" colspan="2">Klasa IIIa<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:GruntyOrneZabudowane/dok:KlasaIIIb">
    <tr>
                <td class="sublevel" colspan="2">Klasa IIIb<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:GruntyOrneZabudowane/dok:KlasaIV">
    <tr>
                <td class="sublevel" colspan="2">Klasa IV<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:GruntyOrneZabudowane/dok:KlasaIVa">
    <tr>
                <td class="sublevel" colspan="2">Klasa IVa<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:GruntyOrneZabudowane/dok:KlasaIVb">
    <tr>
                <td class="sublevel" colspan="2">Klasa IVb<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Zadrzewione">
    <tr>
                <td class="sublevel" colspan="2">E.6. Grunty zadrzewione i
    											zakrzewione na użytkach rolnych<br/>
    <table>
    <xsl:apply-templates select="dok:KlasaI"/>
    <xsl:apply-templates select="dok:KlasaII"/>
    <xsl:apply-templates select="dok:KlasaIII"/>
    <xsl:apply-templates select="dok:KlasaIIIa"/>
    <xsl:apply-templates select="dok:KlasaIIIb"/>
    <xsl:apply-templates select="dok:KlasaIV"/>
    <xsl:apply-templates select="dok:KlasaIVa"/>
    <xsl:apply-templates select="dok:KlasaIVb"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Zadrzewione/dok:KlasaI">
    <tr>
                <td class="sublevel" colspan="2">Klasa I<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Zadrzewione/dok:KlasaII">
    <tr>
                <td class="sublevel" colspan="2">Klasa II<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Zadrzewione/dok:KlasaIII">
    <tr>
                <td class="sublevel" colspan="2">Klasa III<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Zadrzewione/dok:KlasaIIIa">
    <tr>
                <td class="sublevel" colspan="2">Klasa IIIa<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Zadrzewione/dok:KlasaIIIb">
    <tr>
                <td class="sublevel" colspan="2">Klasa IIIb<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Zadrzewione/dok:KlasaIV">
    <tr>
                <td class="sublevel" colspan="2">Klasa IV<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Zadrzewione/dok:KlasaIVa">
    <tr>
                <td class="sublevel" colspan="2">Klasa IVa<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Zadrzewione/dok:KlasaIVb">
    <tr>
                <td class="sublevel" colspan="2">Klasa IVb<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Rowy">
    <tr>
                <td class="sublevel" colspan="2">E.7. Rowy<br/>
    <table>
    <xsl:apply-templates select="dok:KlasaI"/>
    <xsl:apply-templates select="dok:KlasaII"/>
    <xsl:apply-templates select="dok:KlasaIII"/>
    <xsl:apply-templates select="dok:KlasaIIIa"/>
    <xsl:apply-templates select="dok:KlasaIIIb"/>
    <xsl:apply-templates select="dok:KlasaIV"/>
    <xsl:apply-templates select="dok:KlasaIVa"/>
    <xsl:apply-templates select="dok:KlasaIVb"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Rowy/dok:KlasaI">
    <tr>
                <td class="sublevel" colspan="2">Klasa I<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Rowy/dok:KlasaII">
    <tr>
                <td class="sublevel" colspan="2">Klasa II<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Rowy/dok:KlasaIII">
    <tr>
                <td class="sublevel" colspan="2">Klasa III<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Rowy/dok:KlasaIIIa">
    <tr>
                <td class="sublevel" colspan="2">Klasa IIIa<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Rowy/dok:KlasaIIIb">
    <tr>
                <td class="sublevel" colspan="2">Klasa IIIb<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Rowy/dok:KlasaIV">
    <tr>
                <td class="sublevel" colspan="2">Klasa IV<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Rowy/dok:KlasaIVa">
    <tr>
                <td class="sublevel" colspan="2">Klasa IVa<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:Rowy/dok:KlasaIVb">
    <tr>
                <td class="sublevel" colspan="2">Klasa IVb<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:GruntyStawyNiezarybione">
    <tr>
                <td class="sublevel" colspan="2">E.8. Grunty pod stawami
    											niezarybionymi<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:GruntyStawyZarybionePstrag">
    <tr>
                <td class="sublevel" colspan="2">E.9. Grunty pod stawami
    											zarybionymi - łososiem,
    											trocią, głowacicą, palią i
    											pstrągiem<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneUzytkow/dok:GruntyStawyZarybioneInne">
    <tr>
                <td class="sublevel" colspan="2">E.10. Grunty pod stawami
    											zarybionymi - innymi gatunkami
    											ryb<br/>
    <table>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneOsobyReprezentujacejPodatnika">
    <tr>
                <td class="sublevel" colspan="2">F. Dane osoby reprezentującej podatnika<br/>
    <table>
    <xsl:apply-templates select="dok:DanePelnomocnika"/>
    <xsl:apply-templates select="dok:RodzajPelnomocnictwa"/>
    <xsl:apply-templates select="dok:DanePrzedstawicielaUstawowego"/>
    <xsl:apply-templates select="dok:AdresDoDoreczen"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneOsobyReprezentujacejPodatnika/dok:DanePelnomocnika">
    <tr>
                <td class="sublevel" colspan="2">F.1. Dane pełnomocnika -
    											jeżeli został ustanowiony<br/>
    <table>
    <xsl:apply-templates select="oso:Nazwisko"/>
    <xsl:apply-templates select="dok:PierwszeImie"/>
    <xsl:apply-templates select="oso:ImieDrugie"/>
    <xsl:apply-templates select="oso:DataUrodzenia"/>
    <xsl:apply-templates select="oso:ImieOjca"/>
    <xsl:apply-templates select="oso:ImieMatki"/>
    <xsl:apply-templates select="oso:PESEL"/>
    <xsl:apply-templates select="oso:NIP"/>
    <xsl:apply-templates select="adr:Telefon"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneOsobyReprezentujacejPodatnika/dok:DanePelnomocnika/dok:PierwszeImie">
    <tr>
                <td class="label">Pierwsze imię</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneOsobyReprezentujacejPodatnika/dok:RodzajPelnomocnictwa">
    <tr>
                <td class="sublevel" colspan="2">F.2. Rodzaj pełnomocnictwa<br/>
    <table>
    <xsl:apply-templates select="dok:Ogolne"/>
    <xsl:apply-templates select="dok:Szczegolne"/>
    <xsl:apply-templates select="dok:DoDoreczen"/>
    <xsl:apply-templates select="dok:DoPodpisywania"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneOsobyReprezentujacejPodatnika/dok:RodzajPelnomocnictwa/dok:Ogolne">
    <tr>
                <td class="label">ogólne</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneOsobyReprezentujacejPodatnika/dok:RodzajPelnomocnictwa/dok:Szczegolne">
    <tr>
                <td class="label">szczególne</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneOsobyReprezentujacejPodatnika/dok:RodzajPelnomocnictwa/dok:DoDoreczen">
    <tr>
                <td class="label">do doręczeń</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneOsobyReprezentujacejPodatnika/dok:RodzajPelnomocnictwa/dok:DoPodpisywania">
    <tr>
                <td class="label">do
    															podpisywania
    															informacji</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneOsobyReprezentujacejPodatnika/dok:DanePrzedstawicielaUstawowego">
    <tr>
                <td class="sublevel" colspan="2">F.3. Dane przedstawiciela
    											ustawowego - jeżeli został
    											ustanowiony<br/>
    <table>
    <xsl:apply-templates select="oso:Nazwisko"/>
    <xsl:apply-templates select="dok:PierwszeImie"/>
    <xsl:apply-templates select="oso:ImieDrugie"/>
    <xsl:apply-templates select="oso:DataUrodzenia"/>
    <xsl:apply-templates select="oso:ImieOjca"/>
    <xsl:apply-templates select="oso:ImieMatki"/>
    <xsl:apply-templates select="oso:PESEL"/>
    <xsl:apply-templates select="oso:NIP"/>
    <xsl:apply-templates select="adr:Telefon"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneOsobyReprezentujacejPodatnika/dok:DanePrzedstawicielaUstawowego/dok:PierwszeImie">
    <tr>
                <td class="label">Pierwsze imię</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DaneOsobyReprezentujacejPodatnika/dok:AdresDoDoreczen">
    <tr>
                <td class="sublevel" colspan="2">F.4. Adres do doręczeń w kraju pełnomocnika / przedstawiciela ustawowego<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:InformacjaoZalacznikach">
    <tr>
                <td class="sublevel" colspan="2">G. Informacja o załącznikach<br/>
    <table>
    <xsl:apply-templates select="dok:LiczbaZR-Jeden"/>
    <xsl:apply-templates select="dok:ZalacznikZra"/>
    <xsl:apply-templates select="dok:ZalacznikZrb"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjaoZalacznikach/dok:LiczbaZR-Jeden">
    <tr>
                <td class="sublevel" colspan="2">Liczba załączników ZR-1
    Dane o podatnikach<br/>
    <table>
    <xsl:apply-templates select="dok:Liczba"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjaoZalacznikach/dok:LiczbaZR-Jeden/dok:Liczba">
    <tr>
                <td class="label">liczba
    														załączników</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjaoZalacznikach/dok:ZalacznikZra">
    <tr>
                <td class="sublevel" colspan="2">ZR-1/A Dane o zwolnieniach
    											podatkowych w podatku rolnym
    											- składany<br/>
    <table>
    <xsl:apply-templates select="dok:Tak"/>
    <xsl:apply-templates select="dok:Nie"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjaoZalacznikach/dok:ZalacznikZra/dok:Tak">
    <tr>
                <td class="label">tak</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjaoZalacznikach/dok:ZalacznikZra/dok:Nie">
    <tr>
                <td class="label">nie</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjaoZalacznikach/dok:ZalacznikZrb">
    <tr>
                <td class="sublevel" colspan="2">Liczba załączników ZR-1/B
    											Dane o nieruchomościach
    											rolnych<br/>
    <table>
    <xsl:apply-templates select="dok:Liczba"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjaoZalacznikach/dok:ZalacznikZrb/dok:Liczba">
    <tr>
                <td class="label">liczba
    														załączników</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 dane podatnika /
    								osoby reprezentującej podatnika<br/>
    <table>
    <xsl:apply-templates select="dok:Oswiadczam"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Oswiadczenie/dok:Oswiadczam">
    <tr>
                <td class="sublevel" colspan="2">Oświadczam, że są mi znane przepisy Kodeksu karnego skarbowego o odpowiedzialności za podanie danych niezgodnych z rzeczywistością.<br/>
    <table>
    <xsl:apply-templates select="oso:Imie"/>
    <xsl:apply-templates select="oso:Nazwisko"/>
    <xsl:apply-templates select="dok:DataWypelnienia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Oswiadczenie/dok:Oswiadczam/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:WyrazamZgode">
    <tr>
                <td class="sublevel" colspan="2">Wyrażam zgodę<br/>
    <table>
    <xsl:apply-templates select="dok:NaPoinformowanie"/>
    <xsl:apply-templates select="dok:Data"/>
    <xsl:apply-templates select="dok:SkladajacyOsobaRep"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:WyrazamZgode/dok:NaPoinformowanie">
    <tr>
                <td class="sublevel" colspan="2">na poinformowanie, w szczególności poprzez: krótką wiadomość tekstową (sms)/ e-mail / telefon / faks o wykonaniu obowiązku podatkowego.<br/>
    <table>
    <xsl:apply-templates select="dok:PodstawaP"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:WyrazamZgode/dok:NaPoinformowanie/dok:PodstawaP">
    <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:WyrazamZgode/dok:Data">
    <tr>
                <td class="label">Data</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:WyrazamZgode/dok:SkladajacyOsobaRep">
    <tr>
                <td class="sublevel" colspan="2">Składający / osoba
    												reprezentująca
    												składającego<br/>
    <table>
    <xsl:apply-templates select="oso:Imie"/>
    <xsl:apply-templates select="oso:Nazwisko"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:NieWyrazamZgody">
    <tr>
                <td class="sublevel" colspan="2">Nie wyrażam zgody<br/>
    <table>
    <xsl:apply-templates select="dok:NaPoinformowanie"/>
    <xsl:apply-templates select="dok:Data"/>
    <xsl:apply-templates select="dok:SkladajacyOsobaRep"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:NieWyrazamZgody/dok:NaPoinformowanie">
    <tr>
                <td class="sublevel" colspan="2">na poinformowanie, w szczególności poprzez: krótką wiadomość tekstową (sms)/ e-mail / telefon / faks o wykonaniu obowiązku podatkowego.<br/>
    <table>
    <xsl:apply-templates select="dok:PodstawaP"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:NieWyrazamZgody/dok:NaPoinformowanie/dok:PodstawaP">
    <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:NieWyrazamZgody/dok:Data">
    <tr>
                <td class="label">Data</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:NieWyrazamZgody/dok:SkladajacyOsobaRep">
    <tr>
                <td class="sublevel" colspan="2">Składający / osoba
    												reprezentująca
    												składającego / współmałżonek(-ka)<br/>
    <table>
    <xsl:apply-templates select="oso:Imie"/>
    <xsl:apply-templates select="oso:Nazwisko"/>
    </table>
                </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:PodpisSprawdzajacego"/>
    </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 (dzien-miesiac-rok)</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:AdnotacjeOrganuPodatkowego/dok:PodpisSprawdzajacego">
    <tr>
                <td class="label">Podpis sprawdzającego</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:DanePodatnika"/>
    <xsl:apply-templates select="dok:ZalacznikRa"/>
    <xsl:apply-templates select="dok:ZalacznikRb"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:DanePodatnika">
    <tr>
                <td class="sublevel" colspan="2">Dane o podatnikach (ZR-1)<br/>
    <table>
    <xsl:apply-templates select="dok:Zrodlo"/>
    <xsl:apply-templates select="dok:A1"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:DanePodatnika/dok:A1">
    <tr>
                <td class="sublevel" colspan="2">A. 1.<br/>
    <table>
    <xsl:apply-templates select="dok:DaneIdentyfikacyjneZ"/>
    <xsl:apply-templates select="dok:AdresZamieszkaniaZ"/>
    <xsl:apply-templates select="dok:OswiadczeniePodatnikaZ"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:DanePodatnika/dok:A1/dok:DaneIdentyfikacyjneZ">
    <tr>
                <td class="sublevel" colspan="2">1.
                                        								DANE
                                        								IDENTYFIKACYJNE<br/>
    <table>
    <xsl:apply-templates select="oso:Nazwisko"/>
    <xsl:apply-templates select="dok:PierwszeImie"/>
    <xsl:apply-templates select="oso:ImieDrugie"/>
    <xsl:apply-templates select="oso:PESEL"/>
    <xsl:apply-templates select="inst:REGON"/>
    <xsl:apply-templates select="oso:DataUrodzenia"/>
    <xsl:apply-templates select="oso:ImieOjca"/>
    <xsl:apply-templates select="oso:ImieMatki"/>
    <xsl:apply-templates select="adr:Telefon"/>
    <xsl:apply-templates select="adr:Faks"/>
    <xsl:apply-templates select="adr:Email"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:DanePodatnika/dok:A1/dok:DaneIdentyfikacyjneZ/dok:PierwszeImie">
    <tr>
                <td class="label">Pierwsze
                                        											imię</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:DanePodatnika/dok:A1/dok:AdresZamieszkaniaZ">
    <tr>
                <td class="sublevel" colspan="2">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:Zalaczniki/dok:DanePodatnika/dok:A1/dok:OswiadczeniePodatnikaZ">
    <tr>
                <td class="sublevel" colspan="2">3.
                                        								OŚWIADCZENIE
                                        								I
                                        								DANE
                                        								PODATNIKA/
                                        								OSOBY
                                        								REPREZENTUJĄCEJ
                                        								PODATNIKA<br/>
    <table>
    <xsl:apply-templates select="dok:OswiadczamZ"/>
    <xsl:apply-templates select="dok:WyrazamZgodeZ"/>
    <xsl:apply-templates select="dok:NieWyrazamZgody"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:DanePodatnika/dok:A1/dok:OswiadczeniePodatnikaZ/dok:OswiadczamZ">
    <tr>
                <td class="sublevel" colspan="2">Oświadczam,
                                        											że
                                        											są
                                        											mi
                                        											znane
                                        											przepisy
                                        											Kodeksu
                                        											karnego
                                        											skarbowego
                                        											o
                                        											odpowiedzialności
                                        											za
                                        											podanie
                                        											danych
                                        											niezgodnych
                                        											z
                                        											rzeczywistością.<br/>
    <table>
    <xsl:apply-templates select="oso:Imie"/>
    <xsl:apply-templates select="oso:Nazwisko"/>
    <xsl:apply-templates select="dok:DataWypelnieniaInformacji"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:DanePodatnika/dok:A1/dok:OswiadczeniePodatnikaZ/dok:OswiadczamZ/dok:DataWypelnieniaInformacji">
    <tr>
                <td class="label">Data
                                        														wypełnienia
                                        														informacji</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:DanePodatnika/dok:A1/dok:OswiadczeniePodatnikaZ/dok:WyrazamZgodeZ">
    <tr>
                <td class="sublevel" colspan="2">Wyrażam
                                        												zgodę<br/>
    <table>
    <xsl:apply-templates select="dok:NaPoinformowanie"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:DanePodatnika/dok:A1/dok:OswiadczeniePodatnikaZ/dok:WyrazamZgodeZ/dok:NaPoinformowanie">
    <tr>
                <td class="sublevel" colspan="2">na
                                        															poinformowanie,
                                        															w
                                        															szczególności
                                        															poprzez:
                                        															krótką
                                        															wiadomość
                                        															tekstową
                                        															(sms)/
                                        															e-mail
                                        															/
                                        															telefon
                                        															/
                                        															faks
                                        															o
                                        															wykonaniu
                                        															obowiązku
                                        															podatkowego.<br/>
    <table>
    <xsl:apply-templates select="dok:PodstawaPrawna"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:DanePodatnika/dok:A1/dok:OswiadczeniePodatnikaZ/dok:WyrazamZgodeZ/dok:NaPoinformowanie/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:Zalaczniki/dok:DanePodatnika/dok:A1/dok:OswiadczeniePodatnikaZ/dok:NieWyrazamZgody">
    <tr>
                <td class="sublevel" colspan="2">Nie
                                        												wyrażam
                                        												zgody<br/>
    <table>
    <xsl:apply-templates select="dok:NaPoinformowanie"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:DanePodatnika/dok:A1/dok:OswiadczeniePodatnikaZ/dok:NieWyrazamZgody/dok:NaPoinformowanie">
    <tr>
                <td class="sublevel" colspan="2">na
                                        															poinformowanie,
                                        															w
                                        															szczególności
                                        															poprzez:
                                        															krótką
                                        															wiadomość
                                        															tekstową
                                        															(sms)/
                                        															e-mail
                                        															/
                                        															telefon
                                        															/
                                        															faks
                                        															o
                                        															wykonaniu
                                        															obowiązku
                                        															podatkowego.<br/>
    <table>
    <xsl:apply-templates select="dok:PodstawaPrawna"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:DanePodatnika/dok:A1/dok:OswiadczeniePodatnikaZ/dok:NieWyrazamZgody/dok:NaPoinformowanie/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:Zalaczniki/dok:ZalacznikRa">
    <tr>
                <td class="sublevel" colspan="2">Dane o zwolnieniach i ulgach
    											podatkowych w podatku rolnym
    											(ZR-1/A)<br/>
    <table>
    <xsl:apply-templates select="dok:Zrodlo"/>
    <xsl:apply-templates select="dok:NipPesel"/>
    <xsl:apply-templates select="dok:PrzeznaczenieWzoru"/>
    <xsl:apply-templates select="dok:DaneIdentyfikacyjne"/>
    <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:ZalacznikRa/dok:NipPesel">
    <tr>
                <td class="sublevel" colspan="2">1. Identyfikator
    														podatnika:
    														NIP¹/PESEL²<br/>
    <table>
    <xsl:apply-templates select="oso:NIP"/>
    <xsl:apply-templates select="oso:PESEL"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRa/dok:PrzeznaczenieWzoru">
    <tr>
                <td class="sublevel" colspan="2">A. Przeznaczenie
    														wzoru<br/>
    <table>
    <xsl:apply-templates select="dok:ZalacznikDo"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRa/dok:PrzeznaczenieWzoru/dok:ZalacznikDo">
    <tr>
                <td class="sublevel" colspan="2">Niniejszy
    																	wzór
    																	stanowi
    																	załącznik
    																	do:<br/>
    <table>
    <xsl:apply-templates select="dok:DeklaracjaNaPodatek"/>
    <xsl:apply-templates select="dok:InformacjaNaPodatek"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRa/dok:PrzeznaczenieWzoru/dok:ZalacznikDo/dok:DeklaracjaNaPodatek">
    <tr>
                <td class="label">1.
    																					deklaracji
    																					na
    																					podatek
    																					rolny
    																					DR-1</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRa/dok:PrzeznaczenieWzoru/dok:ZalacznikDo/dok:InformacjaNaPodatek">
    <tr>
                <td class="label">2.
    																					informacji
    																					na
    																					podatek
    																					rolny
    																					IR-1</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRa/dok:DaneIdentyfikacyjne">
    <tr>
                <td class="sublevel" colspan="2">B. Dane
    														identyfikacyjne<br/>
    <table>
    <xsl:apply-templates select="dok:DanePodatnikaZal"/>
    <xsl:apply-templates select="dok:DanePodatnika2"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRa/dok:DaneIdentyfikacyjne/dok:DanePodatnikaZal">
    <tr>
                <td class="sublevel" colspan="2">B.1.
    																	Dane
    																	podatnika<br/>
    <table>
    <xsl:apply-templates select="dok:RodzajPodatnika"/>
    <xsl:apply-templates select="dok:NazwiskoImie"/>
    <xsl:apply-templates select="dok:Nazwa"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRa/dok:DaneIdentyfikacyjne/dok:DanePodatnikaZal/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:ZalacznikRa/dok:DaneIdentyfikacyjne/dok:DanePodatnikaZal/dok:RodzajPodatnika/dok:OsobaFizyczna">
    <tr>
                <td class="label">osoba
    																								fizyczna</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRa/dok:DaneIdentyfikacyjne/dok:DanePodatnikaZal/dok:RodzajPodatnika/dok:OsobaPrawna">
    <tr>
                <td class="label">osoba
    																								prawna</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRa/dok:DaneIdentyfikacyjne/dok:DanePodatnikaZal/dok:RodzajPodatnika/dok:JednostkaOrganizacyjna">
    <tr>
                <td class="label">jednostka
    																								organizacyjna,
    																								w
    																								tym
    																								spółka,
    																								nieposiadająca
    																								osobowości
    																								prawnej</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRa/dok:DaneIdentyfikacyjne/dok:DanePodatnikaZal/dok:NazwiskoImie">
    <tr>
                <td class="sublevel" colspan="2">Nazwisko
    																					i
    																					imię<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:ZalacznikRa/dok:DaneIdentyfikacyjne/dok:DanePodatnikaZal/dok:NazwiskoImie/dok:Pesel">
    <tr>
                <td class="label">Numer
    																								PESEL</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRa/dok:DaneIdentyfikacyjne/dok:DanePodatnikaZal/dok:Nazwa">
    <tr>
                <td class="sublevel" colspan="2">Nazwa<br/>
    <table>
    <xsl:apply-templates select="dok:NazwaPelna"/>
    <xsl:apply-templates select="dok:NazwaSkrocona"/>
    <xsl:apply-templates select="dok:Regon"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRa/dok:DaneIdentyfikacyjne/dok:DanePodatnikaZal/dok:Nazwa/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:ZalacznikRa/dok:DaneIdentyfikacyjne/dok:DanePodatnikaZal/dok:Nazwa/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:ZalacznikRa/dok:DaneIdentyfikacyjne/dok:DanePodatnikaZal/dok:Nazwa/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:ZalacznikRa/dok:DaneIdentyfikacyjne/dok:DanePodatnika2">
    <tr>
                <td class="sublevel" colspan="2">B.2.
    																	Dane
    																	podatnika<br/>
    <table>
    <xsl:apply-templates select="oso:Nazwisko"/>
    <xsl:apply-templates select="dok:PierwszeImie"/>
    <xsl:apply-templates select="oso:ImieDrugie"/>
    <xsl:apply-templates select="oso:PESEL"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRa/dok:DaneIdentyfikacyjne/dok:DanePodatnika2/dok:PierwszeImie">
    <tr>
                <td class="label">Pierwsze imię</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRa/dok:DaneDotyczaceZwolnien">
    <tr>
                <td class="sublevel" colspan="2">C. Dane
    														dotyczące
    														zwolnień
    														podatkowych
    														wynikających z
    														ustawy lub
    														uchwały Rady
    														Gminy<br/>
    <table>
    <xsl:apply-templates select="dok:TytulPrawnyZwolnienia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRa/dok:DaneDotyczaceZwolnien/dok:TytulPrawnyZwolnienia">
    <tr>
                <td class="sublevel" colspan="2">Tytuł
    																	prawny
    																	zwolnienia<br/>
    <table>
    <xsl:apply-templates select="dok:PodstawaPrawnaZr1A"/>
    <xsl:apply-templates select="dok:Powierzchnia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRa/dok:DaneDotyczaceZwolnien/dok:TytulPrawnyZwolnienia/dok:PodstawaPrawnaZr1A">
    <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:Zalaczniki/dok:ZalacznikRa/dok:DaneDotyczaceZwolnien/dok:TytulPrawnyZwolnienia/dok:Powierzchnia">
    <tr>
                <td class="label">Powierzchnia
    																				w
    																				ha
    																				z
    																				dokładnością
    																				do
    																				1m²</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRa/dok:DaneDotyczaceUlg">
    <tr>
                <td class="sublevel" colspan="2">D. Dane
    														dotyczące ulg
    														podatkowych
    														wynikających z
    														ustawy lub
    														uchwały Rady
    														Gminy<br/>
    <table>
    <xsl:apply-templates select="dok:TytulPrawnyUlgi"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRa/dok:DaneDotyczaceUlg/dok:TytulPrawnyUlgi">
    <tr>
                <td class="sublevel" colspan="2">Tytuł
    																	prawny
    																	ulgi<br/>
    <table>
    <xsl:apply-templates select="dok:Tekst"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRa/dok:DaneDotyczaceUlg/dok:TytulPrawnyUlgi/dok:Tekst">
    <tr>
                <td class="label"> </td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRb">
    <tr>
                <td class="sublevel" colspan="2">Dane o nieruchomościach
    											rolnych ( ZR-1/B)<br/>
    <table>
    <xsl:apply-templates select="dok:Zrodlo"/>
    <xsl:apply-templates select="dok:NipPesel"/>
    <xsl:apply-templates select="dok:PrzeznaczenieWzoru"/>
    <xsl:apply-templates select="dok:DaneIdentyfikacyjne"/>
    <xsl:apply-templates select="dok:DaneNieruchomosciObiektow"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRb/dok:NipPesel">
    <tr>
                <td class="sublevel" colspan="2">Identyfikator
    														podatnika:
    														NIP¹/PESEL²<br/>
    <table>
    <xsl:apply-templates select="oso:NIP"/>
    <xsl:apply-templates select="oso:PESEL"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRb/dok:PrzeznaczenieWzoru">
    <tr>
                <td class="sublevel" colspan="2">A. Przeznaczenie
    														wzoru<br/>
    <table>
    <xsl:apply-templates select="dok:ZalacznikDo"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRb/dok:PrzeznaczenieWzoru/dok:ZalacznikDo">
    <tr>
                <td class="sublevel" colspan="2">Niniejszy
    																	wzór
    																	stanowi
    																	załącznik
    																	do:<br/>
    <table>
    <xsl:apply-templates select="dok:Deklaracja"/>
    <xsl:apply-templates select="dok:Informacja"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRb/dok:PrzeznaczenieWzoru/dok:ZalacznikDo/dok:Deklaracja">
    <tr>
                <td class="label">1.
    																					deklaracji
    																					na
    																					podatek
    																					rolny</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRb/dok:PrzeznaczenieWzoru/dok:ZalacznikDo/dok:Informacja">
    <tr>
                <td class="label">2.
    																					informacji
    																					na
    																					podatek
    																					rolny</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRb/dok:DaneIdentyfikacyjne">
    <tr>
                <td class="sublevel" colspan="2">B. Dane
    														identyfikacyjne<br/>
    <table>
    <xsl:apply-templates select="dok:DanePodatnikaZal"/>
    <xsl:apply-templates select="dok:DanePodatnika2"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRb/dok:DaneIdentyfikacyjne/dok:DanePodatnikaZal">
    <tr>
                <td class="sublevel" colspan="2">B.1.
    																	Dane
    																	podatnika<br/>
    <table>
    <xsl:apply-templates select="dok:RodzajPodatnika"/>
    <xsl:apply-templates select="dok:NazwiskoImie"/>
    <xsl:apply-templates select="dok:Nazwa"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRb/dok:DaneIdentyfikacyjne/dok:DanePodatnikaZal/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:ZalacznikRb/dok:DaneIdentyfikacyjne/dok:DanePodatnikaZal/dok:RodzajPodatnika/dok:OsobaFizyczna">
    <tr>
                <td class="label">osoba
    																								fizyczna</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRb/dok:DaneIdentyfikacyjne/dok:DanePodatnikaZal/dok:RodzajPodatnika/dok:OsobaPrawna">
    <tr>
                <td class="label">osoba
    																								prawna</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRb/dok:DaneIdentyfikacyjne/dok:DanePodatnikaZal/dok:RodzajPodatnika/dok:JednostkaOrganizacyjna">
    <tr>
                <td class="label">jednostka
    																								organizacyjna,
    																								w
    																								tym
    																								spółka,
    																								nieposiadająca
    																								osobowości
    																								prawnej</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRb/dok:DaneIdentyfikacyjne/dok:DanePodatnikaZal/dok:NazwiskoImie">
    <tr>
                <td class="sublevel" colspan="2">Nazwisko
    																					i
    																					imię<br/>
    <table>
    <xsl:apply-templates select="oso:Nazwisko"/>
    <xsl:apply-templates select="dok:PierwszeImie"/>
    <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:ZalacznikRb/dok:DaneIdentyfikacyjne/dok:DanePodatnikaZal/dok:NazwiskoImie/dok:PierwszeImie">
    <tr>
                <td class="label">Pierwsze imię</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRb/dok:DaneIdentyfikacyjne/dok:DanePodatnikaZal/dok:NazwiskoImie/dok:Pesel">
    <tr>
                <td class="label">Numer
    																								PESEL</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRb/dok:DaneIdentyfikacyjne/dok:DanePodatnikaZal/dok:Nazwa">
    <tr>
                <td class="sublevel" colspan="2">Nazwa<br/>
    <table>
    <xsl:apply-templates select="dok:NazwaPelna"/>
    <xsl:apply-templates select="dok:NazwaSkrocona"/>
    <xsl:apply-templates select="dok:Regon"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRb/dok:DaneIdentyfikacyjne/dok:DanePodatnikaZal/dok:Nazwa/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:ZalacznikRb/dok:DaneIdentyfikacyjne/dok:DanePodatnikaZal/dok:Nazwa/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:ZalacznikRb/dok:DaneIdentyfikacyjne/dok:DanePodatnikaZal/dok:Nazwa/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:ZalacznikRb/dok:DaneIdentyfikacyjne/dok:DanePodatnika2">
    <tr>
                <td class="sublevel" colspan="2">B.2.
    																	Dane
    																	podatnika<br/>
    <table>
    <xsl:apply-templates select="oso:Nazwisko"/>
    <xsl:apply-templates select="dok:PierwszeImie"/>
    <xsl:apply-templates select="oso:ImieDrugie"/>
    <xsl:apply-templates select="oso:PESEL"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRb/dok:DaneIdentyfikacyjne/dok:DanePodatnika2/dok:PierwszeImie">
    <tr>
                <td class="label">Pierwsze imię</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRb/dok:DaneNieruchomosciObiektow">
    <tr>
                <td class="sublevel" colspan="2">C. Dane o
    														nieruchomościach
    														rolnych
    														podlegających
    														opodatkowaniu
    														lub zwolnieniu<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"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRb/dok:DaneNieruchomosciObiektow/dok:PolozenieNieruchomosci">
    <tr>
                <td class="label">C.1.
    																	Położenie
    																	nieruchomości
    																	(adres)</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRb/dok:DaneNieruchomosciObiektow/dok:TytulPrawny">
    <tr>
                <td class="sublevel" colspan="2">C.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:ZalacznikRb/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:ZalacznikRb/dok:DaneNieruchomosciObiektow/dok:IdentyfikatoryGeodezyjne">
    <tr>
                <td class="sublevel" colspan="2">C.3.
    																	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:ZalacznikRb/dok:DaneNieruchomosciObiektow/dok:IdentyfikatoryGeodezyjne/dok:Dzialki">
    <tr>
                <td class="label">Działki (Obręb, karta mapy, numer 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:ZalacznikRb/dok:DaneNieruchomosciObiektow/dok:KsiegaWieczysta">
    <tr>
                <td class="sublevel" colspan="2">C.4.
    																	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:ZalacznikRb/dok:DaneNieruchomosciObiektow/dok:KsiegaWieczysta/dok:NumerKsiegi">
    <tr>
                <td class="label">Numer
    																				księgi
    																				wieczystej
    																				dla gruntu</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zalaczniki/dok:ZalacznikRb/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:FormaOdbioru">
    <tr>
                <td class="label">Forma odbioru dokumentów</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:Rok">
    <tr>
                <td class="label">Rok</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:RodzajDecyzji">
    <tr>
                <td class="label">Rodzaj decyzji</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: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: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:DataWniosku">
    <tr>
                <td class="label">Data</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: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:SygnaturaSprawy">
    <tr>
                <td class="label">Sygnatura sprawy</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: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: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>