1155

ID1155
Data2013-05-16
Symbol2013/05/16/1155
InstytucjaUrząd Miasta Łodzi
NazwaInformacja w sprawie podatku rolnego IR-1
Czy Aktualny0

Ustawy (1)

  • URI://Dziennik_Ustaw/2006/136/969/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:adr="http://crd.gov.pl/xml/schematy/adres/2009/11/09/" xmlns:inst="http://crd.gov.pl/xml/schematy/instytucja/2009/11/16/" xmlns:meta="http://crd.gov.pl/xml/schematy/meta/2009/11/16/" xmlns:oso="http://crd.gov.pl/xml/schematy/osoba/2009/11/16/" xmlns:str="http://crd.gov.pl/xml/schematy/struktura/2009/11/16/" xmlns:wnio="http://crd.gov.pl/wzor/2013/05/16/1155/" version="1.0">
    	
    	<xsl:output version="4.0" method="html" indent="yes" encoding="UTF-8"/>
    	<xsl:variable name="XML" select="/"/>
    	<xsl:decimal-format name="Polish" decimal-separator="," grouping-separator="."/>
    	 
    	<xsl:template match="/">
    		<html>
    			<head> 
    				<title>
    					<xsl:text>INFORMACJA W SPRAWIE PODATKU ROLNEGO</xsl:text>
    				</title>  
    				
    				<style type="text/css"> body { font-family: Arial; font-size: 8pt; color: #000000; text-align: left}</style>
    				<style type="text/css"> table {; border-width: 1px; border-style: solid; border-collapse: collapse; font-size: 8pt; border-color: black}</style>
    				<style type="text/css"> table { font-size: 9pt; font-family: Arial;color: #000000; text-align: left}</style>
    				<style type="text/css"> td {font-size: 9pt; font-family: Arial;vertical-align:top; text-align: left;}</style>
    				
    				<style type="text/css"> .innerBox { position:relative; border: solid 1px; top:5px; left:20px;  background: white; min-height:30px;overflow:hidden }</style>			
    								
    				<style type="text/css"> .def { width:100px; border-width: 1px 1px 0 0; border-style: solid; vertical-align:top}</style>		
    				<style type="text/css"> .defg { width:100px; border-width: 1px 1px 0 0; border-style: solid;background: #aaaaaa; vertical-align:top}</style>
    				<style type="text/css"> .section {width:4px; background: #aaaaaa}</style>
    				<style type="text/css"> .tableHeader {font-weight: bold;text-align:center; background: #eeeeee}</style>
    				
    				<!-- NOWE STYLE -->
    				<style type="text/css"> .docHeader { font-size: 12pt; font-weight:bold }</style>	
    				<style type="text/css"> .sectionHeader { font-size: 12pt; font-weight:bold }</style>	
    				<style type="text/css"> .mainBlockHeader {  font-size: 12pt; font-weight:bold;margin: 5px 5px 0px 5px  }</style>	
    				<style type="text/css"> .innerBlock { background: white; margin: 5px 0px 0px 30px; border: solid 1px; border-bottom:0px; border-right:0px;}</style>					
    				<style type="text/css"> .blockContent { height:20px; margin: 3px 3px 0 3px; height:auto }</style>		
    				<style type="text/css"> .tdContent {background: white;  height:20px; margin: 3px 0 0 3px; border:solid 1px black }</style>
    				<style type="text/css">	
    				
    					#mainBlock { border: solid 1px; background: #eeeeee;}				
    					
    					.gridCell {font-size:9pt; vertical-align:middle;border: solid 1px black;  height:30px; }
    					.gridValue {vertical-align:middle;text-align:center; border: solid 1px black; background: white; height:30px; margin: 10px 14px 10px 10px }
    					</style>		
    				 
    			</head>
    
    			<body> <span style="font-size:9pt;font-family-Arial">
    			
    				<div style="border: solid 1px; width:350px;float:left; height:35px">
    						<div style="text-align:left; font-size:7pt;font-weight:bold;margin: 3px;">
    					1. Numer Identyfikacji Podatkowej podatnika
    				 </div>
    						<center>
    							<xsl:value-of select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Informacja/wnio:Podatnicy/wnio:Osoba/wnio:Identyfikatory/wnio:NIP"/>
    						</center>
    					</div>
    					<div style="border: solid 1px; width:200px;float:left; height:35px; border-left: 0px; background: #eeeeee">
    						<div style="text-align:left; font-size:7pt;font-weight:bold;margin: 3px;">2. Nr dokumentu</div>
    					</div>
    					<div style="clear:both"/>
    					<div class="docHeader" style="position:relative">
    						<div style="position:absolute; top:0px; left: 0px; width:100%">
    						IR - 1<br/>
    							<center>INFORMACJA W SPRAWIE PODATKU ROLNEGO</center>
    						</div>
    					</div>
    					<br/>
    					<br/>
    					<br/>
    					<br/>
    					<center>
    						<div style="text-align: left; border: solid 1px; width:100px; min-height:30px; margin: 10px 0 10px 0;">
    							<xsl:call-template name="BlockLabel">
    								<xsl:with-param name="text">3. Rok</xsl:with-param>
    							</xsl:call-template>
    							<center>
    								<xsl:value-of select="wnio:Dokument/wnio:TrescDokumentu/wnio:Informacja/wnio:Rok"/>
    							</center>
    						</div>
    					</center>
    					
    					
    					<table cellspacing="0" cellpadding="2" style="border-width: 1px 1px 1px 1px;  border-style: solid;border-collapse: collapse; font-size: 8pt; border-color:black;background: #eeeeee" width="100%">
    						<tr>
    							<td width="140" style="font-size: 8pt">Podstawa prawna:</td>
    							<td style="font-size: 8pt">Ustawa z dnia 15 listopada 1984r. o podatku rolnym (t.j. Dz. U. z 2006r. Nr 136, poz. 969 ze zm.)</td>
    						</tr>
    						<tr>
    							<td width="140" style="font-size: 8pt">Składający:</td>
    							<td style="font-size: 8pt"> Formularz przeznaczony dla osób fizycznych będących właścicielami gruntów, posiadaczami samoistnymi gruntów, użytkownikami wieczystymi gruntów, posiadaczami gruntów, stanowiących własność Skarbu Państwa lub jednostki samorządu terytorialnego.</td>
    						</tr>
    						<tr>
    							<td width="140" style="font-size: 8pt">Termin składania:</td>
    							<td style="font-size: 8pt"> 14 dni od daty zaistnienia okoliczności mających wpływ na powstanie (wygaśnięcie) obowiązku podatkowego lub wysokość opodatkowania.</td>
    						</tr>
    						<tr>
    							<td width="140" style="font-size: 8pt">Miejsce składania:</td>
    							<td style="font-size: 8pt">Organ podatkowy właściwy ze  względu na miejsce położenia nieruchomości</td>
    						</tr>
    					</table>					
    
    				<table width="100%" style="background:#eeeeee; border: solid 1px black; border-bottom: 0px">
    					<tr>
    						<td>
    							<div class="mainBlockHeader">A. MIEJSCE SKŁADANIA DEKLARACJI</div>
    						</td>
    					</tr>
    				</table>			
    				
    					<table width="100%" style="background:#eeeeee; border: solid 1px black; border-top: 0px" cellspacing="0">
    						<tr>
    							<td style="width:30px;"/>
    							<td style="border:solid 1px black; border-bottom:0px; border-right:0px; background: white">
    								<xsl:call-template name="BlockLabel">
    									<xsl:with-param name="text">4. Nazwa i adres siedziby organu podatkowego</xsl:with-param>
    								</xsl:call-template>
    								<span style="vertical-align:middle">
    									<table border="0" style="border: 0px" width="100%">
    										<tr>
    											<td style="font-weight:bold; font-size:11pt">
    												<xsl:if test="contains(wnio:Dokument/wnio:DaneDokumentu/str:Adresaci/meta:Podmiot/inst:Instytucja/inst:NazwaInstytucji,',')">
    													<xsl:value-of select="substring-before(wnio:Dokument/wnio:DaneDokumentu/str:Adresaci/meta:Podmiot/inst:Instytucja/inst:NazwaInstytucji,',')"/><br/>
    													<xsl:value-of select="substring-after(wnio:Dokument/wnio:DaneDokumentu/str:Adresaci/meta:Podmiot/inst:Instytucja/inst:NazwaInstytucji,',')"/>
    												</xsl:if>
    												<xsl:if test="not(contains(wnio:Dokument/wnio:DaneDokumentu/str:Adresaci/meta:Podmiot/inst:Instytucja/inst:NazwaInstytucji,','))">
    													<xsl:value-of select="wnio:Dokument/wnio:DaneDokumentu/str:Adresaci/meta:Podmiot/inst:Instytucja/inst:NazwaInstytucji"/>
    												</xsl:if>	
    												<br/>
    												<xsl:for-each select="wnio:Dokument/wnio:DaneDokumentu/str:Adresaci/meta:Podmiot/inst:Instytucja/adr:Adres">
    													<xsl:call-template name="AdresOneLine"/>
    												</xsl:for-each>
    												<br/>
    											</td>
    										</tr>
    									</table>
    								</span>								
    							</td>
    						</tr>
    					</table>		
    			<xsl:for-each select="wnio:Dokument/wnio:TrescDokumentu/wnio:Informacja">
    			
    	
    	
    						<table width="100%" style="background:#eeeeee; border: solid 1px black; border-bottom: 0px">
    							<tr>
    								<td>
    									<div class="mainBlockHeader">B. OBOWIĄZEK ZŁOŻENIA DEKLARACJI</div>
    									<div style="margin-left:30px">Podatnik ma obowiązek złożenia wraz z korektą deklaracji pisemnego uzasadnienia przyczyny korekty - art. 81 ustawy Ordynacja podatkowa.</div>
    								</td>
    							</tr>
    						</table>
    						<table width="100%" style="background:#eeeeee; border: solid 1px black; border-top: 0px" cellspacing="0">
    							<tr>
    								<td style="width:30px;"/>
    								<td style="border:solid 1px black; border-bottom:0px; border-right:0px; background: white">
    									<xsl:call-template name="BlockLabel">
    										<xsl:with-param name="text">5. Okoliczności powodujące obowiązek złożenia informacji (zaznaczyć właściwy kwadrat)</xsl:with-param>
    									</xsl:call-template>
    									<table width="100%" style="border: 0px">
    										<tr>
    											<td/>
    											<td width="20">
    												<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    													<xsl:if test="wnio:Typ='I'">
    														<b>
    															<center>X</center>
    														</b>
    													</xsl:if>
    												</div>
    											</td>
    											<td>1. informacja składana po raz pierwszy</td>
    											<td/>
    											<td width="20">
    												<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    													<xsl:if test="wnio:Typ='K'">
    														<b>
    															<center>X</center>
    														</b>
    													</xsl:if>
    												</div>
    											</td>
    											<td>2. korekta uprzednio złożonej informacji (miesiąc – rok):
    									<xsl:if test="wnio:Typ='K'">
    													<xsl:call-template name="Miesiac">
    														<xsl:with-param name="miesiac" select="wnio:Miesiac"/>
    													</xsl:call-template>
    												</xsl:if>
    												<xsl:if test="wnio:Typ='I'">
    										 ..........................
    									</xsl:if>
    											</td>
    											<td/>
    										</tr>
    									</table>
    								</td>
    							</tr>
    						</table>
    						<table width="100%" style="background:#eeeeee; border: solid 1px black; border-bottom: 0px">
    							<tr>
    								<td>
    									<div class="mainBlockHeader">C. PODMIOT ZOBOWIĄZANY DO ZŁOŻENIA INFORMACJI</div>
    								</td>
    							</tr>
    						</table>
    						<table width="100%" style="background:#eeeeee; border: solid 1px black; border-top: 0px" cellspacing="0">
    							<tr>
    								<td style="width:30px;"/>
    								<td style="border:solid 1px black; border-bottom:0px; border-right:0px; background: white">
    									<xsl:call-template name="BlockLabel">
    										<xsl:with-param name="text">6. Rodzaj podmiotu (zaznaczyć właściwy kwadrat)</xsl:with-param>
    									</xsl:call-template>
    									<table width="100%" style="border: 0px">
    										<tr>
    											<td/>
    											<td width="20">
    												<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    													<xsl:if test="wnio:RodzajPodmiotu='WLS'">
    														<b>
    															<center>X</center>
    														</b>
    													</xsl:if>
    												</div>
    											</td>
    											<td>1. właściciel, użytkownik wieczysty lub posiadacz	</td>
    											<td/>
    											<td width="20">
    												<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    													<xsl:if test="wnio:RodzajPodmiotu='WSP'">
    														<b>
    															<center>X</center>
    														</b>
    													</xsl:if>
    												</div>
    											</td>
    											<td>
    										2. współwłaściciel, współużytkownik wieczysty lub współposiadacz 
    									</td>
    											<td/>
    										</tr>
    									</table>
    								</td>
    							</tr>
    						</table>
    						<div id="mainBlock">
    							<div class="mainBlockHeader">D. DANE PODATNIKA</div>
    						</div>
    						<xsl:call-template name="Osoba">
    							<xsl:with-param name="osoba" select="wnio:Podatnicy/wnio:Osoba"/>
    							<xsl:with-param name="nazwa" select="'D.1. DANE IDENTYFIKACYJNE'"/>
    						</xsl:call-template>
    					
    					
    
    						<div id="mainBlock" style="margin: 0px 0 0 0 ">
    							<div class="mainBlockHeader">D.2. ADRES ZAMIESZKANIA </div>
    						
    							<xsl:call-template name="Adres">
    								<xsl:with-param name="adres" select="wnio:Podatnicy/wnio:Osoba/wnio:Adres"/>
    								<xsl:with-param name="numer" select="16"/>
    							</xsl:call-template>	
    						</div>																													
    		
    		
    						<div id="mainBlock" style="margin: 0px 0 0 0 ">
    							<div class="mainBlockHeader">D.3. ADRES DO KORESPONDENCJI</div>
    						
    							<xsl:call-template name="Adres">
    								<xsl:with-param name="adres" select="wnio:Podatnicy/wnio:Osoba/wnio:AdresKorespondencyjny/wnio:Adres"/>
    								<xsl:with-param name="numer" select="26"/>
    							</xsl:call-template>	
    						</div>	
    				
    				
    						<br clear="ALL" style="page-break-before:always;mso-break-type:section-break"/>					
    					
    					
    					
    					
    
    				<div id="mainBlock" style="margin: -1px 0 0 0; font-size:8pt">
    					<div class="mainBlockHeader">E. DANE DOTYCZĄCE UŻYTKÓW ROLNYCH STANOWIĄCYCH GOSPODARSTWO ROLNE<sup>1)</sup></div>
    
    					<table cellpadding="0" cellspacing="0" width="100%" style="border:0px">
    						<tr>
    							<td width="30"/>
    							<td>
    								<table cellspacing="0" cellpadding="4" width="100%" style="border-collapse: collapse">
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt">
    											<b>E.1. GRUNTY ORNE</b>
    										</td>
    									</tr>										
    								</table>
    								
    								<table cellspacing="0" cellpadding="4" width="100%" style="border-collapse: collapse">
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt"><b>Klasa użytków rolnych</b></td>
    										<td width="12%" class="gridCell" style="border: solid 1px black;font-size:11pt">I</td>
    										<td width="12%" class="gridCell" style="border: solid 1px black;font-size:11pt">II</td>
    										<td width="12%" class="gridCell" style="border: solid 1px black;font-size:11pt">IIIa</td>
    										<td width="12%" class="gridCell" style="border: solid 1px black;font-size:11pt">IIIb</td>
    										<td width="12%" class="gridCell" style="border: solid 1px black;font-size:11pt">IVa</td>
    										<td width="12%" class="gridCell" style="border: solid 1px black;font-size:11pt">IVb</td>
    									</tr>
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt"><b>Powierzchnia w ha</b></td>
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e1'"/>	
    											<xsl:with-param name="kod" select="'I'"/>
    											<xsl:with-param name="numer" select="36"/>
    										</xsl:call-template>	
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e1'"/>	
    											<xsl:with-param name="kod" select="'II'"/>
    											<xsl:with-param name="numer" select="37"/>
    										</xsl:call-template>	
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e1'"/>	
    											<xsl:with-param name="kod" select="'IIIa'"/>
    											<xsl:with-param name="numer" select="38"/>
    										</xsl:call-template>		
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e1'"/>	
    											<xsl:with-param name="kod" select="'IIIb'"/>
    											<xsl:with-param name="numer" select="39"/>
    										</xsl:call-template>				
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e1'"/>	
    											<xsl:with-param name="kod" select="'IVa'"/>
    											<xsl:with-param name="numer" select="40"/>
    										</xsl:call-template>		
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e1'"/>	
    											<xsl:with-param name="kod" select="'IVb'"/>
    											<xsl:with-param name="numer" select="41"/>
    										</xsl:call-template>																																																																					
    									</tr>
    								</table>	
    								
    								<table cellspacing="0" cellpadding="4" width="100%" style="border-collapse: collapse">
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt" colspan="5">
    											<b>E.2. ŁĄKI I PASTWISKA</b>
    										</td>
    									</tr>									
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt"><b>Klasa użytków rolnych</b></td>
    										<td width="20%" class="gridCell" style="border: solid 1px black;font-size:11pt">I</td>
    										<td width="20%" class="gridCell" style="border: solid 1px black;font-size:11pt">II</td>
    										<td width="20%" class="gridCell" style="border: solid 1px black;font-size:11pt">III</td>
    										<td width="20%" class="gridCell" style="border: solid 1px black;font-size:11pt">IV</td>
    									</tr>	
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt"><b>Powierzchnia w ha</b></td>
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e2'"/>	
    											<xsl:with-param name="kod" select="'I'"/>
    											<xsl:with-param name="numer" select="42"/>
    										</xsl:call-template>	
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e2'"/>	
    											<xsl:with-param name="kod" select="'II'"/>
    											<xsl:with-param name="numer" select="43"/>
    										</xsl:call-template>	
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e2'"/>	
    											<xsl:with-param name="kod" select="'III'"/>
    											<xsl:with-param name="numer" select="44"/>
    										</xsl:call-template>		
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e2'"/>	
    											<xsl:with-param name="kod" select="'IV'"/>
    											<xsl:with-param name="numer" select="45"/>
    										</xsl:call-template>				
    	
    									</tr>																	
    								</table>
    																								
    																								
    								<table cellspacing="0" cellpadding="4" width="100%" style="border-collapse: collapse">
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt" colspan="7">
    											<b>E.3. SADY</b>
    										</td>
    									</tr>	
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt"><b>Klasa użytków rolnych</b></td>
    										<td width="12%" class="gridCell" style="border: solid 1px black;font-size:11pt">I</td>
    										<td width="12%" class="gridCell" style="border: solid 1px black;font-size:11pt">II</td>
    										<td width="12%" class="gridCell" style="border: solid 1px black;font-size:11pt">IIIa</td>
    										<td width="12%" class="gridCell" style="border: solid 1px black;font-size:11pt">IIIb</td>
    										<td width="12%" class="gridCell" style="border: solid 1px black;font-size:11pt">IVa</td>
    										<td width="12%" class="gridCell" style="border: solid 1px black;font-size:11pt">IVb</td>
    									</tr>
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt"><b>Powierzchnia w ha</b></td>
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e3'"/>	
    											<xsl:with-param name="kod" select="'I'"/>
    											<xsl:with-param name="numer" select="46"/>
    										</xsl:call-template>	
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e3'"/>	
    											<xsl:with-param name="kod" select="'II'"/>
    											<xsl:with-param name="numer" select="47"/>
    										</xsl:call-template>	
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e3'"/>	
    											<xsl:with-param name="kod" select="'IIIa'"/>
    											<xsl:with-param name="numer" select="48"/>
    										</xsl:call-template>		
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e3'"/>	
    											<xsl:with-param name="kod" select="'IIIb'"/>
    											<xsl:with-param name="numer" select="49"/>
    										</xsl:call-template>				
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e3'"/>	
    											<xsl:with-param name="kod" select="'IVa'"/>
    											<xsl:with-param name="numer" select="50"/>
    										</xsl:call-template>		
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e3'"/>	
    											<xsl:with-param name="kod" select="'IVb'"/>
    											<xsl:with-param name="numer" select="51"/>
    										</xsl:call-template>																																															
    									</tr>																								
    								</table>																
    
    
    								<table cellspacing="0" cellpadding="4" width="100%" style="border-collapse: collapse">
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt" colspan="7">
    											<b>E.4. GRUNTY POD STAWAMI NIEZARYBIONYMI - grunty orne</b>
    										</td>
    									</tr>	
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt"><b>Klasa użytków rolnych</b></td>
    										<td width="12%" class="gridCell" style="border: solid 1px black;font-size:11pt">I</td>
    										<td width="12%" class="gridCell" style="border: solid 1px black;font-size:11pt">II</td>
    										<td width="12%" class="gridCell" style="border: solid 1px black;font-size:11pt">IIIa</td>
    										<td width="12%" class="gridCell" style="border: solid 1px black;font-size:11pt">IIIb</td>
    										<td width="12%" class="gridCell" style="border: solid 1px black;font-size:11pt">IVa</td>
    										<td width="12%" class="gridCell" style="border: solid 1px black;font-size:11pt">IVb</td>
    									</tr>
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt"><b>Powierzchnia w ha</b></td>
    									<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e4'"/>	
    											<xsl:with-param name="kod" select="'I'"/>
    											<xsl:with-param name="numer" select="52"/>
    										</xsl:call-template>	
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e4'"/>	
    											<xsl:with-param name="kod" select="'II'"/>
    											<xsl:with-param name="numer" select="53"/>
    										</xsl:call-template>	
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e4'"/>	
    											<xsl:with-param name="kod" select="'IIIa'"/>
    											<xsl:with-param name="numer" select="54"/>
    										</xsl:call-template>		
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e4'"/>	
    											<xsl:with-param name="kod" select="'IIIb'"/>
    											<xsl:with-param name="numer" select="55"/>
    										</xsl:call-template>				
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e4'"/>	
    											<xsl:with-param name="kod" select="'IVa'"/>
    											<xsl:with-param name="numer" select="56"/>
    										</xsl:call-template>		
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e4'"/>	
    											<xsl:with-param name="kod" select="'IVb'"/>
    											<xsl:with-param name="numer" select="57"/>
    										</xsl:call-template>																																															
    																																																							
    									</tr>																								
    								</table>																
    
    
    								<table cellspacing="0" cellpadding="4" width="100%" style="border-collapse: collapse">
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt" colspan="5">
    											<b>E.5. GRUNTY POD STAWAMI NIEZARYBIONYMI - łąki i pastwiska</b>
    										</td>
    									</tr>	
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt"><b>Klasa użytków rolnych</b></td>
    										<td width="20%" class="gridCell" style="border: solid 1px black;font-size:11pt">I</td>
    										<td width="20%" class="gridCell" style="border: solid 1px black;font-size:11pt">II</td>
    										<td width="20%" class="gridCell" style="border: solid 1px black;font-size:11pt">III</td>
    										<td width="20%" class="gridCell" style="border: solid 1px black;font-size:11pt">IV</td>
    									</tr>
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt"><b>Powierzchnia w ha</b></td>
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e5'"/>	
    											<xsl:with-param name="kod" select="'I'"/>
    											<xsl:with-param name="numer" select="58"/>
    										</xsl:call-template>	
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e5'"/>	
    											<xsl:with-param name="kod" select="'II'"/>
    											<xsl:with-param name="numer" select="59"/>
    										</xsl:call-template>	
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e5'"/>	
    											<xsl:with-param name="kod" select="'III'"/>
    											<xsl:with-param name="numer" select="60"/>
    										</xsl:call-template>		
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e5'"/>	
    											<xsl:with-param name="kod" select="'IV'"/>
    											<xsl:with-param name="numer" select="61"/>
    										</xsl:call-template>				
    																															
    									</tr>				
    								</table>																
    
    								<table cellspacing="0" cellpadding="4" width="100%" style="border-collapse: collapse">
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt" colspan="7">
    											<b>E.6. GRUNTY ROLNE ZABUDOWANE - grunty orne</b>
    										</td>
    									</tr>	
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt"><b>Klasa użytków rolnych</b></td>
    										<td width="12%" class="gridCell" style="border: solid 1px black;font-size:11pt">I</td>
    										<td width="12%" class="gridCell" style="border: solid 1px black;font-size:11pt">II</td>
    										<td width="12%" class="gridCell" style="border: solid 1px black;font-size:11pt">IIIa</td>
    										<td width="12%" class="gridCell" style="border: solid 1px black;font-size:11pt">IIIb</td>
    										<td width="12%" class="gridCell" style="border: solid 1px black;font-size:11pt">IVa</td>
    										<td width="12%" class="gridCell" style="border: solid 1px black;font-size:11pt">IVb</td>
    									</tr>
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt"><b>Powierzchnia w ha</b></td>
    									<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e6'"/>	
    											<xsl:with-param name="kod" select="'I'"/>
    											<xsl:with-param name="numer" select="62"/>
    										</xsl:call-template>	
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e6'"/>	
    											<xsl:with-param name="kod" select="'II'"/>
    											<xsl:with-param name="numer" select="63"/>
    										</xsl:call-template>	
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e6'"/>	
    											<xsl:with-param name="kod" select="'IIIa'"/>
    											<xsl:with-param name="numer" select="64"/>
    										</xsl:call-template>		
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e6'"/>	
    											<xsl:with-param name="kod" select="'IIIb'"/>
    											<xsl:with-param name="numer" select="65"/>
    										</xsl:call-template>				
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e6'"/>	
    											<xsl:with-param name="kod" select="'IVa'"/>
    											<xsl:with-param name="numer" select="66"/>
    										</xsl:call-template>		
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e6'"/>	
    											<xsl:with-param name="kod" select="'IVb'"/>
    											<xsl:with-param name="numer" select="67"/>
    										</xsl:call-template>																																															
    																																																							
    									</tr>																								
    								</table>																
    
    								<table cellspacing="0" cellpadding="4" width="100%" style="border-collapse: collapse">
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt" colspan="5">
    											<b>E.7. GRUNTY ROLNE ZABUDOWANE - łąki i pastwiska</b>
    										</td>
    									</tr>	
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt"><b>Klasa użytków rolnych</b></td>
    										<td width="20%" class="gridCell" style="border: solid 1px black;font-size:11pt">I</td>
    										<td width="20%" class="gridCell" style="border: solid 1px black;font-size:11pt">II</td>
    										<td width="20%" class="gridCell" style="border: solid 1px black;font-size:11pt">III</td>
    										<td width="20%" class="gridCell" style="border: solid 1px black;font-size:11pt">IV</td>
    									</tr>
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt"><b>Powierzchnia w ha</b></td>
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e7'"/>	
    											<xsl:with-param name="kod" select="'I'"/>
    											<xsl:with-param name="numer" select="68"/>
    										</xsl:call-template>	
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e7'"/>	
    											<xsl:with-param name="kod" select="'II'"/>
    											<xsl:with-param name="numer" select="69"/>
    										</xsl:call-template>	
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e7'"/>	
    											<xsl:with-param name="kod" select="'III'"/>
    											<xsl:with-param name="numer" select="70"/>
    										</xsl:call-template>		
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e7'"/>	
    											<xsl:with-param name="kod" select="'IV'"/>
    											<xsl:with-param name="numer" select="71"/>
    										</xsl:call-template>				
    																															
    									</tr>				
    								</table>																
    
    
    								<table cellspacing="0" cellpadding="4" width="100%" style="border-collapse: collapse">
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt" colspan="7">
    											<b>E.8. ROWY - grunty orne</b>
    										</td>
    									</tr>	
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt"><b>Klasa użytków rolnych</b></td>
    										<td width="12%" class="gridCell" style="border: solid 1px black;font-size:11pt">I</td>
    										<td width="12%" class="gridCell" style="border: solid 1px black;font-size:11pt">II</td>
    										<td width="12%" class="gridCell" style="border: solid 1px black;font-size:11pt">IIIa</td>
    										<td width="12%" class="gridCell" style="border: solid 1px black;font-size:11pt">IIIb</td>
    										<td width="12%" class="gridCell" style="border: solid 1px black;font-size:11pt">IVa</td>
    										<td width="12%" class="gridCell" style="border: solid 1px black;font-size:11pt">IVb</td>
    									</tr>
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt"><b>Powierzchnia w ha</b></td>
    									<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e8'"/>	
    											<xsl:with-param name="kod" select="'I'"/>
    											<xsl:with-param name="numer" select="72"/>
    										</xsl:call-template>	
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e8'"/>	
    											<xsl:with-param name="kod" select="'II'"/>
    											<xsl:with-param name="numer" select="73"/>
    										</xsl:call-template>	
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e8'"/>	
    											<xsl:with-param name="kod" select="'IIIa'"/>
    											<xsl:with-param name="numer" select="74"/>
    										</xsl:call-template>		
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e8'"/>	
    											<xsl:with-param name="kod" select="'IIIb'"/>
    											<xsl:with-param name="numer" select="75"/>
    										</xsl:call-template>				
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e8'"/>	
    											<xsl:with-param name="kod" select="'IVa'"/>
    											<xsl:with-param name="numer" select="76"/>
    										</xsl:call-template>		
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e8'"/>	
    											<xsl:with-param name="kod" select="'IVb'"/>
    											<xsl:with-param name="numer" select="77"/>
    										</xsl:call-template>																																															
    																																																							
    									</tr>																								
    								</table>																
    
    								<table cellspacing="0" cellpadding="4" width="100%" style="border-collapse: collapse">
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt" colspan="5">
    											<b>E.9. ROWY - łąki i pastwiska</b>
    										</td>
    									</tr>	
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt"><b>Klasa użytków rolnych</b></td>
    										<td width="20%" class="gridCell" style="border: solid 1px black;font-size:11pt">I</td>
    										<td width="20%" class="gridCell" style="border: solid 1px black;font-size:11pt">II</td>
    										<td width="20%" class="gridCell" style="border: solid 1px black;font-size:11pt">III</td>
    										<td width="20%" class="gridCell" style="border: solid 1px black;font-size:11pt">IV</td>
    									</tr>
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt"><b>Powierzchnia w ha</b></td>
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e9'"/>	
    											<xsl:with-param name="kod" select="'I'"/>
    											<xsl:with-param name="numer" select="78"/>
    										</xsl:call-template>	
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e9'"/>	
    											<xsl:with-param name="kod" select="'II'"/>
    											<xsl:with-param name="numer" select="79"/>
    										</xsl:call-template>	
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e9'"/>	
    											<xsl:with-param name="kod" select="'III'"/>
    											<xsl:with-param name="numer" select="80"/>
    										</xsl:call-template>		
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e9'"/>	
    											<xsl:with-param name="kod" select="'IV'"/>
    											<xsl:with-param name="numer" select="81"/>
    										</xsl:call-template>				
    																															
    									</tr>				
    								</table>																
    
    								<table cellspacing="0" cellpadding="4" width="100%" style="border-collapse: collapse">
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt" colspan="2">
    											<b>E.10. UŻYTKI ROLNE (ROWY, GRUNTY POD STAWAMI NIEZARYBIONYMI) BEZ OZNACZENIA KLASY GLEBOZNAWCZEJ</b>
    										</td>
    									</tr>	
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt" width="50%"/>
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e10'"/>	
    											<xsl:with-param name="kod" select="''"/>
    											<xsl:with-param name="numer" select="'82. Powierzchnia w ha'"/>
    										</xsl:call-template>	
    									</tr>				
    								</table>	
    								
    									<table cellspacing="0" cellpadding="4" width="100%" style="border-collapse: collapse">
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt" colspan="2">
    											<b>E.11. GRUNTY POD STAWAMI ZARYBIONYMI - łososiem, trocią, głowacicą, palią i pstrągiem</b>
    										</td>
    									</tr>	
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt" width="50%">Powierzchnia w ha</td>
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e11'"/>	
    											<xsl:with-param name="kod" select="''"/>
    											<xsl:with-param name="numer" select="'83'"/>
    										</xsl:call-template>	
    									</tr>				
    								</table>								
    								
    								
    								<table cellspacing="0" cellpadding="4" width="100%" style="border-collapse: collapse">
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt" colspan="2">
    											<b>E.12. GRUNTY POD STAWAMI ZARYBIONYMI - inne gatunki ryb</b>
    										</td>
    									</tr>	
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt" width="50%">Powierzchnia w ha</td>
    										<xsl:call-template name="Uzytek">
    											<xsl:with-param name="kat" select="'e12'"/>	
    											<xsl:with-param name="kod" select="''"/>
    											<xsl:with-param name="numer" select="'84'"/>
    										</xsl:call-template>	
    									</tr>				
    								</table>				
    								
    								<table cellspacing="0" cellpadding="4" width="100%" style="border-collapse: collapse">
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt" colspan="2">
    											<b>F. DANE DOTYCZĄCE UŻYTKÓW ROLNYCH NIESTANOWIĄCYCH GOSPODARSTWA ROLNEGO - NIEPODLEGAJĄCYCH ZWOLNIENIU <sup>1)</sup></b>
    										</td>
    									</tr>	
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt" width="50%">Powierzchnia w ha</td>
    										<td class="gridValue">
    											<div style="text-align:right;margin: 0px 20px 0 0px">
    												<xsl:call-template name="BlockLabel">
    													<xsl:with-param name="text">85.</xsl:with-param>
    												</xsl:call-template>
    												<xsl:call-template name="Number4"><xsl:with-param name="number" select="wnio:Opodatkowanie/@niegospFizyczne"/></xsl:call-template>			
    											</div>	
    										</td>
    									</tr>				
    								</table>				
    								
    								<table cellspacing="0" cellpadding="4" width="100%" style="border-collapse: collapse">
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt" colspan="2">
    											<b>G. DANE DOTYCZĄCE UŻYTKÓW ROLNYCH POSIADANYCH NA TERENIE INNE GMINY </b>
    										</td>
    									</tr>	
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;font-size:11pt" width="50%">Powierzchnia w ha i położenie gruntów</td>
    										<td class="gridValue">
    											<div style="text-align:right;margin: 0px 20px 0 0px">
    												<xsl:call-template name="BlockLabel">
    													<xsl:with-param name="text">86.</xsl:with-param>
    												</xsl:call-template>
    												<xsl:value-of select="wnio:Opodatkowanie/@inneGminy"/>
    											</div>	
    										</td>
    									</tr>				
    								</table>	
    								
    																
    							</td>
    							<td width="5"/>
    							</tr>
    						</table>
    			
    				</div>	
    				
    						<table width="100%" style="background:#eeeeee; border: solid 1px black; border-bottom: 0px">
    							<tr>
    								<td>
    									<div class="mainBlockHeader">H. INFORMACJA O ZAŁĄCZNIKACH (do niniejszej deklaracji dołączono)</div>
    								</td>
    							</tr>
    						</table>
    						<table width="100%" style="background:#eeeeee; border: solid 1px black; border-top: 0px;" cellspacing="0">
    							<tr>
    								<td style="width:30px;"/>
    								<td style="border:solid 1px black; border-bottom:0px; border-right:0px; background: white">
    									<table width="100%" style="border: 0px">
    										<tr>
    											<td width="50%" style="height:30px;vertical-align:top;">
    												<xsl:call-template name="BlockLabel">
    													<xsl:with-param name="text">87. Liczba załączników ZL-1</xsl:with-param>
    												</xsl:call-template>
    												<div class="blockContent">
    													<center><xsl:value-of select="count(wnio:PrzedmiotyOpodatkowania/wnio:Przedmiot)"/></center>
    												</div>
    											</td>
    											<td width="50%" style="vertical-align:top; border-left: solid 1px #000000">
    												<xsl:call-template name="BlockLabel">
    													<xsl:with-param name="text">88. Liczba załączników ZL-2</xsl:with-param>
    												</xsl:call-template>
    												<div class="blockContent">
    													<xsl:if test="wnio:Zwolnienia/@dotyczy='true'">
    														<center>1</center>
    													</xsl:if>
    													<xsl:if test="wnio:Zwolnienia/@dotyczy='false'">
    														<center>0</center>
    													</xsl:if>
    												</div>
    											</td>
    										</tr>
    									</table>
    								</td>
    							</tr>
    						</table>
    				
    				<div id="mainBlock">
    					<div class="mainBlockHeader">I. OŚWIADCZENIE I PODPIS PODATNIKA / OSOBY REPREZENTUJĄCEJ PODATNIKA </div>
    					<div style="margin: 0 0 0 30px">Oświadczam, że są mi znane przepisy Kodeksu karnego skarbowego o odpowiedzialności za podanie danych niezgodnych z rzeczywistością..</div>
    					<table style="border: 0px" width="100%">
    						<tr>
    							<td width="30"/>
    							<td>
    								<table cellspacing="0" cellpadding="2" width="100%" style="border-collapse: collapse">
    										<tr>
    											<td class="gridValue" style="width:50%;text-align:left">
    												<xsl:call-template name="BlockLabel"><xsl:with-param name="text">89. Imię</xsl:with-param></xsl:call-template>
    												<div style="margin: 0 0 0 4px">
    													<xsl:value-of select="wnio:OswiadczeniaOsob/wnio:Osoba/wnio:Imie"/>
    												</div>
    											</td>	
    											<td class="gridValue" style="text-align:left" colspan="2">
    													<xsl:call-template name="BlockLabel"><xsl:with-param name="text">90. Nazwisko</xsl:with-param></xsl:call-template>
    													<div style="margin: 0 0 0 4px">
    														<xsl:value-of select="wnio:OswiadczeniaOsob/wnio:Osoba/wnio:Nazwisko"/>
    													</div>
    											</td>
    										</tr>
    										<tr>																						
    											<td class="gridValue" style="width:50%;text-align:left">
    												<xsl:call-template name="BlockLabel"><xsl:with-param name="text">91. Data wypełnienia informacji </xsl:with-param></xsl:call-template>
    												<div style="margin: 0 0 0 4px">
    													<xsl:value-of select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/wnio:RodzajWniosku/wnio:DataDokumentu/meta:Czas"/>
    												</div>							
    											</td>
    											<td class="gridValue" style="text-align:left">
    												<xsl:call-template name="BlockLabel"><xsl:with-param name="text">92. Podpis (pieczęć) podatnika / osoby reprezentującej podatnika 2)</xsl:with-param></xsl:call-template>
    												 
    											</td>												
    										</tr>
    								</table>							
    							</td>
    							</tr>
    						</table>
    					<br/>			
    				</div>	
    				
    				<div id="mainBlock">
    					<div class="mainBlockHeader">H. ADNOTACJE ORGANU PODATKOWEGO</div>
    					<table cellpadding="0" cellspacing="0" width="100%" style="border:0px">
    						<tr>
    							<td width="30"/>
    							<td>
    								<table cellspacing="0" cellpadding="0" width="100%" style="border-collapse: collapse">
    										<tr>
    											<td height="60" style="border: solid 1px black" colspan="2">
    												<xsl:call-template name="BlockLabel"><xsl:with-param name="text">93. Uwagi organu podatkowego</xsl:with-param></xsl:call-template>
    											</td>
    										</tr>
    										<tr>
    											<td height="50" style="border: solid 1px black">
    												<xsl:call-template name="BlockLabel"><xsl:with-param name="text">94. Data </xsl:with-param></xsl:call-template>
    											</td>
    											<td style="border: solid 1px black; width:50%">
    												<xsl:call-template name="BlockLabel"><xsl:with-param name="text">95. Podpis przyjmującego formularz</xsl:with-param></xsl:call-template>
    											</td>											
    										</tr>										
    								</table>							
    							</td>
    						</tr>
    					</table>	
    				</div>							
    				<br/>
    				<sup>1)</sup> Należy podać z dokładnością do czterech miejsc po przecinku. Powierzchnie należy podać z dokładnością do 1 m<sup>2</sup>.<br/>
    				<sup>2)</sup> Niepotrzebne skreślić
    				
    		</xsl:for-each>
    			
    
    			
    			
    			
    			
    
    				
    
    				<xsl:for-each select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Informacja/wnio:PrzedmiotyOpodatkowania/wnio:Przedmiot">
    					<br clear="ALL" style="page-break-before:always;mso-break-type:section-break"/>
    					<hr/>
    					
    
    
    					<div style="border: solid 1px; width:350px;float:left; height:35px">
    							<div style="text-align:left; font-size:7pt;font-weight:bold;margin: 3px;">1. Numer Identyfikacji Podatkowej podatnika</div>
    							<center>
    								<xsl:value-of select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Informacja/wnio:Podatnicy/*/wnio:Identyfikatory/wnio:NIP"/>
    							</center>
    						</div>
    						<div style="border: solid 1px; width:100px;float:left; height:35px; border-left: 0px; background: #eeeeee">
    							<xsl:call-template name="BlockLabel">
    								<xsl:with-param name="text">2. Nr dokumentu</xsl:with-param>
    							</xsl:call-template> 
    					</div>
    					<div style="clear:both"/>
    						<div class="docHeader" style="position:relative">
    							<div style="position:absolute; top:0px; left: 0px; width:100%">ZR-1/A<center>DANE O NIERUCHOMOŚCIACH ROLNYCH</center>
    						</div>
    					</div>
    				<br/>
    				<br/>
    				<br/>
    				<br/>
    				<table width="100%" style="border:0px">
    					<tr>
    						<td>Załącznik ZR-1/A przeznaczony jest dla jednej nieruchomości. W przypadku, gdy podatnik posiada na terenie gminy więcej niż jedną nieruchomość należy wypełnić odrębne załączniki</td>
    						<td width="100" style="border:solid 1px">
    							<xsl:call-template name="BlockLabel">
    								<xsl:with-param name="text">3. Nr załącznika</xsl:with-param>
    							</xsl:call-template>
    							<center><xsl:value-of select="position()"/></center>
    						</td>
    					</tr>
    				</table>
    				<br/>
    
    
    
    
    
    				<xsl:for-each select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Informacja">
    					<table width="100%" style="background:#eeeeee; border: solid 1px black; border-bottom: 0px">
    						<tr>
    							<td>
    								<div class="mainBlockHeader">A. PRZEZNACZENIE FORMULARZA</div>
    							</td>
    						</tr>
    					</table>
    					<table width="100%" style="background:#eeeeee; border: solid 1px black; border-top: 0px" cellspacing="0">
    						<tr>
    							<td style="width:30px;"/>
    							<td style="border:solid 1px black; border-bottom:0px; border-right:0px; background: white">
    								<xsl:call-template name="BlockLabel">
    									<xsl:with-param name="text">4. Niniejszy formularz stanowi załącznik do (zaznaczyć właściwy kwadrat):</xsl:with-param>
    								</xsl:call-template>
    								<table width="100%" style="border:0px">
    									<tr>
    										<td width="25%"/>
    										<td width="20">
    											<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    
    											</div>
    										</td>
    										<td>1. deklaracji DR-1</td>
    										<td/>
    										<td width="20">
    											<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    																							<b>
    													<center>X</center>
    												</b>
    										</div>
    										</td>
    										<td>
    										2. informacji IR-1
    									</td>
    										<td width="25%"/>
    									</tr>
    								</table>
    							</td>
    						</tr>
    					</table>
    					
    					<table width="100%" style="background:#eeeeee; border: solid 1px black; border-bottom: 0px">
    						<tr>
    							<td>
    								<div class="mainBlockHeader">B. DANE PODATNIKA</div>
    								<div style="font-size:9pt; margin: 0 0 0 30px"> * - dotyczy podatnika niebędącego osobą fizyczną, ** - dotyczy podatnika będącego osobą fizyczną</div>
    							</td>
    						</tr>
    					</table>
    					<table width="100%" style="background:#eeeeee; border: solid 1px black; border-bottom: 0px">
    						<tr>
    							<td>
    								<div class="mainBlockHeader">B.1. DANE IDENTYFIKACYJNE </div>
    							</td>
    						</tr>
    					</table>
    					
    					
    					<xsl:for-each select="wnio:Podatnicy">
    						<table width="100%" style="background:#eeeeee; border: solid 1px black; border-top: 0px" cellspacing="0">
    							<tr>
    								<td style="width:30px;"/>
    								<td style="border:solid 1px black; border-bottom:0px; border-right:0px; background: white">
    									<xsl:call-template name="BlockLabel">
    										<xsl:with-param name="text">5. Rodzaj podatnika (zaznaczyć właściwy kwadrat):</xsl:with-param>
    									</xsl:call-template>
    									<xsl:call-template name="RodzajPodatnika">
    										<xsl:with-param name="podatnik" select="@rodzaj"/>
    									</xsl:call-template>
    								</td>
    							</tr>
    							<tr>
    								<td style="width:30px;"/>
    								<td style="border:solid 1px black; border-bottom:0px; border-right:0px; background: white">
    									<xsl:call-template name="BlockLabel">
    										<xsl:with-param name="text">6. Nazwa pełna * / Nazwisko **</xsl:with-param>
    									</xsl:call-template>
    									<div class="blockContent">
    										<xsl:value-of select="wnio:Instytucja/inst:NazwaInstytucji"/>
    										<xsl:value-of select="wnio:Osoba/oso:Nazwisko"/>
    									</div>
    								</td>
    							</tr>
    							<tr>
    								<td style="width:30px;"/>
    								<td style="border:solid 1px black; border-bottom:0px; border-right:0px; background: white">
    									<xsl:call-template name="BlockLabel">
    										<xsl:with-param name="text">7. Nazwa skrócona * / Imiona **</xsl:with-param>
    									</xsl:call-template>
    									<div class="blockContent" style="overflow:hidden">
    										<xsl:value-of select="wnio:Instytucja/wnio:NazwaSkrInstytucji"/>
    										<xsl:value-of select="wnio:Osoba/oso:Imie"/>
    										<xsl:text> </xsl:text>
    										<xsl:value-of select="wnio:Osoba/oso:ImieDrugie"/>
    									</div>
    								</td>
    							</tr>
    							<tr>
    								<td style="width:30px;"/>
    								<td style="border:solid 1px black; border-bottom:0px; border-right:0px; background: white">
    									<table width="100%" style="border: 0px">
    										<tr>
    											<td width="50%" style="vertical-align:top; ">
    												<xsl:call-template name="BlockLabel">
    													<xsl:with-param name="text">8. Identyfikator REGON</xsl:with-param>
    												</xsl:call-template>
    												<div class="blockContent">
    													<xsl:value-of select="*/wnio:Identyfikatory/wnio:REGON"/>
    												</div>
    											</td>
    											<td width="25%" style="vertical-align:top; border-left: solid 1px #000000">
    												<xsl:call-template name="BlockLabel">
    													<xsl:with-param name="text">9. Numer PESEL **</xsl:with-param>
    												</xsl:call-template>
    												<div class="blockContent">
    													<xsl:value-of select="*/wnio:Identyfikatory/wnio:PESEL"/>
    												</div>
    											</td>
    										</tr>
    									</table>
    								</td>
    							</tr>
    						</table>
    					</xsl:for-each>
    					
    				</xsl:for-each>	
    			
    			
    					<table width="100%" style="background:#eeeeee; border: solid 1px black; border-bottom: 0px">
    						<tr>
    							<td>
    								<div class="mainBlockHeader">C. DANE O NIERUCHOMOŚCIACH LEŚNYCH PODLEGAJĄCYCH OPODATKOWANIU LUB ZWOLNIENIU</div>
    							</td>
    						</tr>
    					</table>
    					<table width="100%" style="background:#eeeeee; border: solid 1px black; border-top: 0px" cellspacing="0">
    						<tr>
    							<td style="width:30px;"/>
    							<td style="border:solid 1px black; border-bottom:0px; border-right:0px; background: white">
    								<xsl:call-template name="BlockLabel">
    									<xsl:with-param name="text">10. Położenie nieruchomości</xsl:with-param>
    								</xsl:call-template>
    								<div class="blockContent">
    									<xsl:value-of select="wnio:Polozenie"/>
    								</div>	
    							</td>					
    						</tr>
    					</table>	
    						<table width="100%" style="background:#eeeeee; border: solid 1px black; border-bottom: 0px">
    						<tr>
    							<td>
    								<div class="mainBlockHeader">C.1. TYTUŁ PRAWNY</div>
    							</td>
    						</tr>
    					</table>
    					<table width="100%" style="background:#eeeeee; border: solid 1px black; border-top: 0px" cellspacing="0">
    						<tr>
    							<td style="width:30px;"/>
    							<td style="border:solid 1px black; border-bottom:0px; border-right:0px; background: white">
    								<xsl:call-template name="BlockLabel">
    									<xsl:with-param name="text">11. Rodzaj własności</xsl:with-param>
    								</xsl:call-template>
    								<div class="blockContent">
    									<table width="100%" style="border: 0px">
    										<tr>
    											<td/>
    											<td width="20">
    												<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    													<xsl:if test="wnio:TytulPrawny='WLS'">
    														<b>
    															<center>X</center>
    														</b>
    													</xsl:if>
    												</div>
    											</td>
    											<td width="40%">1. własność</td>
    											<td/>
    											<td width="20">
    												<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    													<xsl:if test="wnio:TytulPrawny='WSP'">
    														<b>
    															<center>X</center>
    														</b>
    													</xsl:if>
    												</div>
    											</td>
    											<td>2. współwłasność</td>
    											<td/>
    										</tr>
    									</table>
    
    								</div>	
    							</td>					
    						
    						
    							<td style="border:solid 1px black; border-bottom:0px; border-right:0px; background: white">
    								<xsl:call-template name="BlockLabel">
    									<xsl:with-param name="text">12. Rodzaj posiadania samoistnego</xsl:with-param>
    								</xsl:call-template>
    								<div class="blockContent">
    
    
    									<table width="100%" style="border: 0px">
    										<tr>
    											<td/>
    											<td width="20">
    												<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    													<xsl:if test="wnio:TytulPrawny='PSM'">
    														<b>
    															<center>X</center>
    														</b>
    													</xsl:if>
    												</div>
    											</td>
    											<td width="40%">1. posiadanie</td>
    											<td/>
    											<td width="20">
    												<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    													<xsl:if test="wnio:TytulPrawny='WPS'">
    														<b>
    															<center>X</center>
    														</b>
    													</xsl:if>
    												</div>
    											</td>
    											<td>2. współposiadanie</td>
    											<td/>
    										</tr>
    									</table>
    
    								</div>	
    							</td>											
    						</tr>
    							
    						<tr>
    							<td style="width:30px;"/>
    							<td style="border:solid 1px black; border-bottom:0px; border-right:0px; background: white">
    								<xsl:call-template name="BlockLabel">
    									<xsl:with-param name="text">13. Rodzaj użytkowania</xsl:with-param>
    								</xsl:call-template>
    								<div class="blockContent">
    									<table width="100%" style="border: 0px">
    										<tr>
    											<td/>
    											<td width="20">
    												<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    													<xsl:if test="wnio:TytulPrawny='WUZ'">
    														<b>
    															<center>X</center>
    														</b>
    													</xsl:if>
    												</div>
    											</td>
    											<td width="40%">1. użytkowanie wieczyste</td>
    											<td/>
    											<td width="20">
    												<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    													<xsl:if test="wnio:TytulPrawny='WSL'">
    														<b>
    															<center>X</center>
    														</b>
    													</xsl:if>
    												</div>
    											</td>
    											<td>2. współużytkowanie</td>
    											<td/>
    										</tr>
    									</table>
    
    								</div>	
    							</td>					
    						
    						
    							<td style="border:solid 1px black; border-bottom:0px; border-right:0px; background: white">
    								<xsl:call-template name="BlockLabel">
    									<xsl:with-param name="text">14. Rodzaj posiadania zależnego</xsl:with-param>
    								</xsl:call-template>
    								<div class="blockContent">
    
    
    									<table width="100%" style="border: 0px">
    										<tr>
    											<td/>
    											<td width="20">
    												<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    													<xsl:if test="wnio:TytulPrawny='PZL'">
    														<b>
    															<center>X</center>
    														</b>
    													</xsl:if>
    												</div>
    											</td>
    											<td width="40%">1. posiadanie</td>
    											<td/>
    											<td width="20">
    												<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    													<xsl:if test="wnio:TytulPrawny='WZL'">
    														<b>
    															<center>X</center>
    														</b>
    													</xsl:if>
    												</div>
    											</td>
    											<td>2. współposiadanie</td>
    											<td/>
    										</tr>
    									</table>
    
    								</div>	
    							</td>											
    						</tr>						
    					</table>				
    					<table width="100%" style="background:#eeeeee; border: solid 1px black; border-bottom: 0px">
    						<tr>
    							<td>
    								<div class="mainBlockHeader">C.3. IDENTYFIKATORY GEODEZYJNE DZIAŁEK</div>
    							</td>
    						</tr>
    					</table>
    					<table width="100%" style="background:#eeeeee; border: solid 1px black; border-top: 0px" cellspacing="0">
    						<tr>
    							<td style="width:30px;"/>
    							<td style="border:solid 1px black; border-bottom:0px; border-right:0px; background: white">
    								<xsl:call-template name="BlockLabel">
    									<xsl:with-param name="text">15. Działki</xsl:with-param>
    								</xsl:call-template>
    								<div class="blockContent">
    									<xsl:value-of select="wnio:NrDzialki"/>
    								</div>	
    							</td>					
    						</tr>
    					</table>					
    					<table width="100%" style="background:#eeeeee; border: solid 1px black; border-bottom: 0px">
    						<tr>
    							<td>
    								<div class="mainBlockHeader">C.4.KSIĘGA WIECZYSTA</div>
    							</td>
    						</tr>
    					</table>
    					<table width="100%" style="background:#eeeeee; border: solid 1px black; border-top: 0px" cellspacing="0">
    						<tr>
    							<td style="width:30px;"/>
    							<td width="45%" style="border:solid 1px black; border-bottom:0px; border-right:0px; background: white">
    								<xsl:call-template name="BlockLabel">
    									<xsl:with-param name="text">16. Numer księgi wieczystej (zbioru dokumentów)</xsl:with-param>
    								</xsl:call-template>
    								<div class="blockContent">
    									<xsl:value-of select="wnio:NrKW"/>
    								</div>	
    							</td>					
    							<td style="border:solid 1px black; border-bottom:0px; border-right:0px; background: white">
    								<xsl:call-template name="BlockLabel">
    									<xsl:with-param name="text">17. Nazwa sądu</xsl:with-param>
    								</xsl:call-template>
    								<div class="blockContent">
    									<xsl:value-of select="wnio:Sad"/>
    								</div>	
    							</td>								
    						</tr>
    					</table>					
    
    
    					<!-- Koniec-->
    
    	
    			</xsl:for-each>	
    	
    			
    			
    			
    		
    				
    		
    				
    				<xsl:for-each select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Informacja/wnio:Zwolnienia[@dotyczy='true']">
    				
    					<br clear="ALL" style="page-break-before:always;mso-break-type:section-break"/>
    					<hr/>
    		
    		
    
    
    					<div style="border: solid 1px; width:350px;float:left; height:35px">
    							<div style="text-align:left; font-size:7pt;font-weight:bold;margin: 3px;">1. Numer Identyfikacji Podatkowej podatnika</div>
    							<center>
    								<xsl:value-of select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Informacja/wnio:Podatnicy/*/wnio:Identyfikatory/wnio:NIP"/>
    							</center>
    						</div>
    						<div style="border: solid 1px; width:100px;float:left; height:35px; border-left: 0px; background: #eeeeee">
    							<xsl:call-template name="BlockLabel">
    								<xsl:with-param name="text">2. Nr dokumentu</xsl:with-param>
    							</xsl:call-template> 
    					</div>
    					<div style="clear:both"/>
    						<div class="docHeader" style="position:relative">
    							<div style="position:absolute; top:0px; left: 0px; width:100%">ZR-1/B<center>DANE O ZWOLNIENIACH I ULGACH PODATKOWYCH W PODATKU ROLNYM</center>
    						</div>
    					</div>
    				<br/>
    				<br/>
    				<br/>
    
    				<br/>
    						
    					<xsl:for-each select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Informacja">
    
    
    					<table width="100%" style="background:#eeeeee; border: solid 1px black; border-bottom: 0px">
    						<tr>
    							<td>
    								<div class="mainBlockHeader">A. PRZEZNACZENIE FORMULARZA</div>
    							</td>
    						</tr>
    					</table>
    					<table width="100%" style="background:#eeeeee; border: solid 1px black; border-top: 0px" cellspacing="0">
    						<tr>
    							<td style="width:30px;"/>
    							<td style="border:solid 1px black; border-bottom:0px; border-right:0px; background: white">
    								<xsl:call-template name="BlockLabel">
    									<xsl:with-param name="text">3. Niniejszy formularz stanowi załącznik do (zaznaczyć właściwy kwadrat):</xsl:with-param>
    								</xsl:call-template>
    								<table width="100%" style="border:0px">
    									<tr>
    										<td width="25%"/>
    										<td width="20">
    											<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    
    											</div>
    										</td>
    										<td>1. deklaracji DR-1</td>
    										<td/>
    										<td width="20">
    											<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    												<b>
    													<center>X</center>
    												</b>											
    										</div>
    										</td>
    										<td>
    										2. informacji IR-1
    									</td>
    										<td width="25%"/>
    									</tr>
    								</table>
    							</td>
    						</tr>
    					</table>
    					
    					<table width="100%" style="background:#eeeeee; border: solid 1px black; border-bottom: 0px">
    						<tr>
    							<td>
    								<div class="mainBlockHeader">B. DANE PODATNIKA</div>
    								<div style="font-size:9pt; margin: 0 0 0 30px"> * - dotyczy podatnika niebędącego osobą fizyczną, ** - dotyczy podatnika będącego osobą fizyczną</div>
    							</td>
    						</tr>
    					</table>
    					<table width="100%" style="background:#eeeeee; border: solid 1px black; border-bottom: 0px">
    						<tr>
    							<td>
    								<div class="mainBlockHeader">B.1. DANE IDENTYFIKACYJNE </div>
    							</td>
    						</tr>
    					</table>
    					
    					
    					<xsl:for-each select="wnio:Podatnicy">
    						<table width="100%" style="background:#eeeeee; border: solid 1px black; border-top: 0px" cellspacing="0">
    							<tr>
    								<td style="width:30px;"/>
    								<td style="border:solid 1px black; border-bottom:0px; border-right:0px; background: white">
    									<xsl:call-template name="BlockLabel">
    										<xsl:with-param name="text">4. Rodzaj podatnika (zaznaczyć właściwy kwadrat):</xsl:with-param>
    									</xsl:call-template>
    									<xsl:call-template name="RodzajPodatnika">
    										<xsl:with-param name="podatnik" select="@rodzaj"/>
    									</xsl:call-template>
    								</td>
    							</tr>
    							<tr>
    								<td style="width:30px;"/>
    								<td style="border:solid 1px black; border-bottom:0px; border-right:0px; background: white">
    									<xsl:call-template name="BlockLabel">
    										<xsl:with-param name="text">5. Nazwa pełna * / Nazwisko **</xsl:with-param>
    									</xsl:call-template>
    									<div class="blockContent">
    										<xsl:value-of select="wnio:Instytucja/inst:NazwaInstytucji"/>
    										<xsl:value-of select="wnio:Osoba/oso:Nazwisko"/>
    									</div>
    								</td>
    							</tr>
    							<tr>
    								<td style="width:30px;"/>
    								<td style="border:solid 1px black; border-bottom:0px; border-right:0px; background: white">
    									<xsl:call-template name="BlockLabel">
    										<xsl:with-param name="text">6. Nazwa skrócona * / Imiona **</xsl:with-param>
    									</xsl:call-template>
    									<div class="blockContent" style="overflow:hidden">
    										<xsl:value-of select="wnio:Instytucja/wnio:NazwaSkrInstytucji"/>
    										<xsl:value-of select="wnio:Osoba/oso:Imie"/>
    										<xsl:text> </xsl:text>
    										<xsl:value-of select="wnio:Osoba/oso:ImieDrugie"/>
    									</div>
    								</td>
    							</tr>
    							<tr>
    								<td style="width:30px;"/>
    								<td style="border:solid 1px black; border-bottom:0px; border-right:0px; background: white">
    									<table width="100%" style="border: 0px">
    										<tr>
    											<td width="50%" style="vertical-align:top; ">
    												<xsl:call-template name="BlockLabel">
    													<xsl:with-param name="text">7. Identyfikator REGON</xsl:with-param>
    												</xsl:call-template>
    												<div class="blockContent">
    													<xsl:value-of select="*/wnio:Identyfikatory/wnio:REGON"/>
    												</div>
    											</td>
    											<td width="25%" style="vertical-align:top; border-left: solid 1px #000000">
    												<xsl:call-template name="BlockLabel">
    													<xsl:with-param name="text">8. Numer PESEL **</xsl:with-param>
    												</xsl:call-template>
    												<div class="blockContent">
    													<xsl:value-of select="*/wnio:Identyfikatory/wnio:PESEL"/>
    												</div>
    											</td>
    										</tr>
    									</table>
    								</td>
    							</tr>
    						</table>
    					</xsl:for-each>
    					
    
    					<div id="mainBlock" style="margin: -1px 0 0 0; font-size:9pt">
    						<table cellspacing="0" cellpadding="0" width="100%" style="border-collapse: collapse">
    							<tr>
    								<td colspan="4">
    									<div class="mainBlockHeader">C. DANE DOTYCZĄCE ZWOLNIEŃ PODATKOWYCH WYNIKAJĄCYCH Z USTAWY LUB UCHWAŁY RADY GMINY</div>
    								</td>
    							</tr>
    							<tr>
    								<td colspan="3" class="gridCell" style="solid 1px black; font-weight:bold; text-align:center">Tytuł prawny zwolnienia</td>
    								<td class="gridCell" style="width:120px; border: solid 1px black; text-align:center; font-weight:bold">Powierzchnia w ha fizycznych <sup>1)</sup></td>
    							</tr>
    							<tr>
    								<td colspan="3" class="gridCell" style="border: solid 1px black; padding:4px">
    							Art. 12, ust. 1, pkt 1 -  użytki rolne klasy V, VI, i VIz
    						</td>
    								<xsl:call-template name="Zwolnienie">
    									<xsl:with-param name="kod" select="'12.1.1ur'"/>
    									<xsl:with-param name="numer" select="9"/>
    								</xsl:call-template>
    							</tr>
    							<tr>
    								<td colspan="3" class="gridCell" style="border: solid 1px black; padding:4px">
    							Art. 12, ust. 1, pkt 1 - grunty zadrzewione i zakrzewione ustanowione na użytkach rolnych
    						</td>
    								<xsl:call-template name="Zwolnienie">
    									<xsl:with-param name="kod" select="'12.1.1gz'"/>
    									<xsl:with-param name="numer" select="10"/>
    								</xsl:call-template>
    							</tr>
    							<tr>
    								<td colspan="3" class="gridCell" style="border: solid 1px black; padding:4px">
    							Art. 12, ust. 1, pkt 2 - grunty położone w pasie drogi granicznej
    						</td>
    								<xsl:call-template name="Zwolnienie">
    									<xsl:with-param name="kod" select="'12.1.2'"/>
    									<xsl:with-param name="numer" select="11"/>
    								</xsl:call-template>
    							</tr>
    							<tr>
    								<td colspan="3" class="gridCell" style="border: solid 1px black; padding:4px">
    								Art. 12, ust. 1, pkt 3 - grunty orne, łąki i pastwiska objęte melioracją - w roku, w którym uprawy zostały zniszczone wskutek robót drenarskich
    								</td>
    								<xsl:call-template name="Zwolnienie">
    									<xsl:with-param name="kod" select="'12.1.3'"/>
    									<xsl:with-param name="numer" select="12"/>
    								</xsl:call-template>
    							</tr>
    							<tr>
    								<td colspan="3" class="gridCell" style="border: solid 1px black; padding: 4 0 0 4">
    									Art. 12, ust. 1, pkt 4 - grunty przeznaczone na utworzenie nowego gospodarstwa rolnego lub powiększenie już istniejącego do powierzchni nieprzekraczającej 100 ha<br/><br/>
    								</td>
    								<xsl:call-template name="Zwolnienie">
    										<xsl:with-param name="kod" select="'12.1.4'"/>
    										<xsl:with-param name="numer" select="13"/>
    								</xsl:call-template>			
    							</tr>
    							<tr>
    								<td width="30" style="border-top:0px"/>
    								<td class="gridCell" style="border-bottom: 0px; padding:4px">W przypadku korzystania z ulgi, po upływie okresu zwolnienia (zaznaczyć właściwy kwadrat)</td>
    										<td class="gridValue">
    											<xsl:call-template name="BlockLabel">
    												<xsl:with-param name="text">14. Ulga</xsl:with-param>
    											</xsl:call-template>				
    											<table width="100%" style="border: 0px">
    												<tr>
    													<td/>
    													<td width="20">
    														<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    															<xsl:if test="wnio:Zwolnienia/wnio:Zwolnienie[@kod='12.1.4']/@ulga='75'">
    																<b>
    																	<center>X</center>
    																</b>
    															</xsl:if>
    														</div>
    													</td>
    													<td>75%</td>
    													<td/>
    													<td width="20">
    														<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    															<xsl:if test="wnio:Zwolnienia/wnio:Zwolnienie[@kod='12.1.4']/@ulga='50'">
    																<b>
    																	<center>X</center>
    																</b>
    															</xsl:if>
    														</div>
    													</td>
    													<td>50%</td>
    													<td/>
    									
    												</tr>
    											</table>																	
    										</td>								
    								<td/>
    							</tr>	
    							<tr>
    								<td colspan="3" class="gridCell" style="border: solid 1px black; padding: 4 0 0 4">
    									Art. 12, ust. 1, pkt 5 - grunty gospodarstw rolnych powstałe z zagospodarowania nieużytków
    								</td>
    								<xsl:call-template name="Zwolnienie">
    										<xsl:with-param name="kod" select="'12.1.5'"/>
    										<xsl:with-param name="numer" select="15"/>
    								</xsl:call-template>			
    							</tr>							
    							<tr>
    								<td width="30" style="border-top:0px"/>
    								<td class="gridCell" style="border-bottom: 0px; padding:4px">W przypadku korzystania z ulgi, po upływie okresu zwolnienia (zaznaczyć właściwy kwadrat)</td>
    										<td class="gridValue">
    											<xsl:call-template name="BlockLabel">
    												<xsl:with-param name="text">16. Ulga</xsl:with-param>
    											</xsl:call-template>				
    											<table width="100%" style="border: 0px">
    												<tr>
    													<td/>
    													<td width="20">
    														<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    															<xsl:if test="wnio:Zwolnienia/wnio:Zwolnienie[@kod='12.1.5']/@ulga='75'">
    																<b>
    																	<center>X</center>
    																</b>
    															</xsl:if>
    														</div>
    													</td>
    													<td>75%</td>
    													<td/>
    													<td width="20">
    														<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    															<xsl:if test="wnio:Zwolnienia/wnio:Zwolnienie[@kod='12.1.5']/@ulga='50'">
    																<b>
    																	<center>X</center>
    																</b>
    															</xsl:if>
    														</div>
    													</td>
    													<td>50%</td>
    													<td/>
    									
    												</tr>
    											</table>																	
    										</td>								
    								<td/>
    							</tr>								
    			
    							<tr>
    								<td colspan="3" class="gridCell" style="border: solid 1px black; padding: 4 0 0 4">
    									Art. 12, ust. 1, pkt 6 - grunty gospodarstw rolnych otrzymane w drodze wymiany lub scalenia
    								</td>
    								<xsl:call-template name="Zwolnienie">
    										<xsl:with-param name="kod" select="'12.1.6'"/>
    										<xsl:with-param name="numer" select="17"/>
    								</xsl:call-template>			
    							</tr>							
    							<tr>
    								<td width="30" style="border-top:0px"/>
    								<td class="gridCell" style="border-bottom: 0px; padding:4px">W przypadku korzystania z ulgi, po upływie okresu zwolnienia (zaznaczyć właściwy kwadrat)</td>
    										<td class="gridValue">
    											<xsl:call-template name="BlockLabel">
    												<xsl:with-param name="text">18. Ulga</xsl:with-param>
    											</xsl:call-template>				
    											<table width="100%" style="border: 0px">
    												<tr>
    													<td/>
    													<td width="20">
    														<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    															<xsl:if test="wnio:Zwolnienia/wnio:Zwolnienie[@kod='12.1.6']/@ulga='75'">
    																<b>
    																	<center>X</center>
    																</b>
    															</xsl:if>
    														</div>
    													</td>
    													<td>75%</td>
    													<td/>
    													<td width="20">
    														<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    															<xsl:if test="wnio:Zwolnienia/wnio:Zwolnienie[@kod='12.1.6']/@ulga='50'">
    																<b>
    																	<center>X</center>
    																</b>
    															</xsl:if>
    														</div>
    													</td>
    													<td>50%</td>
    													<td/>
    									
    												</tr>
    											</table>																	
    										</td>								
    								<td/>
    							</tr>											
    			
    							<tr>
    								<td colspan="3" class="gridCell" style="border: solid 1px black; padding:4px">
    								Art. 12. ust.1 pkt 7 - grunty gospodarstw rolnych, na których zaprzestano produkcji rolnej
    							</td>
    								<xsl:call-template name="Zwolnienie">
    									<xsl:with-param name="kod" select="'12.1.7'"/>
    									<xsl:with-param name="numer" select="19"/>
    								</xsl:call-template>
    							</tr>	
    							
    							<tr>
    								<td colspan="3" class="gridCell" style="border: solid 1px black; padding:4px">
    									Art. 12. ust.1 pkt 8 - użytki ekologiczne
    								</td>
    								<xsl:call-template name="Zwolnienie">
    									<xsl:with-param name="kod" select="'12.1.8'"/>
    									<xsl:with-param name="numer" select="20"/>
    								</xsl:call-template>
    							</tr>													
    							<tr>
    								<td colspan="3" class="gridCell" style="border: solid 1px black; padding:4px">
    									Art. 12, ust. 1, pkt 9 - grunty zajęte przez zbiorniki wody służące do zaopatrzenia ludności w wodę
    								</td>
    								<xsl:call-template name="Zwolnienie">
    									<xsl:with-param name="kod" select="'12.1.9'"/>
    									<xsl:with-param name="numer" select="21"/>
    								</xsl:call-template>
    							</tr>
    							<tr>
    								<td colspan="3" class="gridCell" style="border: solid 1px black; padding:4px">
    									Art. 12, ust. 1, pkt 10 - grunty pod wałami przeciwpowodziowymi i grunty położone w międzywałach
    								</td>
    								<xsl:call-template name="Zwolnienie">
    									<xsl:with-param name="kod" select="'12.1.10'"/>
    									<xsl:with-param name="numer" select="22"/>
    								</xsl:call-template>
    							</tr>
    							<tr>
    								<td colspan="3" class="gridCell" style="border: solid 1px black; padding:4px">
    									Art. 12 ust. 1 pkt 11 - grunty wpisane do rejestru zabytków
    								</td>
    								<xsl:call-template name="Zwolnienie">
    									<xsl:with-param name="kod" select="'12.1.11'"/>
    									<xsl:with-param name="numer" select="23"/>
    								</xsl:call-template>
    							</tr>
    							<tr>
    								<td colspan="3" class="gridCell" style="border: solid 1px black; padding:4px">
    									Art. 12. ust. 1 pkt 12 - grunty stanowiące działki przyzagrodowe członków rolniczych spółdzielni produkcyjnych
    								</td>
    								<xsl:call-template name="Zwolnienie">
    									<xsl:with-param name="kod" select="'12.1.12'"/>
    									<xsl:with-param name="numer" select="24"/>
    								</xsl:call-template>
    							</tr>
    							<tr>
    								<td colspan="3" class="gridCell" style="border: solid 1px black; padding:4px">
    									Art. 12. ust. 2 pkt 1 - szkoły wyższe, wyższe szkoły zawodowe oraz wyższe szkoły wojskowe
    								</td>
    								<xsl:call-template name="Zwolnienie">
    									<xsl:with-param name="kod" select="'12.2.1'"/>
    									<xsl:with-param name="numer" select="25"/>
    								</xsl:call-template>
    							</tr>
    							<tr>
    								<td colspan="3" class="gridCell" style="border: solid 1px black; padding:4px">
    									Art. 12. ust. 2 pkt 2 - szkoły, placówki, zakłady kształcenia i placówki doskonalenia nauczycieli - publiczne i niepubliczne oraz organy prowadzące te szkoły, placówki i zakłady z tytułu zarządu, użytkowania wieczystego gruntów
    								</td>
    								<xsl:call-template name="Zwolnienie">
    									<xsl:with-param name="kod" select="'12.2.2'"/>
    									<xsl:with-param name="numer" select="26"/>
    								</xsl:call-template>
    							</tr>
    							<tr>
    								<td colspan="3" class="gridCell" style="border: solid 1px black; padding:4px">
    									Art. 12. ust. 2 pkt 3 -  placówki naukowe Polskiej Akademii Nauk
    								</td>
    								<xsl:call-template name="Zwolnienie">
    									<xsl:with-param name="kod" select="'12.2.3'"/>
    									<xsl:with-param name="numer" select="27"/>
    								</xsl:call-template>
    							</tr>
    							<tr>
    								<td colspan="3" class="gridCell" style="border: solid 1px black; padding:4px">
    									Art. 12. ust. 2 pkt 4 - prowadzący zakłady pracy chronionej lub zakłady aktywności zawodowej w zakresie gruntów zgłoszonych wojewodzie, jeżeli zgłoszenie zostało potwierdzone decyzją w sprawie przyznania statusu zakładu pracy chronionej lub zakładu aktywności zawodowej albo zaświadczeniem - zajętych na prowadzenie tego zakładu, z wyjątkiem gruntów znajdujących się w posiadaniu zależnym podmiotów niebędących prowadzącymi zakłady pracy chronionej lub zakłady aktywności zawodowej
    								</td>
    								<xsl:call-template name="Zwolnienie">
    									<xsl:with-param name="kod" select="'12.2.4'"/>
    									<xsl:with-param name="numer" select="28"/>
    								</xsl:call-template>
    							</tr>
    							<tr>
    								<td colspan="3" class="gridCell" style="border: solid 1px black; padding:4px">
    									Art. 12, ust. 2, pkt 6 - Polski Związek Działkowców z tytułu użytkowania i użytkowania wieczystego gruntów pracowniczych ogródków działkowych
    								</td>
    								<xsl:call-template name="Zwolnienie">
    									<xsl:with-param name="kod" select="'12.2.6'"/>
    									<xsl:with-param name="numer" select="29"/>
    								</xsl:call-template>
    							</tr>
    						</table>
    						
    						
    						
    						<table cellspacing="0" cellpadding="4" width="100%" style="border-collapse: collapse">
    						<tr>
    							<td colspan="2">
    								<div class="mainBlockHeader">D. DANE DOTYCZĄCE ULG PODATKOWYCH WYNIKAJĄCYCH Z USTAWY LUB UCHWAŁY RADY GMINY</div>
    							</td>
    						</tr>					
    						<tr>
    							<td class="gridCell" style="solid 1px black; font-weight:bold; text-align:center">Tytuł prawny ulgi</td>
    							<td class="gridCell" style="width:120px; border: solid 1px black; text-align:center; font-weight:bold"/>
    						</tr>
    						<tr>
    							<td class="gridCell" style="border: solid 1px black">
    								Art.13 ust.1 pkt 1 - ulga inwestycyjna
    							</td>
    							<td class="gridValue">
    								<xsl:call-template name="BlockLabel">
    									<xsl:with-param name="text">30.</xsl:with-param>
    								</xsl:call-template>				
    								<table width="100%" style="border: 0px">
    									<tr>
    										<td/>
    										<td width="20">
    											<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    												<xsl:if test="wnio:Zwolnienia/wnio:Zwolnienie[@kod='13.a']/@ulga='tak'">
    													<b>
    														<center>X</center>
    													</b>
    												</xsl:if>
    											</div>
    										</td>
    										<td>Tak</td>
    										<td/>
    										<td width="20">
    											<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    												<xsl:if test="wnio:Zwolnienia/wnio:Zwolnienie[@kod='13.a']/@ulga='nie'">
    													<b>
    														<center>X</center>
    													</b>
    												</xsl:if>
    											</div>
    										</td>
    										<td>Nie</td>
    										<td/>
    						
    									</tr>
    								</table>																								
    							</td>
    						</tr>
    					
    	
    	
    						<tr>
    							<td class="gridCell" style="border: solid 1px black">
    								Art. 13a ust. 1 i 2 - ulga dla żołnierzy odbywających zasadniczą służbę wojskową lub długotrwałe przeszkolenie wojskowe, osób spełniających zastępczo obowiązek służby wojskowej w formie skoszarowanej i prowadzących te gospodarstwa bezpośrednio przed powołaniem do służby oraz członków rodzin tych osób (zaznaczyć właściwy kwadrat)
    							</td>
    							<td class="gridValue">
    								<xsl:call-template name="BlockLabel">
    									<xsl:with-param name="text">31.Ulga</xsl:with-param>
    								</xsl:call-template>			
    								<br/>	
    								<table width="100%" style="border: 0px">
    									<tr>
    										<td/>
    										<td width="20">
    											<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    												<xsl:if test="wnio:Zwolnienia/wnio:Zwolnienie[@kod='13.b']/@ulga='60'">
    													<b>
    														<center>X</center>
    													</b>
    												</xsl:if>
    											</div>
    										</td>
    										<td>60%</td>
    										<td/>
    										<td width="20">
    											<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    												<xsl:if test="wnio:Zwolnienia/wnio:Zwolnienie[@kod='13.b']/@ulga='40'">
    													<b>
    														<center>X</center>
    													</b>
    												</xsl:if>
    											</div>
    										</td>
    										<td>40%</td>
    										<td/>
    						
    									</tr>
    								</table>																								
    							</td>
    						</tr>	
    	
    	
    	
    	
    	
    	
    						<tr>
    							<td class="gridCell" style="border: solid 1px black">
    								Art. 13b, ust. 1 -  ulga dla gruntów położonych na terenach podgórskich i górskich (zaznaczyć właściwy kwadrat)
    							</td>
    							<td class="gridValue">
    								<xsl:call-template name="BlockLabel">
    									<xsl:with-param name="text">32. Ulga </xsl:with-param>
    								</xsl:call-template>				
    								<br/>
    								<table width="100%" style="border: 0px">
    									<tr>
    										<td/>
    										<td width="20">
    											<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    												<xsl:if test="wnio:Zwolnienia/wnio:Zwolnienie[@kod='13.c']/@ulga='60'">
    													<b>
    														<center>X</center>
    													</b>
    												</xsl:if>
    											</div>
    										</td>
    										<td>60%</td>
    										<td/>
    										<td width="20">
    											<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    												<xsl:if test="wnio:Zwolnienia/wnio:Zwolnienie[@kod='13.c']/@ulga='30'">
    													<b>
    														<center>X</center>
    													</b>
    												</xsl:if>
    											</div>
    										</td>
    										<td>30%</td>
    										<td/>
    						
    									</tr>
    								</table>																								
    							</td>
    						</tr>		
    					
    					
    					
    					
    						<tr>
    							<td class="gridCell" style="border: solid 1px black">
    								Art. 13b, ust. 1 - ulga z tytułu wystąpienia klęski żywiołowej
    							</td>
    							<td class="gridValue">
    								<xsl:call-template name="BlockLabel">
    									<xsl:with-param name="text">32.</xsl:with-param>
    								</xsl:call-template>				
    								<table width="100%" style="border: 0px">
    									<tr>
    										<td/>
    										<td width="20">
    											<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    												<xsl:if test="wnio:Zwolnienia/wnio:Zwolnienie[@kod='13.d']/@ulga='tak'">
    													<b>
    														<center>X</center>
    													</b>
    												</xsl:if>
    											</div>
    										</td>
    										<td>Tak</td>
    										<td/>
    										<td width="20">
    											<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    												<xsl:if test="wnio:Zwolnienia/wnio:Zwolnienie[@kod='13.d']/@ulga='nie'">
    													<b>
    														<center>X</center>
    													</b>
    												</xsl:if>
    											</div>
    										</td>
    										<td>Nie</td>
    										<td/>
    						
    									</tr>
    								</table>																								
    							</td>
    						</tr>							
    					
    						</table>
    					</div>
    					<br/>
    					<sup>1)</sup> Należy podać z dokładnością do czterech miejsc po przecinku.
    					<br/>
    					
    					
    				</xsl:for-each>
    					<!-- Koniec-->
    				</xsl:for-each>
    				
    
    
    
    				<xsl:if test="count(wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/str:Zalaczniki/str:Zalacznik) &gt; 0">
    				<br/>
    				<br/>
    					<span class="sectionHeader">Załączniki</span>
    					<br/>
    					<xsl:apply-templates select="wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/str:Zalaczniki"/>
    					<br/>
    					<b>Potwierdzona zgodność załączników z oryginałami: </b>
    					<xsl:if test="wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/wnio:ZalacznikiEx/@zgodnoscZOryginalem='true'">Tak</xsl:if>	
    					<xsl:if test="wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/wnio:ZalacznikiEx/@zgodnoscZOryginalem='false'">Nie</xsl:if>	
    					<br/>
    					<br/>
    			</xsl:if>					
    
    
    				<br/>
    				<b>Wyrażam zgodę na wymianę korespondencji drogą elektroniczną: </b>
    				<xsl:choose>
    					<xsl:when test="wnio:Dokument/wnio:TrescDokumentu/wnio:Informacja/wnio:OswiadczeniaOsob/@ZgodaNaKorespElek='true'">Tak</xsl:when>
    					<xsl:otherwise>Nie</xsl:otherwise>
    				</xsl:choose>
    
    
    
    
    	
    			</span></body>
    		</html>
    	</xsl:template>
    
    
    
    	
    	<xsl:template name="Uzytek">
    		<xsl:param name="kat"/>
    		<xsl:param name="kod"/>
    		<xsl:param name="numer"/>
    		
    		<td class="gridValue">
    			<div style="text-align:right;margin: 0px 20px 0 0px">
    				<xsl:call-template name="BlockLabel">
    					<xsl:with-param name="text"><xsl:value-of select="$numer"/>.</xsl:with-param>
    				</xsl:call-template>
    				<xsl:for-each select="wnio:Opodatkowanie/wnio:Uzytek[@kat=$kat and @kod=$kod]">		
    						<xsl:call-template name="Number4"><xsl:with-param name="number" select="wnio:HaFizyczne"/></xsl:call-template>			
    				</xsl:for-each>
    			</div>	
    		</td>
    	</xsl:template>
    	
    	<xsl:template name="Uzytek3">
    		<xsl:param name="rodzaj"/>
    		<xsl:param name="kod"/>
    		
    		<td class="gridValue" colspan="3">
    			<div style="text-align:right;margin: 0px 20px 0 0px">
    				<xsl:for-each select="wnio:Opodatkowanie/wnio:Uzytki/wnio:Uzytek[@rodzaj=$rodzaj and @kod=$kod]">		
    						<xsl:call-template name="Number4"><xsl:with-param name="number" select="wnio:HaFizyczne"/></xsl:call-template>			
    				</xsl:for-each>
    			</div>	
    		</td>
    	</xsl:template>	
    
    	<xsl:template name="Grunt">
    		<xsl:param name="rodzaj"/>
    		<xsl:param name="kod"/>
    
    		<xsl:for-each select="wnio:Opodatkowanie/wnio:Uzytki/wnio:Uzytek[@rodzaj=$rodzaj and @kod=$kod]">		
    				<xsl:call-template name="Number4"><xsl:with-param name="number" select="wnio:HaFizyczne"/></xsl:call-template>			
    		</xsl:for-each>
    	</xsl:template>
    
    	
    	<xsl:template name="Miesiac">
    		<xsl:param name="miesiac"/>
    			<xsl:choose>
    				<xsl:when test="$miesiac='1'">Styczeń</xsl:when>
    				<xsl:when test="$miesiac='2'">Luty</xsl:when>
    				<xsl:when test="$miesiac='3'">Marzec</xsl:when>				
    				<xsl:when test="$miesiac='4'">Kwiecień</xsl:when>				
    				<xsl:when test="$miesiac='5'">Maj</xsl:when>				
    				<xsl:when test="$miesiac='6'">Czerwiec</xsl:when>				
    				<xsl:when test="$miesiac='7'">Lipiec</xsl:when>				
    				<xsl:when test="$miesiac='8'">Sierpień</xsl:when>				
    				<xsl:when test="$miesiac='9'">Wrzesień</xsl:when>				
    				<xsl:when test="$miesiac='10'">Październik</xsl:when>				
    				<xsl:when test="$miesiac='11'">Listopad</xsl:when>				
    				<xsl:when test="$miesiac='12'">Grudzień</xsl:when>				
    			</xsl:choose>		
    	</xsl:template>		
    	
    	<xsl:template match="adr:Kraj">
    		<xsl:choose>
    		<xsl:when test=".=''"/>
    		<xsl:when test=".='AF'">AFGANISTAN</xsl:when>
    		<xsl:when test=".='AL'">ALBANIA</xsl:when>
    		<xsl:when test=".='DZ'">ALGIERIA</xsl:when>
    		<xsl:when test=".='AD'">ANDORA</xsl:when>
    		<xsl:when test=".='AO'">ANGOLA</xsl:when>
    		<xsl:when test=".='AI'">ANGUILLA</xsl:when>
    		<xsl:when test=".='AQ'">ANTARKTYDA</xsl:when>
    		<xsl:when test=".='AG'">ANTIGUA I BARBUDA</xsl:when>
    		<xsl:when test=".='AN'">ANTYLE NIDERLANDZKIE</xsl:when>
    		<xsl:when test=".='AR'">ARGENTYNA</xsl:when>
    		<xsl:when test=".='AM'">ARMENIA</xsl:when>
    		<xsl:when test=".='AW'">ARUBA</xsl:when>
    		<xsl:when test=".='AU'">AUSTRALIA</xsl:when>
    		<xsl:when test=".='AT'">AUSTRIA</xsl:when>
    		<xsl:when test=".='AZ'">AZERBEJDŻAN</xsl:when>
    		<xsl:when test=".='BS'">BAHAMY</xsl:when>
    		<xsl:when test=".='BH'">BAHRAJN</xsl:when>
    		<xsl:when test=".='BD'">BANGLADESZ</xsl:when>
    		<xsl:when test=".='BB'">BARBADOS</xsl:when>
    		<xsl:when test=".='BE'">BELGIA</xsl:when>
    		<xsl:when test=".='BZ'">BELIZE</xsl:when>
    		<xsl:when test=".='BJ'">BENIN</xsl:when>
    		<xsl:when test=".='BM'">BERMUDY</xsl:when>
    		<xsl:when test=".='BT'">BHUTAN</xsl:when>
    		<xsl:when test=".='BY'">BIAŁORUŚ</xsl:when>
    		<xsl:when test=".='BO'">BOLIWIA</xsl:when>
    		<xsl:when test=".='BW'">BOTSWANA</xsl:when>
    		<xsl:when test=".='BA'">BOŚNIA I HERCEGOWINA</xsl:when>
    		<xsl:when test=".='BR'">BRAZYLIA</xsl:when>
    		<xsl:when test=".='BN'">BRUNEI DARUSSALAM</xsl:when>
    		<xsl:when test=".='BF'">BURKINA FASO</xsl:when>
    		<xsl:when test=".='BI'">BURUNDI</xsl:when>
    		<xsl:when test=".='BG'">BUŁGARIA</xsl:when>
    		<xsl:when test=".='CL'">CHILE</xsl:when>
    		<xsl:when test=".='CN'">CHINY</xsl:when>
    		<xsl:when test=".='HR'">CHORWACJA</xsl:when>
    		<xsl:when test=".='CY'">CYPR</xsl:when>
    		<xsl:when test=".='TD'">CZAD</xsl:when>
    		<xsl:when test=".='DK'">DANIA</xsl:when>
    		<xsl:when test=".='DM'">DOMINIKA</xsl:when>
    		<xsl:when test=".='DO'">DOMINIKANA</xsl:when>
    		<xsl:when test=".='DJ'">DŻIBUTI</xsl:when>
    		<xsl:when test=".='EG'">EGIPT</xsl:when>
    		<xsl:when test=".='EC'">EKWADOR</xsl:when>
    		<xsl:when test=".='ER'">ERYTREA</xsl:when>
    		<xsl:when test=".='EE'">ESTONIA</xsl:when>
    		<xsl:when test=".='ET'">ETIOPIA</xsl:when>
    		<xsl:when test=".='FK'">FALKLANDY</xsl:when>
    		<xsl:when test=".='FJ'">FIDŻI REPUBLIKA</xsl:when>
    		<xsl:when test=".='PH'">FILIPINY</xsl:when>
    		<xsl:when test=".='FI'">FINLANDIA</xsl:when>
    		<xsl:when test=".='TF'">FRANC. TERYT. PŁD.</xsl:when>
    		<xsl:when test=".='FR'">FRANCJA</xsl:when>
    		<xsl:when test=".='GA'">GABON</xsl:when>
    		<xsl:when test=".='GM'">GAMBIA</xsl:when>
    		<xsl:when test=".='GH'">GHANA</xsl:when>
    		<xsl:when test=".='GI'">GIBRALTAR</xsl:when>
    		<xsl:when test=".='GR'">GRECJA</xsl:when>
    		<xsl:when test=".='GD'">GRENADA</xsl:when>
    		<xsl:when test=".='GL'">GRENLANDIA</xsl:when>
    		<xsl:when test=".='GE'">GRUZJA</xsl:when>
    		<xsl:when test=".='GU'">GUAM</xsl:when>
    		<xsl:when test=".='GY'">GUJANA</xsl:when>
    		<xsl:when test=".='GF'">GUJANA FRANCUSKA</xsl:when>
    		<xsl:when test=".='GP'">GWADELUPA</xsl:when>
    		<xsl:when test=".='GT'">GWATEMALA</xsl:when>
    		<xsl:when test=".='GN'">GWINEA</xsl:when>
    		<xsl:when test=".='GQ'">GWINEA RÓWNIKOWA</xsl:when>
    		<xsl:when test=".='GW'">GWINEA-BISSAU</xsl:when>
    		<xsl:when test=".='HT'">HAITI</xsl:when>
    		<xsl:when test=".='HM'">HEARD I MCDONALD WYSPY</xsl:when>
    		<xsl:when test=".='ES'">HISZPANIA</xsl:when>
    		<xsl:when test=".='HN'">HONDURAS</xsl:when>
    		<xsl:when test=".='HK'">HONGKONG</xsl:when>
    		<xsl:when test=".='IN'">INDIA</xsl:when>
    		<xsl:when test=".='ID'">INDONEZJA</xsl:when>
    		<xsl:when test=".='IQ'">IRAK</xsl:when>
    		<xsl:when test=".='IR'">IRAN</xsl:when>
    		<xsl:when test=".='IE'">IRLANDIA</xsl:when>
    		<xsl:when test=".='IS'">ISLANDIA</xsl:when>
    		<xsl:when test=".='IL'">IZRAEL</xsl:when>
    		<xsl:when test=".='JM'">JAMAJKA</xsl:when>
    		<xsl:when test=".='JP'">JAPONIA</xsl:when>
    		<xsl:when test=".='YE'">JEMEN</xsl:when>
    		<xsl:when test=".='JO'">JORDANIA</xsl:when>
    		<xsl:when test=".='KY'">KAJMANY</xsl:when>
    		<xsl:when test=".='KH'">KAMBODŻA</xsl:when>
    		<xsl:when test=".='CM'">KAMERUN</xsl:when>
    		<xsl:when test=".='CA'">KANADA</xsl:when>
    		<xsl:when test=".='QA'">KATAR</xsl:when>
    		<xsl:when test=".='KZ'">KAZACHSTAN</xsl:when>
    		<xsl:when test=".='KE'">KENIA</xsl:when>
    		<xsl:when test=".='KG'">KIRGISTAN</xsl:when>
    		<xsl:when test=".='KI'">KIRIBATI</xsl:when>
    		<xsl:when test=".='CO'">KOLUMBIA</xsl:when>
    		<xsl:when test=".='KM'">KOMORY</xsl:when>
    		<xsl:when test=".='CG'">KONGO</xsl:when>
    		<xsl:when test=".='CD'">KONGO (D. ZAIR)</xsl:when>
    		<xsl:when test=".='KP'">KOREAŃSKA REPUBLIKA LUDOWO-DEMOKRATYCZNA</xsl:when>
    		<xsl:when test=".='CR'">KOSTARYKA</xsl:when>
    		<xsl:when test=".='CU'">KUBA</xsl:when>
    		<xsl:when test=".='KW'">KUWEJT</xsl:when>
    		<xsl:when test=".='LA'">LAOS</xsl:when>
    		<xsl:when test=".='LS'">LESOTHO</xsl:when>
    		<xsl:when test=".='LB'">LIBAN</xsl:when>
    		<xsl:when test=".='LR'">LIBERIA</xsl:when>
    		<xsl:when test=".='LY'">LIBIA</xsl:when>
    		<xsl:when test=".='LI'">LIECHTENSTEIN</xsl:when>
    		<xsl:when test=".='LT'">LITWA</xsl:when>
    		<xsl:when test=".='LU'">LUKSEMBURG</xsl:when>
    		<xsl:when test=".='MK'">MACEDONIA</xsl:when>
    		<xsl:when test=".='MG'">MADAGASKAR</xsl:when>
    		<xsl:when test=".='YT'">MAJOTTA</xsl:when>
    		<xsl:when test=".='MO'">MAKAU</xsl:when>
    		<xsl:when test=".='MW'">MALAWI</xsl:when>
    		<xsl:when test=".='MV'">MALEDIWY</xsl:when>
    		<xsl:when test=".='MY'">MALEZJA</xsl:when>
    		<xsl:when test=".='ML'">MALI</xsl:when>
    		<xsl:when test=".='MT'">MALTA</xsl:when>
    		<xsl:when test=".='MP'">MARIANY PÓŁNOCNE</xsl:when>
    		<xsl:when test=".='MA'">MAROKO</xsl:when>
    		<xsl:when test=".='MQ'">MARTYNIKA</xsl:when>
    		<xsl:when test=".='MR'">MAURETANIA</xsl:when>
    		<xsl:when test=".='MU'">MAURITIUS</xsl:when>
    		<xsl:when test=".='MX'">MEKSYK</xsl:when>
    		<xsl:when test=".='XL'">MELILLA</xsl:when>
    		<xsl:when test=".='FM'">MIKRONEZJA</xsl:when>
    		<xsl:when test=".='UM'">MINOR (POWIERNICZE WYSPY PACYFIKU STANÓW ZJEDNOCZONYCH)</xsl:when>
    		<xsl:when test=".='MC'">MONAKO</xsl:when>
    		<xsl:when test=".='MN'">MONGOLIA</xsl:when>
    		<xsl:when test=".='MS'">MONTSERRAT</xsl:when>
    		<xsl:when test=".='MZ'">MOZAMBIK</xsl:when>
    		<xsl:when test=".='MD'">MOŁDOWA</xsl:when>
    		<xsl:when test=".='MM'">MYANMAR (BURMA)</xsl:when>
    		<xsl:when test=".='NA'">NAMIBIA</xsl:when>
    		<xsl:when test=".='NR'">NAURU</xsl:when>
    		<xsl:when test=".='NP'">NEPAL</xsl:when>
    		<xsl:when test=".='NL'">NIDERLANDY</xsl:when>
    		<xsl:when test=".='DE'">NIEMCY</xsl:when>
    		<xsl:when test=".='NE'">NIGER</xsl:when>
    		<xsl:when test=".='NG'">NIGERIA</xsl:when>
    		<xsl:when test=".='NI'">NIKARAGUA</xsl:when>
    		<xsl:when test=".='NU'">NIUE</xsl:when>
    		<xsl:when test=".='NF'">NORFOLK</xsl:when>
    		<xsl:when test=".='NO'">NORWEGIA</xsl:when>
    		<xsl:when test=".='NC'">NOWA KALEDONIA</xsl:when>
    		<xsl:when test=".='NZ'">NOWA ZELANDIA</xsl:when>
    		<xsl:when test=".='PS'">OKUPOWANE TERYTORIUM PALESTYNY</xsl:when>
    		<xsl:when test=".='OM'">OMAN</xsl:when>
    		<xsl:when test=".='PK'">PAKISTAN</xsl:when>
    		<xsl:when test=".='PW'">PALAU</xsl:when>
    		<xsl:when test=".='PA'">PANAMA</xsl:when>
    		<xsl:when test=".='PG'">PAPUA NOWA GWINEA</xsl:when>
    		<xsl:when test=".='PY'">PARAGWAJ</xsl:when>
    		<xsl:when test=".='PE'">PERU</xsl:when>
    		<xsl:when test=".='PN'">PITCAIRN</xsl:when>
    		<xsl:when test=".='PF'">POLINEZJA FRANC.</xsl:when>
    		<xsl:when test=".='PL'">POLSKA</xsl:when>
    		<xsl:when test=".='PR'">PORTORYKO</xsl:when>
    		<xsl:when test=".='PT'">PORTUGALIA</xsl:when>
    		<xsl:when test=".='GS'">POŁUDNIONA GEORGIA I POŁUDNIOWE WYSPY SANDWICH</xsl:when>
    		<xsl:when test=".='ZA'">REP. POŁUD. AFRYKI</xsl:when>
    		<xsl:when test=".='CF'">REP. ŚRODKOWOAFRYKAŃSKA</xsl:when>
    		<xsl:when test=".='CZ'">REPUBLIKA CZESKA</xsl:when>
    		<xsl:when test=".='KR'">REPUBLIKA KOREI</xsl:when>
    		<xsl:when test=".='RE'">REUNION</xsl:when>
    		<xsl:when test=".='RU'">ROSJA</xsl:when>
    		<xsl:when test=".='RW'">RUANDA</xsl:when>
    		<xsl:when test=".='RO'">RUMUNIA</xsl:when>
    		<xsl:when test=".='EH'">SAHARA ZACHODNIA</xsl:when>
    		<xsl:when test=".='SV'">SALWADOR</xsl:when>
    		<xsl:when test=".='AS'">SAMOA AMERYKAŃSKIE</xsl:when>
    		<xsl:when test=".='SM'">SAN MARINO</xsl:when>
    		<xsl:when test=".='SN'">SENEGAL</xsl:when>
    		<xsl:when test=".='CS'">SERBIA I CZARNOGÓRA</xsl:when>
    		<xsl:when test=".='SC'">SESZELE</xsl:when>
    		<xsl:when test=".='SL'">SIERRA LEONE</xsl:when>
    		<xsl:when test=".='SG'">SINGAPUR</xsl:when>
    		<xsl:when test=".='SO'">SOMALIA</xsl:when>
    		<xsl:when test=".='LK'">SRI LANKA</xsl:when>
    		<xsl:when test=".='KN'">ST.KITTS I NEVIS</xsl:when>
    		<xsl:when test=".='LC'">ST.LUCIA</xsl:when>
    		<xsl:when test=".='PM'">ST.PIERRE I MIQUELON</xsl:when>
    		<xsl:when test=".='US'">STANY ZJEDNOCZONE AMERYKI</xsl:when>
    		<xsl:when test=".='SZ'">SUAZI</xsl:when>
    		<xsl:when test=".='SD'">SUDAN</xsl:when>
    		<xsl:when test=".='SR'">SURINAM</xsl:when>
    		<xsl:when test=".='SJ'">SVALBARD I JAN MEYEN</xsl:when>
    		<xsl:when test=".='CH'">SZWAJCARIA</xsl:when>
    		<xsl:when test=".='SE'">SZWECJA</xsl:when>
    		<xsl:when test=".='SK'">SŁOWACJA</xsl:when>
    		<xsl:when test=".='SI'">SŁOWENIA</xsl:when>
    		<xsl:when test=".='TJ'">TADŻYKISTAN</xsl:when>
    		<xsl:when test=".='TH'">TAJLANDIA</xsl:when>
    		<xsl:when test=".='TW'">TAJWAN</xsl:when>
    		<xsl:when test=".='TZ'">TANZANIA</xsl:when>
    		<xsl:when test=".='TG'">TOGO</xsl:when>
    		<xsl:when test=".='TK'">TOKELAU</xsl:when>
    		<xsl:when test=".='TO'">TONGA</xsl:when>
    		<xsl:when test=".='TT'">TRYNIDAD I TOBAGO</xsl:when>
    		<xsl:when test=".='TN'">TUNEZJA</xsl:when>
    		<xsl:when test=".='TR'">TURCJA</xsl:when>
    		<xsl:when test=".='TM'">TURKMENISTAN</xsl:when>
    		<xsl:when test=".='TC'">TURKS I CAICOS</xsl:when>
    		<xsl:when test=".='TV'">TUVALU</xsl:when>
    		<xsl:when test=".='UG'">UGANDA</xsl:when>
    		<xsl:when test=".='UA'">UKRAINA</xsl:when>
    		<xsl:when test=".='UY'">URUGWAJ</xsl:when>
    		<xsl:when test=".='UZ'">UZBEKISTAN</xsl:when>
    		<xsl:when test=".='VU'">VANUATU</xsl:when>
    		<xsl:when test=".='VC'">VINCENT I GRENADYNY</xsl:when>
    		<xsl:when test=".='WF'">WALLIS I FUTUNA</xsl:when>
    		<xsl:when test=".='VA'">WATYKAN</xsl:when>
    		<xsl:when test=".='VE'">WENEZUELA</xsl:when>
    		<xsl:when test=".='GB'">WIELKA BRYTANIA</xsl:when>
    		<xsl:when test=".='VN'">WIETNAM</xsl:when>
    		<xsl:when test=".='TL'">WSCHODNI TIMOR</xsl:when>
    		<xsl:when test=".='CI'">WYBRZEŻE KOŚCI SŁONIOWEJ</xsl:when>
    		<xsl:when test=".='BV'">WYSPA BOUVETA</xsl:when>
    		<xsl:when test=".='CX'">WYSPA BOŻEGO NARODZENIA</xsl:when>
    		<xsl:when test=".='CK'">WYSPY COOKA</xsl:when>
    		<xsl:when test=".='VG'">WYSPY DZIEWICZE - W.B</xsl:when>
    		<xsl:when test=".='VI'">WYSPY DZIEWICZE-USA</xsl:when>
    		<xsl:when test=".='CC'">WYSPY KOKOSOWE</xsl:when>
    		<xsl:when test=".='MH'">WYSPY MARSHALLA</xsl:when>
    		<xsl:when test=".='FO'">WYSPY OWCZE</xsl:when>
    		<xsl:when test=".='ST'">WYSPY ŚW. TOMASZA I KSIĄŻĘCA</xsl:when>
    		<xsl:when test=".='HU'">WĘGRY</xsl:when>
    		<xsl:when test=".='IT'">WŁOCHY</xsl:when>
    		<xsl:when test=".='ZM'">ZAMBIA</xsl:when>
    		<xsl:when test=".='CV'">ZIELONY PRZYLĄDEK</xsl:when>
    		<xsl:when test=".='ZW'">ZIMBABWE</xsl:when>
    		<xsl:when test=".='AE'">ZJEDNOCZONE EMIRATY ARABSKIE</xsl:when>
    		<xsl:when test=".='LV'">ŁOTWA</xsl:when>
    		<xsl:when test=".='SH'">ŚWIĘTA HELENA</xsl:when>
    		</xsl:choose>		
    	</xsl:template>			
    	
    	<xsl:template name="Data">
    		<xsl:param name="data"/>
    		<xsl:if test="$data != ''">
    				<xsl:value-of select="substring($data, 9, 2)"/>-<xsl:value-of select="substring($data, 6, 2)"/>-<xsl:value-of select="substring($data, 1, 4)"/>		
    		</xsl:if>
    	</xsl:template>	
    
    	
    	<xsl:template name="Instytucja">
    		<xsl:param name="instytucja"/>
    		<xsl:value-of select="$instytucja/inst:NazwaInstytucji"/>
    		<br/>
    		<xsl:apply-templates select="$instytucja/wnio:Adres"/>
    	</xsl:template>	
    	
    	<xsl:template match="str:Zalaczniki">
    		<br/>
    		<xsl:variable name="aktualnyCount" select="count(../wnio:ZalacznikiEx/wnio:Zalacznik[@aktualny='true'])"/>
    		<table border="1" cellspacing="0" cellpadding="4">					
    			<tr>
    				<td class="tableHeader">L.p.</td>
    				<xsl:if test="$aktualnyCount &gt; 0">
    					<td class="tableHeader">Potwierdzona <br/>aktualność</td>
    				</xsl:if>	
    				<td class="tableHeader">Nazwa</td>
    				<td class="tableHeader">Opis</td>
    				<td class="tableHeader">Plik</td>
    			</tr>		
    			<xsl:for-each select="str:Zalacznik">
    				<xsl:variable name="pos" select="position()"/>
    					<tr>
    						<td>
    <center>
    <xsl:value-of select="$pos"/>
    </center>
    </td>
    						<xsl:if test="$aktualnyCount &gt; 0">
    							<td>
    <center>
    								<xsl:if test="../../wnio:ZalacznikiEx/wnio:Zalacznik[$pos]/@aktualny='true'">Tak</xsl:if>
    								<xsl:if test="../../wnio:ZalacznikiEx/wnio:Zalacznik[$pos]/@aktualny='false'">Nie</xsl:if>
    								<xsl:if test="../../wnio:ZalacznikiEx/wnio:Zalacznik[$pos]/@aktualny=''">Nie dotyczy</xsl:if>
    							</center>
    </td>
    						</xsl:if>
    						<td>
    <xsl:value-of select="../../wnio:ZalacznikiEx/wnio:Zalacznik[$pos]/wnio:RodzajNazwa"/>
    </td>	
    						<td> <xsl:value-of select="str:OpisZalacznika"/>
    </td>
    						<td>
    							<xsl:choose>
    								<xsl:when test="@kodowanie='URI'">
    									<A>
    										<xsl:attribute name="HREF">
    <xsl:value-of select="str:DaneZalacznika"/>
    </xsl:attribute>
    										<xsl:attribute name="TARGET">_blank</xsl:attribute>
    										<B>
    											<xsl:value-of select="@nazwaPliku"/>
    										</B>
    									</A>
    								</xsl:when>
    								<xsl:otherwise>
    									<xsl:if test="@nazwaPliku!= ''">
    										<xsl:value-of select="@nazwaPliku"/>
    									</xsl:if>
    									<xsl:if test="@nazwaPliku= ''">
    										<span style="color:red">Nie załączono pliku</span>
    									</xsl:if>			
    								</xsl:otherwise>
    							</xsl:choose>
    						</td>	
    					</tr>
    			</xsl:for-each>
    		</table>	
    	</xsl:template>
    	
    	
    	
    	<xsl:template name="Osoba">
    		<xsl:param name="osoba"/>
    		<xsl:param name="nazwa"/>
    		<div id="mainBlock" style="margin: 0px 0 0 0 ">
    			<div class="mainBlockHeader">
    				<xsl:value-of select="$nazwa"/>
    			</div>
    			<table width="100%" cellspacing="0" cellpadding="0" style="border:0px">
    				<tr>
    					<td width="30" style="border:0px"/>
    					<td style="vertical-align:top;height:30px;background-color:white;border:solid 1px #000000; border-bottom:0px;border-right:0px">
    						<xsl:call-template name="BlockLabel">
    							<xsl:with-param name="text">7. Nazwisko</xsl:with-param>
    						</xsl:call-template>
    						<div class="blockContent">
    							<xsl:value-of select="$osoba/oso:Nazwisko"/>
    						</div>
    					</td>
    				</tr>
    			</table>
    			<table width="100%" cellspacing="0" cellpadding="0" style="border:0px">
    				<tr>
    					<td width="30" style="border:0px"/>
    					<td style="vertical-align:top;height:30px;background-color:white;border:solid 1px #000000; border-bottom:0px;border-right:0px">
    						<xsl:call-template name="BlockLabel">
    							<xsl:with-param name="text">8. Pierwsze imię, drugie imię</xsl:with-param>
    						</xsl:call-template>
    						<div class="blockContent">
    							<xsl:value-of select="$osoba/oso:Imie"/>, <xsl:value-of select="$osoba/oso:ImieDrugie"/>
    						</div>
    					</td>
    				</tr>
    			</table>
    			<table width="100%" cellspacing="0" cellpadding="0" style="border:0px">
    				<tr>
    					<td width="30" style="border:0px"/>
    					<td width="50%" style="vertical-align:top;height:30px;background-color:white;border:solid 1px #000000; border-bottom:0px;border-right:0px">
    						<xsl:call-template name="BlockLabel">
    							<xsl:with-param name="text">9. Identyfikator REGON</xsl:with-param>
    						</xsl:call-template>
    						<div class="blockContent">
    							<xsl:value-of select="$osoba/wnio:Identyfikatory/wnio:REGON"/>
    						</div>
    					</td>
    					<td style="vertical-align:top;height:30px;background-color:white;border:solid 1px #000000; border-bottom:0px;border-right:0px">
    						<xsl:call-template name="BlockLabel">
    							<xsl:with-param name="text">10. Numer PESEL</xsl:with-param>
    						</xsl:call-template>
    						<div class="blockContent">
    							<xsl:value-of select="$osoba/wnio:Identyfikatory/wnio:PESEL"/>
    						</div>
    					</td>
    				</tr>
    			</table>
    			<table width="100%" cellspacing="0" cellpadding="0" style="border:0px">
    				<tr>
    					<td width="30" style="border:0px"/>
    					<td width="50%" style="vertical-align:top;height:30px;background-color:white;border:solid 1px #000000; border-bottom:0px;border-right:0px">
    						<xsl:call-template name="BlockLabel">
    							<xsl:with-param name="text">11. Nr telefonu</xsl:with-param>
    						</xsl:call-template>
    						<div class="blockContent">
    							<xsl:value-of select="$osoba/adr:Kontakt/adr:Telefon"/>
    						</div>
    					</td>
    					<td style="vertical-align:top;height:30px;background-color:white;border:solid 1px #000000; border-bottom:0px;border-right:0px">
    						<xsl:call-template name="BlockLabel">
    							<xsl:with-param name="text">12. Adres e-mail</xsl:with-param>
    						</xsl:call-template>
    						<div class="blockContent">
    							<xsl:value-of select="$osoba/adr:Kontakt/adr:Email"/>
    						</div>
    					</td>
    				</tr>
    			</table>
    			<table width="100%" cellspacing="0" cellpadding="2" style="border:0px">
    				<tr>
    					<td style="border: solid 1px;border-left:0px;border-right:0px">Pola 13, 14, 15 należy wypełnić w przypadku, gdy numer PESEL nie został nadany.</td>
    				</tr>
    			</table>
    			<table width="100%" cellspacing="0" cellpadding="0" style="border:0px;">
    				<tr>
    					<td width="30" style="border:0px"/>
    					<td width="30%" style="vertical-align:top;height:30px;background-color:white;border:solid 1px #000000;border-top:0px; border-bottom:0px;border-right:0px">
    						<xsl:call-template name="BlockLabel">
    							<xsl:with-param name="text">13. Data urodzenia</xsl:with-param>
    						</xsl:call-template>
    						<div class="blockContent">
    							<xsl:value-of select="$osoba/wnio:DataUrodzenia"/>
    						</div>
    					</td>
    					<td width="30%" style="vertical-align:top;height:30px;background-color:white;border:solid 1px #000000;border-top:0px; border-bottom:0px;border-right:0px">
    						<xsl:call-template name="BlockLabel">
    							<xsl:with-param name="text">14. Imię ojca</xsl:with-param>
    						</xsl:call-template>
    						<div class="blockContent">
    							<xsl:value-of select="$osoba/oso:ImieOjca"/>
    						</div>
    					</td>
    					<td style="vertical-align:top;height:30px;background-color:white;border:solid 1px #000000;border-top:0px; border-bottom:0px;border-right:0px">
    						<xsl:call-template name="BlockLabel">
    							<xsl:with-param name="text">15. Imię matki</xsl:with-param>
    						</xsl:call-template>
    						<div class="blockContent">
    							<xsl:value-of select="$osoba/oso:ImieMatki"/>
    						</div>
    					</td>
    				</tr>
    			</table>
    		</div>
    	</xsl:template>
    		<xsl:template name="RodzajPodatnika">
    		<xsl:param name="podatnik"/>
    		<table width="100%" style="border:0px">
    			<tr>
    				<td/>
    				<td width="20"><div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    					<xsl:if test="$podatnik='OF' or not($podatnik)">
    						<b><center>X</center></b>
    					</xsl:if>
    				</div></td>
    				<td>1. Osoba fizyczna</td>
    				<td/>
    				<td width="20">
    					<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    						<xsl:if test="$podatnik='OP'">
    							<b><center>X</center></b>
    						</xsl:if>											
    					</div>
    				</td>
    				<td>2. Osoba prawna</td>
    				<td/>
    				<td width="20">
    					<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    						<xsl:if test="podatnik='JO'">
    							<b><center>X</center></b>
    						</xsl:if>											
    					</div>
    				</td>
    				<td>3. Jednostka organizacyjna, w tym spółka, nieposiadająca osobowości prawnej</td>									
    				<td/>									
    			</tr>
    		</table>		
    	</xsl:template>	
    	
    	<xsl:template name="PrzyczynaZalacznika">
    		<xsl:param name="przyczyna"/>	
    		<table width="100%">
    			<tr>
    				<td/>
    				<td width="20"><div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    					<xsl:if test="$przyczyna='Z'">
    						<b><center>X</center></b>
    					</xsl:if>
    				</div></td>
    				<td>Zgłoszenie obowiązku podatkowego na początku roku</td>		
    			</tr>
    			<tr>
    				<td/>
    				<td width="20"><div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    					<xsl:if test="$przyczyna='T'">
    						<b><center>X</center></b>
    					</xsl:if>
    				</div></td>
    				<td>Powstanie obowiązku podatkowego w trakcie roku podatkowego</td>		
    			</tr>		
    			<tr>
    				<td/>
    				<td width="20"><div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    					<xsl:if test="$przyczyna='W'">
    						<b><center>X</center></b>
    					</xsl:if>
    				</div></td>
    				<td>Wygaśnięcie obowiązku podatkowego w trakcie roku podatkowego</td>		
    			</tr>				
    		</table>	
    	</xsl:template>	
    	
    	<xsl:template name="BlockLabel">
    		<xsl:param name="text"/>		
    		<div style="text-align:left;"><span style="font-size:7pt;font-weight:bold;margin: 3px;"><xsl:value-of select="$text"/></span></div>	
    	</xsl:template>
    	
    	<xsl:template name="Jednostka">
    		<xsl:param name="text"/>		
    		<xsl:choose>
    			<xsl:when test="$text='m2'">m<sup>2</sup></xsl:when>
    			<xsl:otherwise><xsl:value-of select="$text"/></xsl:otherwise>
    		</xsl:choose>
    	</xsl:template>	
    	
    	<xsl:template name="Number">
    		<xsl:param name="number"/>
    		<xsl:if test="$number != ''">
    			<xsl:if test="string(number($number)) = 'NaN'">
    				<span style="color:red">Błędna liczba</span>
    			</xsl:if>
    			<xsl:if test="string(number($number)) != 'NaN'">
    				<xsl:value-of select="format-number($number, '###.##0,00', 'Polish')"/>
    			</xsl:if>
    		</xsl:if>	
    	</xsl:template>			
    	
    	<xsl:template name="Number4">
    		<xsl:param name="number"/>
    		<xsl:if test="$number != ''">
    			<xsl:if test="string(number($number)) = 'NaN'">
    				<span style="color:red">Błędna liczba</span>
    			</xsl:if>
    			<xsl:if test="string(number($number)) != 'NaN'">
    				<xsl:value-of select="format-number($number, '###.##0,0000', 'Polish')"/>
    			</xsl:if>
    		</xsl:if>	
    	</xsl:template>	
    	<xsl:template name="Number0">
    		<xsl:param name="number"/>
    		<xsl:if test="$number != ''">
    			<xsl:if test="string(number($number)) = 'NaN'">
    				<span style="color:red">Błędna liczba</span>
    			</xsl:if>
    			<xsl:if test="string(number($number)) != 'NaN'">
    				<xsl:value-of select="format-number($number, '###.##0', 'Polish')"/>
    			</xsl:if>
    		</xsl:if>	
    	</xsl:template>			
    		<xsl:template name="Adres">
    		<xsl:param name="adres"/>
    		<xsl:param name="numer"/>
    		<table width="100%" cellspacing="0" cellpadding="0" style="border:0px;">
    			<tr>
    				<td width="30" style="border:0px"/>
    				<td style="vertical-align:top;height:30px;background-color:white;border:solid 1px #000000; border-bottom:0px;border-right:0px">
    					<xsl:call-template name="BlockLabel">
    						<xsl:with-param name="text">
    							<xsl:value-of select="$numer"/>. Kraj</xsl:with-param>
    					</xsl:call-template>
    					<div class="blockContent">
    						<xsl:apply-templates select="$adres/adr:Kraj"/>
    					</div>
    				</td>
    				<td style="vertical-align:top;height:30px;background-color:white;border:solid 1px #000000; border-bottom:0px;border-right:0px">
    					<xsl:call-template name="BlockLabel">
    						<xsl:with-param name="text">
    							<xsl:value-of select="$numer+1"/>. Województwo</xsl:with-param>
    					</xsl:call-template>
    					<div class="blockContent">
    						<xsl:value-of select="$adres/adr:Wojewodztwo"/>
    					</div>
    				</td>
    				<td style="vertical-align:top;height:30px;background-color:white;border:solid 1px #000000; border-bottom:0px;border-right:0px">
    					<xsl:call-template name="BlockLabel">
    						<xsl:with-param name="text">
    							<xsl:value-of select="$numer+2"/>. Powiat</xsl:with-param>
    					</xsl:call-template>
    					<div class="blockContent">
    						<xsl:value-of select="$adres/adr:Powiat"/>
    					</div>
    				</td>
    			</tr>
    		</table>
    		<table width="100%" cellspacing="0" cellpadding="0" style="border:0px;">
    			<tr>
    				<td width="30" style="border:0px"/>
    				<td style="vertical-align:top;height:30px;background-color:white;border:solid 1px #000000; border-bottom:0px;border-right:0px">
    					<xsl:call-template name="BlockLabel">
    						<xsl:with-param name="text">
    							<xsl:value-of select="$numer+3"/>. Gmina</xsl:with-param>
    					</xsl:call-template>
    					<div class="blockContent">
    						<xsl:value-of select="$adres/adr:Gmina"/>
    					</div>
    				</td>
    				<td style="vertical-align:top;height:30px;background-color:white;border:solid 1px #000000; border-bottom:0px;border-right:0px">
    					<xsl:call-template name="BlockLabel">
    						<xsl:with-param name="text">
    							<xsl:value-of select="$numer+4"/>. Ulica</xsl:with-param>
    					</xsl:call-template>
    					<div class="blockContent">
    						<xsl:if test="$adres/adr:Ulica!=''">
    							<xsl:for-each select="$adres/adr:Ulica[@rodzajUlicy != 'inna' and @rodzajUlicy != 'ulica']">
    								<xsl:value-of select="@rodzajUlicy"/>
    								<xsl:text> </xsl:text>
    							</xsl:for-each>
    							<xsl:value-of select="$adres/adr:Ulica"/>
    						</xsl:if>
    					</div>
    				</td>
    				<td width="100px" style="vertical-align:top;height:30px;background-color:white;border:solid 1px #000000; border-bottom:0px;border-right:0px">
    					<xsl:call-template name="BlockLabel">
    						<xsl:with-param name="text">
    							<xsl:value-of select="$numer+5"/>. Nr domu</xsl:with-param>
    					</xsl:call-template>
    					<div class="blockContent">
    						<xsl:value-of select="$adres/adr:Budynek"/>
    					</div>
    				</td>
    				<td width="100px" style="vertical-align:top;height:30px;background-color:white;border:solid 1px #000000; border-bottom:0px;border-right:0px">
    					<xsl:call-template name="BlockLabel">
    						<xsl:with-param name="text">
    							<xsl:value-of select="$numer+6"/>. Nr lokalu</xsl:with-param>
    					</xsl:call-template>
    					<div class="blockContent">
    						<xsl:value-of select="$adres/adr:Lokal"/>
    					</div>
    				</td>
    			</tr>
    		</table>
    		<table width="100%" cellspacing="0" cellpadding="0" style="border:0px">
    			<tr>
    				<td width="30" style="border:0px"/>
    				<td width="30%" style="vertical-align:top;height:30px;background-color:white;border:solid 1px #000000; border-bottom:0px;border-right:0px">
    					<xsl:call-template name="BlockLabel">
    						<xsl:with-param name="text">
    							<xsl:value-of select="$numer+7"/>. Miejscowość</xsl:with-param>
    					</xsl:call-template>
    					<div class="blockContent">
    						<xsl:value-of select="$adres/adr:Miejscowosc"/>
    					</div>
    				</td>
    				<td width="120" style="vertical-align:top;height:30px;background-color:white;border:solid 1px #000000; border-bottom:0px;border-right:0px">
    					<xsl:call-template name="BlockLabel">
    						<xsl:with-param name="text">
    							<xsl:value-of select="$numer+8"/>. Kod pocztowy</xsl:with-param>
    					</xsl:call-template>
    					<div class="blockContent">
    						<xsl:value-of select="$adres/wnio:KodPocztowy"/>
    					</div>
    				</td>
    				<td style="vertical-align:top;height:30px;background-color:white;border:solid 1px #000000; border-bottom:0px;border-right:0px">
    					<xsl:call-template name="BlockLabel">
    						<xsl:with-param name="text">
    							<xsl:value-of select="$numer+9"/>. Poczta</xsl:with-param>
    					</xsl:call-template>
    					<div class="blockContent">
    						<xsl:value-of select="$adres/adr:Poczta"/>
    					</div>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	
    	<xsl:template name="AdresOneLine">
    		<xsl:for-each select="adr:Ulica[@rodzajUlicy != 'inna']">
    			<xsl:value-of select="@rodzajUlicy"/>
    			<xsl:text> </xsl:text>
    		</xsl:for-each>
    		<xsl:value-of select="adr:Ulica"/>
    		<xsl:text> </xsl:text>
    		<xsl:value-of select="adr:Budynek"/>
    		<xsl:for-each select="adr:Lokal[text() != '']">
    			<xsl:text>/</xsl:text>
    			<xsl:value-of select="."/>
    		</xsl:for-each>, 
    		<xsl:value-of select="adr:KodPocztowy"/>
    		<xsl:text> </xsl:text>
    		<xsl:value-of select="adr:Miejscowosc"/>
    	</xsl:template>	
    	
    <xsl:template name="ZwolnienieDetail">
    		<xsl:param name="numer"/>
    		<xsl:if test="wnio:HaFizyczne">
    			<td class="gridValue" style="text-align:center; vertical-align: top">
    				<xsl:call-template name="BlockLabel">
    					<xsl:with-param name="text">
    						<xsl:value-of select="$numer"/>.</xsl:with-param>
    				</xsl:call-template>
    				<xsl:if test="wnio:HaFizyczne != ''">
    					<xsl:value-of select="format-number(wnio:HaFizyczne, '###.##0,0000', 'Polish')"/>
    				</xsl:if>
    			</td>
    		</xsl:if>
    	</xsl:template>
    	
    	
    	<xsl:template name="Zwolnienie">
    		<xsl:param name="kod"/>
    		<xsl:param name="numer"/>
    		<xsl:for-each select="wnio:Zwolnienia/wnio:Zwolnienie[@kod=$kod]">
    			<xsl:call-template name="ZwolnienieDetail">
    				<xsl:with-param name="numer" select="$numer"/>
    			</xsl:call-template>
    		</xsl:for-each>
    	</xsl:template>	
    </xsl:stylesheet>