481

ID481
Data2010-12-23
Symbol2010/12/23/481
InstytucjaUrząd Miasta Oświęcim
NazwaInformacja w sprawie podatku od nieruchomości IN-1
Czy Aktualny0

Ustawy (1)

  • URI://Dziennik_Ustaw/2010/95/613
  • Ustawa z dnia 12 stycznia 1991 r. o podatkach i opłatach lokalnych (Dz. U. z 2010 r. Nr 95, poz. 613 z późn. zm.)

    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/03/06/" xmlns:inst="http://crd.gov.pl/xml/schematy/instytucja/2009/03/06/" xmlns:meta="http://crd.gov.pl/xml/schematy/meta/2009/03/06/" xmlns:oso="http://crd.gov.pl/xml/schematy/osoba/2009/03/06/" xmlns:str="http://crd.gov.pl/xml/schematy/struktura/2009/03/06/" xmlns:wnio="http://crd.gov.pl/wzor/2010/12/23/481/" 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>(IN-1) INFORMACJA W SPRAWIE PODATKU OD NIERUCHOMOŚCI</xsl:text>
    				</title>
    				
    				<style type="text/css"> body { font-size: 9pt; font-family: Arial;color: #000000; text-align: left}</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: #aaaaaa}</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:7pt; vertical-align:middle;border: solid 1px black;  height:30px; }
    					.gridValue {vertical-align:top;text-align:center; border: solid 1px black; background: white; height:30px; }
    					</style>		
    				 
    			</head>
    			
    			<body> <span style="font-size:9pt;font-family-Arial">
    			
    			<div style="border: solid 1px; width:250px;float:left">
    				<xsl:call-template name="BlockLabel"><xsl:with-param name="text">1. Numer Identyfikacji Podatkowej podatnika</xsl:with-param></xsl:call-template>
    				<center>
    					<xsl:value-of select="wnio:Dokument/wnio:TrescDokumentu/wnio:Deklaracja/wnio:Podatnik/wnio:Osoba/oso:IdOsoby/oso:NIP"/> 
    				</center>				
    			</div>
    			<div style="border: solid 1px; width:250px;float:left; border-left: 0px; ">
    				<xsl:call-template name="BlockLabel"><xsl:with-param name="text">2. Numer Identyfikacji Podatkowej małżonka</xsl:with-param></xsl:call-template>
    				<center>
    					<xsl:value-of select="wnio:Dokument/wnio:TrescDokumentu/wnio:Deklaracja/wnio:Malzonek/wnio:Osoba/oso:IdOsoby/oso:NIP"/> 
    				</center>				
    			</div>			
    			<div style="border: solid 1px; width:100px;float:left; border-left: 0px; background: #eeeeee">
    				<xsl:call-template name="BlockLabel"><xsl:with-param name="text">3. Nr dokumentu</xsl:with-param></xsl:call-template> 
    			</div>			
    			<div style="clear:both"/>
    			<br/>
    			<br/>
    
    			
    			<div class="docHeader" style="position:relative">
    				<div>IN-1</div>
    				<div style="position:absolute; top:0px; left: 0px; width:100%"><center>INFORMACJA W SPRAWIE PODATKU OD NIERUCHOMOŚCI</center></div>
    			</div>	
    			<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">4. Rok</xsl:with-param></xsl:call-template>
    					<center>
    						<xsl:value-of select="wnio:Dokument/wnio:TrescDokumentu/wnio:Deklaracja/wnio:Rok"/>
    					</center>
    				</div>		
    			</center>
    	
    			<table cellspacing="0" cellpadding="4" style="border-width: 1px 1px 1px 1px;  border-style: solid;border-collapse: collapse;  border-color:black; background:#eeeeee" width="100%">
    				<tr>
    					<td width="140" style="">Podstawa prawna:</td>
    					<td>
    						Ustawa z dnia 12 stycznia 1991 r. o podatkach i opłatach lokalnych (Dz. U. z 2010 r. Nr 95, poz. 613 ze zm.).
    					</td>
    				</tr>
    				<tr>
    					<td width="140">Składający:</td>
    					<td>
    						Formularz przeznaczony dla osób fizycznych będących właścicielami nieruchomości lub obiektów budowlanych, posiadaczami
    						samoistnymi nieruchomości lub obiektów budowlanych, użytkownikami wieczystymi gruntów, posiadaczami nieruchomości lub
    						ich części albo obiektów budowlanych lub ich części, stanowiących własność Skarbu Państwa lub jednostki samorządu
    						terytorialnego.				
    					</td>
    				</tr>
    				<tr>
    					<td width="140">Termin składania:</td>
    					<td>
    						W terminie 14 dni od zaistnienia okoliczności mających wpływ na powstanie (wygaśnięcie) obowiązku podatkowego,
    						lub wysokość opodatkowania.
    					</td>
    				</tr>
    				<tr>
    					<td width="140">Miejsce składania:</td>
    					<td>
    						Organ podatkowy właściwy ze względu na miejsce położenia przedmiotu opodatkowania.
    					</td>				
    				</tr>
    			</table>		
    	
    			
    				<br/>	
    				
    			<div id="mainBlock">
    				<div class="mainBlockHeader">A. MIEJSCE SKŁADANIA INFORMACJI</div>
    				<div class="innerBlock">
    					<xsl:call-template name="BlockLabel"><xsl:with-param name="text">5. Nazwa i adres siedziby organu podatkowego</xsl:with-param></xsl:call-template>
    					<center>
    								<xsl:call-template name="Instytucja">
    							<xsl:with-param name="instytucja" select="wnio:Dokument/wnio:DaneDokumentu/str:Adresaci/meta:Podmiot/inst:Instytucja"/>
    						</xsl:call-template>	
    					</center>
    					<br/>
    
    				</div>
    			</div>	
    			
    				
    			<xsl:for-each select="wnio:Dokument/wnio:TrescDokumentu/wnio:Deklaracja">			
    
    
    				<table width="100%" style="background:#eeeeee; border: solid 1px black; border-bottom: 0px">
    					<tr>
    						<td>
    					<div class="mainBlockHeader">B. OBOWIĄZEK ZŁOŻENIA INFORMACJI</div>
    					<div style="font-size:8pt; margin: 0 0 0 30px">Podatnik ma obowiązek złożenia wraz z korektą informacji 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">6. Okoliczności powodujące obowiązek złożenia informacji (zaznaczyć właściwy kwadrat):</xsl:with-param></xsl:call-template>
    								<table width="100%">
    								<tr>
    									<td/>
    									<td width="20"><div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    										<xsl:if test="wnio:Typ='D'">
    											<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 - obowiązuje od miesiąca 
    										<xsl:if test="wnio:Typ='K'">
    											<xsl:call-template name="Miesiac">
    												<xsl:with-param name="miesiac" select="wnio:Miesiac"/>
    											</xsl:call-template><xsl:text> </xsl:text>	
    											<xsl:value-of select="wnio:Rok"/>
    										</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">7. Rodzaj podmiotu (zaznaczyć właściwy kwadrat):</xsl:with-param></xsl:call-template>
    								<table width="100%" cellspacing="0" cellpadding="2">
    								<tr>
    									<td style="width:10px"><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 style="font-size:8pt">Właściciel</td>
    
    									<td style="width:10px"><div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    										<xsl:if test="wnio:RodzajPodmiotu='PSM'">
    											<b><center>X</center></b>
    										</xsl:if>
    									</div></td>
    									<td style="font-size:8pt">Posiadacz samoistny</td>
    									
    	
    									<td style="width:10px"><div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    										<xsl:if test="wnio:RodzajPodmiotu='PZL'">
    											<b><center>X</center></b>
    										</xsl:if>
    									</div></td>
    									<td style="font-size:8pt">Posiadacz zależny</td>
    									
    	
    									<td style="width:10px"><div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    										<xsl:if test="wnio:RodzajPodmiotu='UWG'">
    											<b><center>X</center></b>
    										</xsl:if>
    									</div></td>
    									<td style="font-size:8pt">Użytkownik wieczysty gruntów</td>	
    					
    								</tr>
    								<tr>
    								
    									<td style="width:10px"><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 style="font-size:8pt">Współwłaściciel</td>
    						
    
    									<td style="width:10px"><div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    										<xsl:if test="wnio:RodzajPodmiotu='WSM'">
    											<b><center>X</center></b>
    										</xsl:if>
    									</div></td>
    									<td style="font-size:8pt">Współposiadacz samoistny</td>
    	
    
    									<td style="width:10px"><div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    										<xsl:if test="wnio:RodzajPodmiotu='WZL'">
    											<b><center>X</center></b>
    										</xsl:if>
    									</div></td>
    									<td style="font-size:8pt">Współposiadacz zależny</td>
    
    									<td style="width:10px"><div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    										<xsl:if test="wnio:RodzajPodmiotu='WWG'">
    											<b><center>X</center></b>
    										</xsl:if>
    									</div></td>
    									<td style="font-size:8pt">Współużytkownik wieczysty gruntów</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:Podatnik/wnio:Osoba"/>
    					<xsl:with-param name="index" select="8"/>
    					<xsl:with-param name="nazwa" select="'D.1. DANE IDENTYFIKACYJNE I ADRES'"/>
    				</xsl:call-template>	
    
    				<xsl:call-template name="Osoba">
    					<xsl:with-param name="osoba" select="wnio:Malzonek/wnio:Osoba"/>
    					<xsl:with-param name="index" select="23"/>
    					<xsl:with-param name="nazwa" select="'D.2. DANE MAŁŻONKA'"/>
    				</xsl:call-template>				
    
    				<div id="mainBlock">
    					<div class="mainBlockHeader">E. DANE DOTYCZĄCE PRZEDMIOTÓW OPODATKOWANIA NIEPODLEGAJĄCYCH ZWOLNIENIU</div>
    				</div>		
    										
    				<div id="mainBlock" style="margin: -1px 0 0 0; font-size:8pt">
    					<div class="mainBlockHeader">E.1. POWIERZCHNIA GRUNTÓW</div>
    					<table cellpadding="0" cellspacing="0" width="100%">
    						<tr>
    							<td width="30"/>
    							<td>
    							
    								<table cellspacing="0" cellpadding="1" width="100%" style="border-collapse: collapse">
    									<tr>
    										<td/>
    										<td class="gridCell" style="width:246px; border: solid 1px black; text-align:center;">Podstawa opodatkowania w m<sup>2</sup> (ha)</td>
    																					
    									</tr>
    									<tr>
    										<td class="gridCell" style="border: solid 1px black">
    											1. Związane z prowadzeniem działalności gospodarczej w zakresie górnictwa, hutnictwa i
    											przetwórstwa przemysłowego (sklasyfikowanej według Polskiej Klasyfikacji
    											Działalności w sekcji B dziale 05-09 oraz w sekcji C dziale 19-22 i 24), bez względu na
    											sposób zakwalifikowania gruntów i budynków								
    										</td>
    										<xsl:call-template name="Grunt">
    											<xsl:with-param name="kod" select="'e.1.1'"/>
    											<xsl:with-param name="jednostka" select="'m2'"/>
    											<xsl:with-param name="numer" select="38"/>
    										</xsl:call-template>		
    									</tr>		
    									<tr>
    										<td class="gridCell" style="border: solid 1px black">	
    											2. Związane z prowadzeniem działalności gospodarczej, bez względu na sposób
    											zakwalifikowania w ewidencji gruntów i budynków		
    										</td>																					
    										<xsl:call-template name="Grunt">
    											<xsl:with-param name="kod" select="'e.1.2'"/>
    											<xsl:with-param name="jednostka" select="'m2'"/>
    											<xsl:with-param name="numer" select="39"/>
    										</xsl:call-template>		
    									</tr>	
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;height:30px">	
    											3. Pod jeziorami, zajęte na zbiorniki wodne retencyjne lub elektrowni wodnych 1)
    										</td>																
    										<xsl:call-template name="Grunt">
    											<xsl:with-param name="kod" select="'e.1.3'"/>
    											<xsl:with-param name="jednostka" select="'ha'"/>
    											<xsl:with-param name="numer" select="40"/>
    										</xsl:call-template>			
    									</tr>
    									<tr>
    										<td class="gridCell" style="border: solid 1px black;height:30px;">		
    											4. Pozostałe grunty, w tym zajęte na prowadzenie odpłatnej statutowej działalności
    											pożytku publicznego przez organizacje pożytku publicznego		
    										</td>
    										<xsl:call-template name="Grunt">
    											<xsl:with-param name="kod" select="'e.1.4'"/>
    											<xsl:with-param name="jednostka" select="'m2'"/>
    											<xsl:with-param name="numer" select="41"/>
    										</xsl:call-template>																								
    									</tr>	
    								</table>
    								<br/>
    		
    						</td>
    						<td width="5"/>
    						</tr>
    						</table>
    			
    				</div>	
    				
    				<div id="mainBlock" style="margin: -1px 0 0 0; font-size:8pt">
    					<div class="mainBlockHeader">E.2. POWIERZCHNIA BUDYNKÓW MIESZKALNYCH LUB ICH CZĘŚCI</div>
    					<table cellpadding="0" cellspacing="0" width="100%">
    						<tr>
    							<td width="30"/>
    							<td>
    									
    								<table cellspacing="0" cellpadding="2" width="100%" style="border-collapse: collapse">
    									<tr>
    										<td rowspan="2"/>
    										<td class="gridCell" style="text-align:center" colspan="2">Powierzchnia użytkowa w m<sup>2</sup></td>
    									</tr>
    									<tr>
    										<td class="gridCell" style="width:120px; text-align:center;">kondygnacja o wysokości<br/>1,40 m – 2,20 m</td>
    										<td class="gridCell" style="width:120px; text-align:center;">kondygnacja o wysokości<br/>powyżej 2,20 m</td>																								
    									</tr>
    									
    							
    									<xsl:call-template name="Budynek">
    										<xsl:with-param name="kod" select="'e.2.1'"/>
    										<xsl:with-param name="numer" select="42"/>
    										<xsl:with-param name="label">
    											1. Mieszkalne				
    										</xsl:with-param> 
    									</xsl:call-template>				
    									<tr>
    										<td class="gridCell" colspan="3">2. Związane z prowadzeniem działalności gospodarczej w tym:</td>
    									</tr>	
    									<xsl:call-template name="Budynek">
    										<xsl:with-param name="kod" select="'e.2.2a'"/>
    										<xsl:with-param name="numer" select="44"/>
    										<xsl:with-param name="label">
    											a. Związane z prowadzeniem działalności gospodarczej w zakresie górnictwa, hutnictwa i
    											przetwórstwa przemysłowego (sklasyfikowanej według Polskiej Klasyfikacji Działalności w
    											sekcji B dziale 05-09 oraz w sekcji C dziale 19-22 i 24)						
    										</xsl:with-param> 
    									</xsl:call-template>	
    									<xsl:call-template name="Budynek">
    										<xsl:with-param name="kod" select="'e.2.2b'"/>
    										<xsl:with-param name="numer" select="46"/>
    										<xsl:with-param name="label">
    											b. Związane z prowadzeniem pozostałej działalności gospodarczej		
    										</xsl:with-param> 
    									</xsl:call-template>																					
    									<xsl:call-template name="Budynek">
    										<xsl:with-param name="kod" select="'e.2.3'"/>
    										<xsl:with-param name="numer" select="48"/>
    										<xsl:with-param name="label">
    											3. Zajęte na prowadzenie działalności gospodarczej w zakresie obrotu kwalifikowanym
    											materiałem siewnym		
    										</xsl:with-param> 
    									</xsl:call-template>				
    									<xsl:call-template name="Budynek">
    										<xsl:with-param name="kod" select="'e.2.4'"/>
    										<xsl:with-param name="numer" select="50"/>
    										<xsl:with-param name="label">
    											4. Związane z prowadzeniem działalności gospodarczej w zakresie udzielania świadczeń
    											zdrowotnych, zajęte przez podmioty udzielające tych świadczeń	
    										</xsl:with-param> 
    									</xsl:call-template>	
    									<xsl:call-template name="Budynek">
    										<xsl:with-param name="kod" select="'e.2.5'"/>
    										<xsl:with-param name="numer" select="52"/>
    										<xsl:with-param name="label">
    											5. Zajęte na prowadzenie odpłatnej statutowej działalności pożytku publicznego przez
    											organizacje pożytku publicznego	
    										</xsl:with-param> 
    									</xsl:call-template>			
    								</table>
    							</td>
    							<td width="5"/>
    						</tr>
    					</table>		
    					<br/>	
    				</div>											
    						
    						
    				<div id="mainBlock" style="margin: -1px 0 0 0; font-size:8pt">
    					<div class="mainBlockHeader">E.3. POWIERZCHNIA BUDYNKÓW POZOSTAŁYCH LUB ICH CZĘŚCI</div>
    					<table cellpadding="0" cellspacing="0" width="100%">
    						<tr>
    							<td width="30"/>
    							<td>
    									
    								<table cellspacing="0" cellpadding="2" width="100%" style="border-collapse: collapse">
    									<tr>
    										<td rowspan="2"/>
    										<td class="gridCell" style="text-align:center;" colspan="2">Powierzchnia użytkowa w m<sup>2</sup></td>
    									</tr>
    									<tr>
    										<td class="gridCell" style="width:120px; text-align:center;">kondygnacja o wysokości<br/>1,40 m – 2,20 m</td>
    										<td class="gridCell" style="width:120px; text-align:center;">kondygnacja o wysokości<br/>powyżej 2,20 m</td>																								
    									</tr>
    									
    									<tr>
    										<td class="gridCell" colspan="3">1. Związane z prowadzeniem działalności gospodarczej w tym:</td>
    									</tr>								
    									<xsl:call-template name="Budynek">
    										<xsl:with-param name="kod" select="'e.3.1a'"/>
    										<xsl:with-param name="numer" select="54"/>
    										<xsl:with-param name="label">
    											a. Związane z prowadzeniem działalności gospodarczej w zakresie górnictwa, hutnictwa i
    											przetwórstwa przemysłowego (sklasyfikowanej według Polskiej Klasyfikacji Działalności w
    											sekcji B dziale 05-09 oraz w sekcji C dziale 19-22 i 24)			
    										</xsl:with-param> 
    									</xsl:call-template>				
    
    									<xsl:call-template name="Budynek">
    										<xsl:with-param name="kod" select="'e.3.1b'"/>
    										<xsl:with-param name="numer" select="56"/>
    										<xsl:with-param name="label">
    											b. Związane z prowadzeniem pozostałej działalności gospodarczej					
    										</xsl:with-param> 
    									</xsl:call-template>	
    									<xsl:call-template name="Budynek">
    										<xsl:with-param name="kod" select="'e.3.2'"/>
    										<xsl:with-param name="numer" select="58"/>
    										<xsl:with-param name="label">
    											2. Zajęte na prowadzenie działalności gospodarczej w zakresie obrotu kwalifikowanym
    											materiałem siewnym				
    										</xsl:with-param> 
    									</xsl:call-template>
    									<xsl:call-template name="Budynek">
    										<xsl:with-param name="kod" select="'e.3.3'"/>
    										<xsl:with-param name="numer" select="60"/>
    										<xsl:with-param name="label">
    											3. Związane z prowadzeniem działalności gospodarczej w zakresie udzielania świadczeń
    											zdrowotnych, zajęte przez podmioty udzielające tych świadczeń			
    										</xsl:with-param> 
    									</xsl:call-template>
    									<xsl:call-template name="Budynek">
    										<xsl:with-param name="kod" select="'e.3.4'"/>
    										<xsl:with-param name="numer" select="62"/>
    										<xsl:with-param name="label">
    											4. Zajęte na prowadzenie odpłatnej statutowej działalności pożytku publicznego przez
    											organizacje pożytku publicznego					
    										</xsl:with-param> 
    									</xsl:call-template>
    									<xsl:call-template name="Budynek">
    										<xsl:with-param name="kod" select="'e.3.5'"/>
    										<xsl:with-param name="numer" select="64"/>
    										<xsl:with-param name="label">
    											5. Zajęte na pomieszczenia gospodarcze lub chów drobnego inwentarza					
    										</xsl:with-param> 
    									</xsl:call-template>
    									<xsl:call-template name="Budynek">
    										<xsl:with-param name="kod" select="'e.3.6'"/>
    										<xsl:with-param name="numer" select="66"/>
    										<xsl:with-param name="label">
    											6. Rekreacyjne zlokalizowane na terenie ogródków działkowych przekraczających normy
    											powierzchni ustalone dla tych budynków w statucie P.Z.D. lub w wydanym na jego
    											podstawie regulaminie ogródków działkowych				
    										</xsl:with-param> 
    									</xsl:call-template>
    									<xsl:call-template name="Budynek">
    										<xsl:with-param name="kod" select="'e.3.7'"/>
    										<xsl:with-param name="numer" select="68"/>
    										<xsl:with-param name="label">
    											7. Garaże wolnostojące				
    										</xsl:with-param> 
    									</xsl:call-template>			
    									<xsl:call-template name="Budynek">
    										<xsl:with-param name="kod" select="'e.3.8'"/>
    										<xsl:with-param name="numer" select="70"/>
    										<xsl:with-param name="label">
    											8. Budynki lub ich części nie wymienione w punkcie „f-j” zgodnie z § 1 ust. 2 pkt 5e uchwały				
    										</xsl:with-param> 
    									</xsl:call-template>																																																														
    
    								</table>
    							</td>
    							<td width="5"/>
    						</tr>
    					</table>		
    					<br/>	
    				</div>											
    											
    						
    						
    				<div id="mainBlock" style="margin: -1px 0 0 0; font-size:8pt">
    					<div class="mainBlockHeader">E.4. WARTOŚĆ BUDOWLI LUB ICH CZĘŚCI ZWIĄZANYCH Z PROWADZENIEM DZIAŁALNOŚCI GOSPODARCZEJ</div>
    					<table cellpadding="0" cellspacing="0" width="100%">
    						<tr>
    							<td width="30"/>
    							<td>
    							
    								<table cellspacing="0" cellpadding="1" width="100%" style="border-collapse: collapse">
    									<tr>
    										<td/>
    										<td class="gridCell" style="width:120px; border: solid 1px black; text-align:center;">Podstawa<br/> opodatkowania w zł *</td>
    									</tr>
    									<tr>
    										<td class="gridCell" style="border: solid 1px black">
    											1. Budowle								
    										</td>
    										<xsl:call-template name="Budowla">
    											<xsl:with-param name="kod" select="'e.4.1'"/>
    											<xsl:with-param name="numer" select="72"/>
    										</xsl:call-template>		
    									</tr>		
    								</table>
    								<br/>
    		
    						</td>
    						<td width="5"/>
    						</tr>
    						</table>
    			
    				</div>	
    
    
    				<div id="mainBlock">
    					<div class="mainBlockHeader">F. INFORMACJA O ZAŁĄCZNIKACH (do niniejszej informacji dołączono)</div>
    					<table cellpadding="0" cellspacing="0" 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%">
    											<xsl:call-template name="BlockLabel"><xsl:with-param name="text">73. Liczba załączników</xsl:with-param></xsl:call-template>
    												ZN-1/Ad: 
    												<xsl:if test="count(wnio:Zalaczniki/wnio:ZalacznikAd/wnio:Dzialka) &gt; 0">1</xsl:if>
    												<xsl:if test="count(wnio:Zalaczniki/wnio:ZalacznikAd/wnio:Dzialka) = 0">0</xsl:if>
    												, ZN-1/Ab:
    												<xsl:if test="count(wnio:Zalaczniki/wnio:ZalacznikAb/wnio:Budynek) &gt; 0">1</xsl:if>
    												<xsl:if test="count(wnio:Zalaczniki/wnio:ZalacznikAb/wnio:Budynek) = 0">0</xsl:if>											
    												, ZN-1/Al:
    												<xsl:if test="count(wnio:Zalaczniki/wnio:ZalacznikAl/wnio:Lokal) &gt; 0">1</xsl:if>
    												<xsl:if test="count(wnio:Zalaczniki/wnio:ZalacznikAl/wnio:Lokal) = 0">0</xsl:if>				
    												, ZN-1/Abl:
    												<xsl:if test="count(wnio:Zalaczniki/wnio:ZalacznikAbl/wnio:Budowla) &gt; 0">1</xsl:if>
    												<xsl:if test="count(wnio:Zalaczniki/wnio:ZalacznikAbl/wnio:Budowla) = 0">0</xsl:if>																							
    										</td>
    										<td class="gridValue" style="width:50%">
    											<xsl:call-template name="BlockLabel"><xsl:with-param name="text">74. Załącznik ZN-1/B składany (zaznaczyć właściwy kwadrat):</xsl:with-param></xsl:call-template>
    											<table width="100%">
    											<tr>
    												<td/>
    												<td width="20"><div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    													<xsl:if test="wnio:Zalaczniki/wnio:ZalacznikB/@saZwolnienia='true'">
    														<b><center>X</center></b>
    													</xsl:if>
    												</div></td>
    												<td width="100">Tak</td>
    												<td/>
    												<td width="20">
    													<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    														<xsl:if test="wnio:Zalaczniki/wnio:ZalacznikB/@saZwolnienia='false'">
    															<b><center>X</center></b>
    														</xsl:if>											
    													</div>
    												</td>
    												<td width="100">Nie</td>
    												<td/>
    											</tr>
    											</table>																											
    										</td>										
    									</tr>
    								</table>
    							</td>
    							<td width="5"/>
    							</tr>
    						</table>
    					<br/>			
    				</div>	
    				
    				<div id="mainBlock">
    					<div class="mainBlockHeader">G. OŚWIADCZENIE I PODPIS PODATNIKA /(MAŁŻONKA) / OSOBY REPREZENTUJĄCEJ PODATNIKA / (OSOBY REPREZENTUJĄCEJ MAŁŻONKA)</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 cellpadding="0" cellspacing="0" 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" colspan="2">
    												<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="75"/>. Data wypełnienia informacji (dzień - miesiąc - rok)</xsl:with-param></xsl:call-template>
    												<div style="margin: 0 0 0 4px">
    													<xsl:for-each select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/wnio:RodzajWniosku/wnio:DataDokumentu">	
    														<xsl:value-of select="substring(meta:Czas, 9, 2)"/>-<xsl:value-of select="substring(meta:Czas, 6, 2)"/>-<xsl:value-of select="substring(meta:Czas, 1, 4)"/>
    													</xsl:for-each>	
    												</div>							
    											</td>
    										</tr>								
    									<xsl:for-each select="wnio:OswiadczeniaOsob/wnio:Osoba[1]">									
    										<tr>
    											<td class="gridValue" style="width:50%;text-align:left">
    												<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="76"/>. Imię</xsl:with-param></xsl:call-template>
    												<div style="margin: 0 0 0 4px"><xsl:value-of select="oso:Imie"/></div>							
    											</td>
    											<td class="gridValue" style="width:50%;text-align:left">
    												<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="77"/>. Nazwisko</xsl:with-param></xsl:call-template>
    												<div style="margin: 0 0 0 4px"><xsl:value-of select="oso:Nazwisko"/></div>
    											</td>												
    	
    										</tr>
    										<tr>
    											<td class="gridValue" style="width:50%;text-align:left">
    												<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="78"/>. Nr telefonu kontaktowego</xsl:with-param></xsl:call-template>
    												<div style="margin: 0 0 0 4px"><xsl:value-of select="adr:Telefon"/></div>
    											</td>												
    																							
    											<td class="gridValue" style="width:50%;text-align:left">
    												<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="79"/>. Podpis podatnika / osoby reprezentującej podatnika</xsl:with-param></xsl:call-template>
    												
    											</td>										
    									
    										</tr>										
    									</xsl:for-each>	
    									<xsl:for-each select="wnio:OswiadczeniaOsob/wnio:Osoba[2]">									
    										<tr>
    											<td class="gridValue" style="width:50%;text-align:left">
    												<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="80"/>. Imię</xsl:with-param></xsl:call-template>
    												<div style="margin: 0 0 0 4px"><xsl:value-of select="oso:Imie"/></div>							
    											</td>
    											<td class="gridValue" style="width:50%;text-align:left">
    												<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="81"/>. Nazwisko</xsl:with-param></xsl:call-template>
    												<div style="margin: 0 0 0 4px"><xsl:value-of select="oso:Nazwisko"/></div>
    											</td>												
    	
    										</tr>
    										<tr>
    											<td class="gridValue" style="width:50%;text-align:left">
    												<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="82"/>. Nr telefonu kontaktowego</xsl:with-param></xsl:call-template>
    												<div style="margin: 0 0 0 4px"><xsl:value-of select="adr:Telefon"/></div>
    											</td>												
    																							
    											<td class="gridValue" style="width:50%;text-align:left">
    												<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="83"/>. Podpis małżonka / osoby reprezentującej małżonka</xsl:with-param></xsl:call-template>
    												
    											</td>										
    									
    										</tr>										
    									</xsl:for-each>	
    								</table>							
    							</td>
    							<td width="5"/>
    							</tr>
    						</table>
    					<br/>			
    				</div>																
    			
    				<div id="mainBlock">
    					<div class="mainBlockHeader">H. ADNOTACJE ORGANU PODATKOWEGO</div>
    					<table cellpadding="0" cellspacing="0" width="100%">
    						<tr>
    							<td width="30"/>
    							<td>
    								<table cellspacing="0" cellpadding="0" width="100%" style="border-collapse: collapse">
    										<tr>
    											<td height="300" style="border: solid 1px black" colspan="2">
    												<xsl:call-template name="BlockLabel"><xsl:with-param name="text">84. Uwagi organu podatkowego</xsl:with-param></xsl:call-template>
    											</td>
    										</tr>
    										<tr>
    											<td style="border: solid 1px black; height:30px">
    												<xsl:call-template name="BlockLabel"><xsl:with-param name="text">85. Data (dzień - miesiąc - rok)</xsl:with-param></xsl:call-template>
    											</td>
    											<td style="border: solid 1px black">
    												<xsl:call-template name="BlockLabel"><xsl:with-param name="text">86. Podpis przyjmującego formularz</xsl:with-param></xsl:call-template>
    											</td>
    											
    										</tr>
    										
    								</table>							
    							</td>
    							<td width="5"/>
    							</tr>
    						</table>		
    						<br/>			
    				</div>			
    				
    			
    				
    				<br/>	
    				<b>
    					<xsl:choose>
    						<xsl:when test="wnio:OswiadczeniaOsob/@ZgodaNaKorespElek='true'">
    						Wyrażam zgodę na wymianę korespondencji drogą elektroniczną
    						</xsl:when>
    						<xsl:when test="wnio:OswiadczeniaOsob/@ZgodaNaKorespElek='false'">
    						Nie wyrażam zgody na wymianę korespondencji drogą elektroniczną
    						</xsl:when>
    					</xsl:choose>
    				</b>
    
    				</xsl:for-each>				
    				
    								<br/>					<br/>	
    					<xsl:if test="count(wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/str:Zalaczniki/str:Zalacznik) &gt; 0">
    						<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/><br/><br/><br/>
    			<center><b> ***) Pouczenie</b></center><br/>
    			
    			*Zgodnie z art. 63 § 1 ustawy z dnia 29 sierpnia 1997 r. – Ordynacja podatkowa (tekst jednolity: Dz.U. z 2005 r. Nr 8, poz. 60 ze zm.), podstawy opodatkowania, kwoty
    podatków, odsetki za zwłokę, opłaty prolongacyjne, oprocentowanie nadpłat oraz wynagrodzenia przysługujące płatnikom i inkasentom zaokrągla się do pełnych złotych,
    w ten sposób, że końcówki kwot wynoszące mniej niż 50 groszy pomija się, a końcówki kwot wynoszące 50 i więcej groszy podwyższa się do pełnych złotych.<br/><br/>
    1) Należy podać z dokładnością do czterech miejsc po przecinku.<br/>
    2) Niepotrzebne skreślić.			
    			
    
    
    
    
    		<xsl:for-each select="wnio:Dokument/wnio:TrescDokumentu/wnio:Deklaracja[count(wnio:Zalaczniki/wnio:ZalacznikAd/wnio:Dzialka) &gt; 0]">		
    
    			<br/><br/><br/><br/><br/><br/><br/><hr/><br/><br/>
    		
    			<div style="border: solid 1px; width:250px;float:left; min-height:30px">
    				<xsl:call-template name="BlockLabel"><xsl:with-param name="text">1. Numer Identyfikacji Podatkowej podatnika</xsl:with-param></xsl:call-template>
    				<center>
    					<xsl:value-of select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Deklaracja/wnio:Podatnik/wnio:Osoba/oso:IdOsoby/oso:NIP"/>
    					<xsl:value-of select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Deklaracja/wnio:Podatnik/wnio:Instytucja/inst:IdInstytucji/inst:NIP"/>
    				</center>				
    			</div>
    			<div style="border: solid 1px; width:100px;float:left; min-height:30px; 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"/>
    			<br/>
    			<br/>
    			
    			<div class="docHeader" style="position:relative">
    				<div>ZN-1/Ad</div>
    				<div style="position:absolute; top:0px; left: 0px; width:100%"><center>INFORMACJA O DZIAŁKACH</center></div>
    			</div>	
    			<br/>
    			<br/>			
    			Formularz może być składany tylko jako załącznik do formularza IN-1, DN-1
    			
    					<xsl:for-each select="wnio:Podatnik">		
    			
    					<table width="100%" style="background:#eeeeee; border: solid 1px black; border-bottom: 0px">
    						<tr>
    							<td><div class="mainBlockHeader">A. DANE PODATNIKA</div>
    <div style="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-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. 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">4. Nazwa pełna * / Nazwisko, pierwsze imię **</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"/><xsl:text> </xsl:text>
    									<xsl:value-of select="wnio:Osoba/oso:Imie"/>
    								</div>  						
    							</td>
    						</tr>
    	
    						<tr>
    							<td style="width:30px;"/>			
    							<td style="border:solid 1px black; border-right:0px; background: white">		
    							<table width="90%" cellspacing="0">
    									<tr>
    										<td width="50%" style="vertical-align:top;">
    															<xsl:call-template name="BlockLabel"><xsl:with-param name="text">5. Identyfikator REGON</xsl:with-param></xsl:call-template>
    															<div class="blockContent">
    																<xsl:value-of select="wnio:Instytucja/inst:IdInstytucji/inst:REGON"/>
    																<xsl:value-of select="wnio:Osoba/oso:IdOsoby/oso:InnyIdentyfikator[oso:TypIdentyfikatora='REGON']/oso:WartoscIdentyfikatora"/>
    															</div>			
    										</td>
    										<td width="50%" style="vertical-align:top; border-left: solid 1px #000000">
    															<xsl:call-template name="BlockLabel"><xsl:with-param name="text">6. Numer PESEL **</xsl:with-param></xsl:call-template>
    															<div class="blockContent">
    																<xsl:value-of select="wnio:Osoba/oso:IdOsoby/oso:PESEL"/>
    															</div>			
    										</td>
    									</tr>
    							</table>																													
    							</td>
    						</tr>
    						<tr>
    							<td height="5"/>
    						</tr>								
    					</table>																					
    
    					</xsl:for-each>
    					
    						
    					<table width="100%" style="background:#eeeeee; border: solid 1px black; border-bottom: 0px">
    						<tr>
    							<td><div class="mainBlockHeader">B. INFORMACJE DOTYCZĄCE 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:1px; border-right:0px; background: white">
    								<xsl:for-each select="wnio:Zalaczniki/wnio:ZalacznikAd/wnio:Dzialka">		
    							
    									<table width="100%" cellspacing="0" cellpadding="0" border="0">
    											<tr>
    												<td width="35" style="height:30px;vertical-align:middle;text-align:center;font-weight:bold;font-size:12pt;background:#eeeeee">
    													<xsl:value-of select="position()"/>
    												</td>
    												<td style="width:150px;vertical-align:top; border-left: solid 1px #000000">
    													<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="position()*7"/>. Nr geodezyjny działki</xsl:with-param></xsl:call-template>
    													<div class="blockContent">
    														<xsl:value-of select="wnio:Nr"/>
    													</div>			
    												</td>
    												<td style="width:60px;vertical-align:top; border-left: solid 1px #000000">
    													<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="position()*7+1"/>. Klasa</xsl:with-param></xsl:call-template>
    													<div class="blockContent">
    														<xsl:value-of select="wnio:Klasa"/>
    													</div>			
    												</td>				
    												<td style="width:130px;vertical-align:top; border-left: solid 1px #000000; text-align:right">
    													<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="position()*7+2"/>. Powierzchnia działki</xsl:with-param></xsl:call-template>
    													<div class="blockContent">
    														<xsl:if test="wnio:Powierzchnia!=''">
    															<xsl:value-of select="format-number(wnio:Powierzchnia, '###.##0,00', 'Polish')"/>
    														</xsl:if>
    													</div>			
    												</td>		
    												<td style="vertical-align:top; border-left: solid 1px #000000; border-right: solid 0px">
    													<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="position()*7+3"/>. Nr księgi wieczystej/ Nazwa sądu</xsl:with-param></xsl:call-template>
    													<div class="blockContent" style="height:auto">
    														<xsl:value-of select="wnio:NrKsiegiWieczystej"/> / <xsl:value-of select="wnio:NazwaSadu"/>
    													</div>
    												</td>																											
    											</tr>
    									</table>										
    									<table width="100%" cellspacing="0" cellpadding="0" border="0" style="border-collapse: collapse;">
    											<tr>
    												<td style="width:50%;vertical-align:top; border: solid 1px black; border-left: 0px; border-bottom: solid 1px black" rowspan="2">
    													<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="position()*7+4"/>. Przyczyny złożenia załącznika</xsl:with-param></xsl:call-template>
    														<xsl:call-template name="PrzyczynaZalacznika">
    															<xsl:with-param name="przyczyna" select="wnio:PrzyczynaZlozenia"/>
    														</xsl:call-template>															
    												</td>
    												<td style=";vertical-align:top; border: solid 1px black; border-left: solid 0px; border-right:0px">
    													<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="position()*7+5"/>. Opis: (charakterystyka, przeznaczenie nieruchomości)</xsl:with-param></xsl:call-template>
    													<div class="blockContent">
    														<xsl:value-of select="wnio:Opis"/>
    													</div>			
    												</td>																											
    											</tr>
    											<tr>
    												<td style="width:55%;vertical-align:top; border-bottom: solid 1px black">
    													<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="position()*7+6"/>. Położenie nieruchomości (adres)</xsl:with-param></xsl:call-template>
    													<div class="blockContent"><xsl:value-of select="wnio:Polozenie"/></div>
    												</td>
    											</tr>
    									</table>						
    								</xsl:for-each>
    							
    							</td>
    						</tr>
    						<tr>
    							<td height="5"/>
    						</tr>
    					</table>					
    			
    					
    		
    
    			
    							</xsl:for-each>	
    
    		<xsl:for-each select="wnio:Dokument/wnio:TrescDokumentu/wnio:Deklaracja[count(wnio:Zalaczniki/wnio:ZalacznikAb/wnio:Budynek) &gt; 0]">		
    			<br/><br/><br/><br/><br/><br/><br/><hr/><br/><br/>
    			<div style="border: solid 1px; width:250px;float:left; min-height:30px">
    				<xsl:call-template name="BlockLabel"><xsl:with-param name="text">1. Numer Identyfikacji Podatkowej podatnika</xsl:with-param></xsl:call-template>
    				<center>
    					<xsl:value-of select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Deklaracja/wnio:Podatnik/wnio:Osoba/oso:IdOsoby/oso:NIP"/>
    					<xsl:value-of select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Deklaracja/wnio:Podatnik/wnio:Instytucja/inst:IdInstytucji/inst:NIP"/>
    				</center>				
    			</div>
    			<div style="border: solid 1px; width:100px;float:left; min-height:30px; 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"/>
    			<br/>
    			<br/>
    			
    			<div class="docHeader" style="position:relative">
    				<div>ZN-1/Ab</div>
    				<div style="position:absolute; top:0px; left: 0px; width:100%"><center>INFORMACJA O BUDYNKACH</center></div>
    			</div>	
    			<br/>
    			<br/>			
    			Formularz może być składany tylko jako załącznik do formularza IN-1, DN-1
    			
    					<xsl:for-each select="wnio:Podatnik">		
    			
    					<table width="100%" style="background:#eeeeee; border: solid 1px black; border-bottom: 0px">
    						<tr>
    							<td><div class="mainBlockHeader">A. DANE PODATNIKA</div>
    <div style="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-top: 0px" cellspacing="0">
    						<tr>
    							<td style="width:30px;"/>			
    							<td style="border:solid 1px black; border-bottom:1px; border-right:0px; background: white">
    								<xsl:call-template name="BlockLabel"><xsl:with-param name="text">3. 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:1px; border-right:0px; background: white">	
    								<xsl:call-template name="BlockLabel"><xsl:with-param name="text">4. Nazwa pełna * / Nazwisko, pierwsze imię **</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"/><xsl:text> </xsl:text>
    									<xsl:value-of select="wnio:Osoba/oso:Imie"/>
    								</div>  						
    							</td>
    						</tr>
    	
    						<tr>
    							<td style="width:30px;"/>			
    							<td style="border:solid 1px black; border-right:0px; background: white">		
    							<table width="90%" cellspacing="0">
    									<tr>
    										<td width="50%" style="vertical-align:top;">
    															<xsl:call-template name="BlockLabel"><xsl:with-param name="text">5. Identyfikator REGON</xsl:with-param></xsl:call-template>
    															<div class="blockContent">
    																<xsl:value-of select="wnio:Instytucja/inst:IdInstytucji/inst:REGON"/>
    																<xsl:value-of select="wnio:Osoba/oso:IdOsoby/oso:InnyIdentyfikator[oso:TypIdentyfikatora='REGON']/oso:WartoscIdentyfikatora"/>
    															</div>			
    										</td>
    										<td width="50%" style="vertical-align:top; border-left: solid 1px #000000">
    															<xsl:call-template name="BlockLabel"><xsl:with-param name="text">6. Numer PESEL **</xsl:with-param></xsl:call-template>
    															<div class="blockContent">
    																<xsl:value-of select="wnio:Osoba/oso:IdOsoby/oso:PESEL"/>
    															</div>			
    										</td>
    									</tr>
    							</table>																													
    							</td>
    						</tr>
    						<tr>
    							<td height="5"/>
    						</tr>								
    					</table>																					
    
    					</xsl:for-each>
    					
    					
    					<table width="100%" style="background:#eeeeee; border: solid 1px black; border-bottom: 0px">
    						<tr>
    							<td><div class="mainBlockHeader">B. INFORMACJE DOTYCZĄCE BUDYNKÓW</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:1px; border-right:0px; background: white">
    								<xsl:for-each select="wnio:Zalaczniki/wnio:ZalacznikAb/wnio:Budynek">		
    							
    									<table width="100%" cellspacing="0" cellpadding="0" border="0">
    											<tr>
    												<td width="35" style="height:30px;vertical-align:middle;text-align:center;font-weight:bold;font-size:12pt;background:#eeeeee">
    													<xsl:value-of select="position()"/>
    												</td>
    												<td style="width:80px;vertical-align:top; border-left: solid 1px #000000">
    													<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="position()*7"/>. Nr budynku</xsl:with-param></xsl:call-template>
    													<div class="blockContent">
    														<xsl:value-of select="wnio:Nr"/>
    													</div>			
    												</td>
    												<td style="width:110px;vertical-align:top; border-left: solid 1px #000000">
    													<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="position()*7+1"/>. Nr inwent. budynku</xsl:with-param></xsl:call-template>
    													<div class="blockContent">
    														<xsl:value-of select="wnio:NrInwentarzowy"/>
    													</div>			
    												</td>				
    												<td style="width:130px;vertical-align:top; border-left: solid 1px #000000;text-align:right">
    													<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="position()*7+2"/>. Powierzchnia użytkowa budynku</xsl:with-param></xsl:call-template>
    													<div class="blockContent">
    														<xsl:if test="wnio:Powierzchnia!=''">
    															<xsl:value-of select="format-number(wnio:Powierzchnia, '###.##0,00', 'Polish')"/>
    														</xsl:if>
    													</div>			
    												</td>		
    												<td style="vertical-align:top; border-left: solid 1px #000000; border-right: solid 0px">
    													<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="position()*7+3"/>. Nr księgi wieczystej/ Nazwa sądu</xsl:with-param></xsl:call-template>
    													<div class="blockContent">
    														<xsl:value-of select="wnio:NrKsiegiWieczystej"/> / <xsl:value-of select="wnio:NazwaSadu"/>
    													</div>
    												</td>																											
    											</tr>
    									</table>										
    									<table width="100%" cellspacing="0" cellpadding="0" border="0" style="border-collapse: collapse;">
    											<tr>
    												<td style="width:50%;vertical-align:top; border: solid 1px black; border-left: 0px; border-bottom: solid 1px black" rowspan="2">
    													<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="position()*7+4"/>. Przyczyny złożenia załącznika</xsl:with-param></xsl:call-template>
    														<xsl:call-template name="PrzyczynaZalacznika">
    															<xsl:with-param name="przyczyna" select="wnio:PrzyczynaZlozenia"/>
    														</xsl:call-template>									
    												</td>
    												<td style=";vertical-align:top; border: solid 1px black; border-left: solid 0px; border-right:0px">
    													<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="position()*7+5"/>. Opis: (charakterystyka, przeznaczenie nieruchomości)</xsl:with-param></xsl:call-template>
    													<div class="blockContent">
    														<xsl:value-of select="wnio:Opis"/>
    													</div>			
    												</td>																											
    											</tr>
    											<tr>
    												<td style="width:55%;vertical-align:top; border-bottom: solid 1px black">
    													<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="position()*7+6"/>. Położenie nieruchomości (adres)</xsl:with-param></xsl:call-template>
    													<div class="blockContent"><xsl:value-of select="wnio:Polozenie"/></div>
    												</td>
    											</tr>
    									</table>						
    								</xsl:for-each>
    							
    							</td>
    						</tr>
    						<tr>
    							<td height="5"/>
    						</tr>
    					</table>					
    			
    					
    						
    
    			
    							</xsl:for-each>							
    						
    		<xsl:for-each select="wnio:Dokument/wnio:TrescDokumentu/wnio:Deklaracja[count(wnio:Zalaczniki/wnio:ZalacznikAl/wnio:Lokal) &gt; 0]">		
    			<br/><br/><br/><br/><br/><br/><br/><hr/><br/><br/>
    			<div style="border: solid 1px; width:250px;float:left; min-height:30px">
    				<xsl:call-template name="BlockLabel"><xsl:with-param name="text">1. Numer Identyfikacji Podatkowej podatnika</xsl:with-param></xsl:call-template>
    				<center>
    					<xsl:value-of select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Deklaracja/wnio:Podatnik/wnio:Osoba/oso:IdOsoby/oso:NIP"/>
    					<xsl:value-of select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Deklaracja/wnio:Podatnik/wnio:Instytucja/inst:IdInstytucji/inst:NIP"/>
    				</center>				
    			</div>
    			<div style="border: solid 1px; width:100px;float:left; min-height:30px; 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"/>
    			<br/>
    			<br/>
    			
    			<div class="docHeader" style="position:relative">
    				<div>ZN-1/Al</div>
    				<div style="position:absolute; top:0px; left: 0px; width:100%"><center>INFORMACJA O LOKALACH</center></div>
    			</div>	
    			<br/>
    			<br/>			
    			Formularz może być składany tylko jako załącznik do formularza IN-1, DN-1
    			
    					<xsl:for-each select="wnio:Podatnik">		
    					<table width="100%" style="background:#eeeeee; border: solid 1px black; border-bottom: 0px">
    						<tr>
    							<td><div class="mainBlockHeader">A. DANE PODATNIKA</div>
    <div style="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-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. 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">4. Nazwa pełna * / Nazwisko, pierwsze imię **</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"/><xsl:text> </xsl:text>
    									<xsl:value-of select="wnio:Osoba/oso:Imie"/>
    								</div>  						
    							</td>
    						</tr>
    	
    						<tr>
    							<td style="width:30px;"/>			
    							<td style="border:solid 1px black; border-right:0px; background: white">		
    							<table width="90%" cellspacing="0">
    									<tr>
    										<td width="50%" style="vertical-align:top;">
    															<xsl:call-template name="BlockLabel"><xsl:with-param name="text">5. Identyfikator REGON</xsl:with-param></xsl:call-template>
    															<div class="blockContent">
    																<xsl:value-of select="wnio:Instytucja/inst:IdInstytucji/inst:REGON"/>
    																<xsl:value-of select="wnio:Osoba/oso:IdOsoby/oso:InnyIdentyfikator[oso:TypIdentyfikatora='REGON']/oso:WartoscIdentyfikatora"/>
    															</div>			
    										</td>
    										<td width="50%" style="vertical-align:top; border-left: solid 1px #000000">
    															<xsl:call-template name="BlockLabel"><xsl:with-param name="text">6. Numer PESEL **</xsl:with-param></xsl:call-template>
    															<div class="blockContent">
    																<xsl:value-of select="wnio:Osoba/oso:IdOsoby/oso:PESEL"/>
    															</div>			
    										</td>
    									</tr>
    							</table>																													
    							</td>
    						</tr>
    						<tr>
    							<td height="5"/>
    						</tr>								
    					</table>																					
    					</xsl:for-each>
    					
    						
    					<table width="100%" style="background:#eeeeee; border: solid 1px black; border-bottom: 0px">
    						<tr>
    							<td><div class="mainBlockHeader">B. INFORMACJE DOTYCZĄCE LOKALI</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:for-each select="wnio:Zalaczniki/wnio:ZalacznikAl/wnio:Lokal">		
    							
    									<table width="100%" cellspacing="0" cellpadding="0" border="0">
    											<tr>
    												<td width="35" style="height:30px;vertical-align:middle;text-align:center;font-weight:bold;font-size:12pt;background:#eeeeee">
    													<xsl:value-of select="position()"/>
    												</td>
    												<td style="width:100px;vertical-align:top; border-left: solid 1px #000000">
    													<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="position()*7"/>. Nr lokalu</xsl:with-param></xsl:call-template>
    													<div class="blockContent">
    														<xsl:value-of select="wnio:Nr"/>
    													</div>			
    												</td>
    												<td style="width:130px;vertical-align:top; border-left: solid 1px #000000">
    													<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="position()*7+1"/>. Nr inwent. lokalu</xsl:with-param></xsl:call-template>
    													<div class="blockContent">
    														<xsl:value-of select="wnio:NrInwentarzowy"/>
    													</div>			
    												</td>				
    												<td style="width:120px;vertical-align:top; border-left: solid 1px #000000;text-align:right">
    													<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="position()*7+2"/>. Powierzchnia użytkowa lokalu</xsl:with-param></xsl:call-template>
    													<div class="blockContent">
    														<xsl:if test="wnio:Powierzchnia!=''">
    															<xsl:value-of select="format-number(wnio:Powierzchnia, '###.##0,00', 'Polish')"/>
    														</xsl:if>
    													</div>			
    												</td>		
    												<td style="vertical-align:top; border-left: solid 1px #000000; border-right: solid 0px">
    													<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="position()*7+3"/>. Nr księgi wieczystej / Nazwa sądu</xsl:with-param></xsl:call-template>
    													<div class="blockContent">
    														<xsl:value-of select="wnio:NrKsiegiWieczystej"/> / <xsl:value-of select="wnio:NazwaSadu"/>
    													</div>
    												</td>																											
    											</tr>
    									</table>										
    									<table width="100%" cellspacing="0" cellpadding="0" border="0" style="border-collapse: collapse;">
    											<tr>
    												<td style="width:50%;vertical-align:top; border: solid 1px black; border-left: 0px; border-bottom: solid 1px black" rowspan="2">
    													<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="position()*7+4"/>. Przyczyny złożenia załącznika</xsl:with-param></xsl:call-template>
    														<xsl:call-template name="PrzyczynaZalacznika">
    															<xsl:with-param name="przyczyna" select="wnio:PrzyczynaZlozenia"/>
    														</xsl:call-template>										
    												</td>
    												<td style=";vertical-align:top; border: solid 1px black; border-left: solid 0px; border-right:0px">
    													<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="position()*7+5"/>. Opis: (charakterystyka, przeznaczenie nieruchomości)</xsl:with-param></xsl:call-template>
    													<div class="blockContent">
    														<xsl:value-of select="wnio:Opis"/>
    													</div>			
    												</td>																											
    											</tr>
    											<tr>
    												<td style="width:55%;vertical-align:top; border-bottom: solid 1px black">
    													<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="position()*7+6"/>. Położenie nieruchomości (adres)</xsl:with-param></xsl:call-template>
    													<div class="blockContent"><xsl:value-of select="wnio:Polozenie"/></div>
    												</td>
    											</tr>
    									</table>						
    								</xsl:for-each>
    							
    							</td>
    						</tr>
    						<tr>
    							<td height="5"/>
    						</tr>
    					</table>					
    			
    					
    						
    
    			
    							</xsl:for-each>							
    						
    		<xsl:for-each select="wnio:Dokument/wnio:TrescDokumentu/wnio:Deklaracja[count(wnio:Zalaczniki/wnio:ZalacznikAbl/wnio:Budowla) &gt; 0]">		
    			<br/><br/><br/><br/><br/><br/><br/><hr/><br/><br/>
    			<div style="border: solid 1px; width:250px;float:left; min-height:30px">
    				<xsl:call-template name="BlockLabel"><xsl:with-param name="text">1. Numer Identyfikacji Podatkowej podatnika</xsl:with-param></xsl:call-template>
    				<center>
    					<xsl:value-of select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Deklaracja/wnio:Podatnik/wnio:Osoba/oso:IdOsoby/oso:NIP"/>
    					<xsl:value-of select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Deklaracja/wnio:Podatnik/wnio:Instytucja/inst:IdInstytucji/inst:NIP"/>
    				</center>				
    			</div>
    			<div style="border: solid 1px; width:100px;float:left; min-height:30px; 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"/>
    			<br/>
    			<br/>
    			
    			<div class="docHeader" style="position:relative">
    				<div>ZN-1/Abl</div>
    				<div style="position:absolute; top:0px; left: 0px; width:100%"><center>INFORMACJA O BUDOWLACH</center></div>
    			</div>	
    			<br/>
    			<br/>			
    			Formularz może być składany tylko jako załącznik do formularza IN-1, DN-1
    			
    					<xsl:for-each select="wnio:Podatnik">		
    					<table width="100%" style="background:#eeeeee; border: solid 1px black; border-bottom: 0px">
    						<tr>
    							<td><div class="mainBlockHeader">A. DANE PODATNIKA</div>
    <div style="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-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. 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">4. Nazwa pełna * / Nazwisko, pierwsze imię **</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"/><xsl:text> </xsl:text>
    									<xsl:value-of select="wnio:Osoba/oso:Imie"/>
    								</div>  						
    							</td>
    						</tr>
    	
    						<tr>
    							<td style="width:30px;"/>			
    							<td style="border:solid 1px black; border-right:0px; background: white">		
    							<table width="90%" cellspacing="0">
    									<tr>
    										<td width="50%" style="vertical-align:top;">
    															<xsl:call-template name="BlockLabel"><xsl:with-param name="text">5. Identyfikator REGON</xsl:with-param></xsl:call-template>
    															<div class="blockContent">
    																<xsl:value-of select="wnio:Instytucja/inst:IdInstytucji/inst:REGON"/>
    																<xsl:value-of select="wnio:Osoba/oso:IdOsoby/oso:InnyIdentyfikator[oso:TypIdentyfikatora='REGON']/oso:WartoscIdentyfikatora"/>
    															</div>			
    										</td>
    										<td width="50%" style="vertical-align:top; border-left: solid 1px #000000">
    															<xsl:call-template name="BlockLabel"><xsl:with-param name="text">6. Numer PESEL **</xsl:with-param></xsl:call-template>
    															<div class="blockContent">
    																<xsl:value-of select="wnio:Osoba/oso:IdOsoby/oso:PESEL"/>
    															</div>			
    										</td>
    									</tr>
    							</table>																													
    							</td>
    						</tr>
    						<tr>
    							<td height="5"/>
    						</tr>								
    					</table>																					
    
    					</xsl:for-each>
    					
    						
    					<table width="100%" style="background:#eeeeee; border: solid 1px black; border-bottom: 0px">
    						<tr>
    							<td><div class="mainBlockHeader">B. INFORMACJE DOTYCZĄCE BUDOWLI</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:for-each select="wnio:Zalaczniki/wnio:ZalacznikAbl/wnio:Budowla">		
    							
    									<table width="100%" cellspacing="0" cellpadding="0" border="0">
    											<tr>
    												<td width="35" style="height:30px;vertical-align:middle;text-align:center;font-weight:bold;font-size:12pt;background:#eeeeee">
    													<xsl:value-of select="position()"/>
    												</td>
    												<td style="width:230px;vertical-align:top; border-left: solid 1px #000000">
    													<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="position()*5+2"/>. Nr inwent. budowli</xsl:with-param></xsl:call-template>
    													<div class="blockContent">
    														<xsl:value-of select="wnio:NrInwentarzowy"/>
    													</div>			
    												</td>				
    												<td style="vertical-align:top; border-left: solid 1px #000000;text-align:right">
    													<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="position()*5+3"/>. Wartość budowli</xsl:with-param></xsl:call-template>
    													<div class="blockContent">
    														<xsl:if test="wnio:Wartosc!=''">
    															<xsl:value-of select="format-number(wnio:Wartosc, '###.##0,00', 'Polish')"/>
    														</xsl:if>
    													</div>			
    												</td>		
    																									
    											</tr>
    									</table>										
    									<table width="100%" cellspacing="0" cellpadding="0" border="0" style="border-collapse: collapse;">
    											<tr>
    												<td style="width:50%;vertical-align:top; border: solid 1px black; border-left: 0px; border-bottom: solid 1px black" rowspan="2">
    													<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="position()*5+4"/>. Przyczyny złożenia załącznika</xsl:with-param></xsl:call-template>
    													<xsl:call-template name="PrzyczynaZalacznika">
    														<xsl:with-param name="przyczyna" select="wnio:PrzyczynaZlozenia"/>
    													</xsl:call-template>									
    												</td>
    												<td style=";vertical-align:top; border: solid 1px black; border-left: solid 0px; border-right:0px">
    													<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="position()*5+5"/>. Opis: (charakterystyka, przeznaczenie budowli)</xsl:with-param></xsl:call-template>
    													<div class="blockContent">
    														<xsl:value-of select="wnio:Opis"/>
    													</div>			
    												</td>																											
    											</tr>
    											<tr>
    												<td style="width:55%;vertical-align:top; border-bottom: solid 1px black">
    													<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="position()*5+6"/>. Położenie budowli (adres)</xsl:with-param></xsl:call-template>
    													<div class="blockContent"><xsl:value-of select="wnio:Polozenie"/></div>
    												</td>
    											</tr>
    									</table>						
    								</xsl:for-each>
    							
    							</td>
    						</tr>
    						<tr>
    							<td height="5"/>
    						</tr>
    					</table>					
    			
    					
    						
    
    			
    							</xsl:for-each>							
    							
    		<xsl:for-each select="wnio:Dokument/wnio:TrescDokumentu/wnio:Deklaracja[wnio:Zalaczniki/wnio:ZalacznikB/@saZwolnienia='true']">		
    			<br/><br/><br/><br/><br/><br/><br/><hr/><br/><br/>
    			<div style="border: solid 1px; width:250px;float:left; min-height:30px">
    				<xsl:call-template name="BlockLabel"><xsl:with-param name="text">1. Numer Identyfikacji Podatkowej podatnika</xsl:with-param></xsl:call-template>
    				<center>
    					<xsl:value-of select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Deklaracja/wnio:Podatnik/wnio:Osoba/oso:IdOsoby/oso:NIP"/>
    					<xsl:value-of select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Deklaracja/wnio:Podatnik/wnio:Instytucja/inst:IdInstytucji/inst:NIP"/>
    				</center>				
    			</div>
    			<div style="border: solid 1px; width:100px;float:left; min-height:30px; 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"/>
    			<br/>
    			<br/>
    			
    			<div class="docHeader" style="position:relative">
    				<div>ZN-1/B</div>
    				<div style="position:absolute; top:0px; left: 0px; width:100%"><center>DANE O ZWOLNIENIACH PODATKOWYCH <br/>W PODATKU OD NIERUCHOMOŚCI</center></div>
    			</div>	
    			<br/>
    			<br/>			
    			<xsl:for-each select="wnio:Podatnik">		
    			
    
    				<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%">
    								<tr>
    									<td/>
    									<td width="20"><div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    										<xsl:if test="@rodzaj">
    											<b><center>X</center></b>
    										</xsl:if>
    									</div></td>
    									<td>1. deklaracji DN-1</td>
    									<td/>
    									<td width="20">
    										<div style="foat:left; border: solid 1px black; width:13px;height: 12px">
    											<xsl:if test="not(@rodzaj)">
    												<b><center>X</center></b>
    											</xsl:if>											
    										</div>
    									</td>
    									<td>
    										2. informacji IN-1
    									</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">B. DANE PODATNIKA</div>
    								<div style="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-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 * / Pierwsze imię, drugie imię **</xsl:with-param></xsl:call-template>
    								<div class="blockContent">
    									<xsl:value-of select="wnio:Instytucja/inst: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="90%" cellspacing="0">
    										<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:Instytucja/inst:IdInstytucji/inst:REGON"/>
    																	<xsl:value-of select="wnio:Osoba/oso:IdOsoby/oso:InnyIdentyfikator[oso:TypIdentyfikatora='REGON']/oso:WartoscIdentyfikatora"/>
    																</div>			
    											</td>
    											<td width="50%" 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:Osoba/oso:IdOsoby/oso:PESEL"/>
    																</div>			
    											</td>
    										</tr>
    								</table>  											
    							</td>
    						</tr>											
    					</table>
    
    			</xsl:for-each>
    			
    <div id="mainBlock" style="margin: -1px 0 0 0; font-size:8pt">
    					<div class="mainBlockHeader">C. DANE DOTYCZĄCE ZWOLNIEŃ PODATKOWYCH WYNIKAJĄCYCH Z USTAWY LUB UCHWAŁY RADY GMINY</div>
    					<table cellpadding="0" cellspacing="0" width="100%">
    						<tr>
    							<td width="30"/>
    							<td>
    							
    								<table cellspacing="0" cellpadding="1" width="100%" style="border-collapse: collapse">
    									<tr>
    										<td class="gridCell" style="solid 1px black; text-align:center;">Tytuł prawny zwolnienia</td>
    										<td class="gridCell" style="width:120px; border: solid 1px black; text-align:center;">Grunty<br/>powierzchnia w m<sup>2</sup></td>
    										<td class="gridCell" style="width:120px;border: solid 1px black; text-align:center;">Budynki lub ich części<br/>powierzchnia użytkowa<br/>w m<sup>2</sup></td>
    										<td class="gridCell" style="width:120px;border: solid 1px black; text-align:center;">Budowle<br/>wartość w zł</td>																								
    									</tr>
    									<tr>
    										<td class="gridCell" style="border: solid 1px black">
    											Art.7 ust.1 pkt 1 - budowle wchodzące w skład infrastruktury
    											kolejowej w rozumieniu przepisów o transporcie kolejowym
    											oraz zajęte pod nie grunty, jeżeli:<br/>
    											a) zarządca infrastruktury jest obowiązany do jej udostępniania
    											licencjonowanym przewoźnikom kolejowym lub<br/>
    											b) są przeznaczone wyłącznie do przewozu osób, wykonywanego
    											przez przewoźnika kolejowego, który równocześnie zarządza tą
    											infrastrukturą bez udostępniania jej innym przewoźnikom, lub
    											tworzą linie kolejowe o szerokości torów większej niż 1435mm
    										</td>									
    										<xsl:call-template name="Zwolnienie">
    											<xsl:with-param name="kod" select="'7.1.1'"/>
    											<xsl:with-param name="numer3" select="9"/>
    										</xsl:call-template>		
    									</tr>		
    									<tr>
    										<td class="gridCell" style="border: solid 1px black">									
    											Art.7 ust.1 pkt 1a) - grunty, budynki i budowle pozostałe po likwidacji
    											linii kolejowych lub ich odcinków - do czasu przeniesienia ich
    											własności lub prawa użytkowania wieczystego - nie dłużej jednak niż
    											przez 3 lata od pierwszego dnia miesiąca następującego po
    											miesiącu, w którym stała się ostateczna decyzja lub weszło w życie
    											rozporządzenie, wyrażające zgodę na likwidację linii lub ich
    											odcinków, wydane w trybie przewidzianym w przepisach o
    											transporcie kolejowym - z wyjątkiem zajętych na działalność inną niż
    											działalność, o której mowa w przepisach o transporcie kolejowym;			
    										</td>									
    										<xsl:call-template name="Zwolnienie">
    											<xsl:with-param name="kod" select="'7.1.1a'"/>
    											<xsl:with-param name="numer1" select="10"/>
    											<xsl:with-param name="numer2" select="11"/>
    											<xsl:with-param name="numer3" select="12"/>
    										</xsl:call-template>	
    									</tr>																			
    									<tr>
    										<td class="gridCell" style="border: solid 1px black">		
    											Art.7 ust.1 pkt 2 - budowle infrastruktury portowej, budowle
    											infrastruktury zapewniającej dostęp do portów i przystani
    											morskich oraz zajęte pod nie grunty
    										</td>									
    										<xsl:call-template name="Zwolnienie">
    											<xsl:with-param name="kod" select="'7.1.2'"/>
    											<xsl:with-param name="numer1" select="13"/>
    											<xsl:with-param name="numer3" select="14"/>
    										</xsl:call-template>	
    									</tr>						
    									<tr>
    										<td class="gridCell" style="border: solid 1px black">											
    											Art.7 ust.1 pkt 2a - grunty, które znajdują się w posiadaniu
    											podmiotu zarządzającego portem lub przystanią morską,
    											pozyskane na potrzeby rozwoju portu lub przystani morskiej,
    											zajęte na działalność określoną w statucie tego podmiotu,
    											położone w granicach portów i przystani morskich - od
    											pierwszego dnia miesiąca następującego po miesiącu,
    											w którym podmiot ten wszedł w ich posiadanie - nie dłużej niż
    											przez okres 5 lat, z wyjątkiem gruntów zajętych przez podmiot
    											inny niż podmiot zarządzający portem lub przystanią morską		
    										</td>									
    										<xsl:call-template name="Zwolnienie">
    											<xsl:with-param name="kod" select="'7.1.2a'"/>
    											<xsl:with-param name="numer1" select="15"/>
    										</xsl:call-template>	
    									</tr>												
    									<tr>
    										<td class="gridCell" style="border: solid 1px black">		
    											Art.7 ust.1 pkt 3 - budynki, budowle i zajęte pod nie grunty na
    											obszarze części lotniczych lotnisk użytku publicznego
    										</td>									
    										<xsl:call-template name="Zwolnienie">
    											<xsl:with-param name="kod" select="'7.1.3'"/>
    											<xsl:with-param name="numer1" select="16"/>
    											<xsl:with-param name="numer2" select="17"/>
    											<xsl:with-param name="numer3" select="18"/>
    										</xsl:call-template>	
    									</tr>						
    									<tr>
    										<td class="gridCell" style="border: solid 1px black">		
    											Art.7 ust.1 pkt 4 - budynki gospodarcze lub ich części:<br/>
    											a) służące działalności leśnej lub rybackiej,<br/>
    											b) położone na gruntach gospodarstw rolnych, służące
    											wyłącznie działalności rolniczej,<br/>
    											c) zajęte na prowadzenie działów specjalnych produkcji rolnej
    										</td>									
    										<xsl:call-template name="Zwolnienie">
    											<xsl:with-param name="kod" select="'7.1.4'"/>
    											<xsl:with-param name="numer2" select="19"/>
    										</xsl:call-template>	
    									</tr>																						
    									<tr>
    										<td class="gridCell" style="border: solid 1px black">		
    											Art.7 ust.1 pkt 5 - nieruchomości lub ich części zajęte na
    											potrzeby prowadzenia przez stowarzyszenia statutowej
    											działalności wśród dzieci i młodzieży w zakresie oświaty,
    											wychowania, nauki i techniki, kultury fizycznej i sportu,
    											z wyjątkiem wykorzystywanych do prowadzenia działalności
    											gospodarczej, oraz grunty zajęte trwale na obozowiska i bazy
    											wypoczynkowe dzieci i młodzieży
    										</td>									
    										<xsl:call-template name="Zwolnienie">
    											<xsl:with-param name="kod" select="'7.1.5'"/>
    											<xsl:with-param name="numer1" select="20"/>
    											<xsl:with-param name="numer2" select="21"/>
    										</xsl:call-template>	
    									</tr>																								
    									<tr>
    										<td class="gridCell" style="border: solid 1px black">		
    											Art.7 ust.1 pkt 6 - grunty i budynki wpisane indywidualnie do
    											rejestru zabytków, pod warunkiem ich utrzymania i konserwacji,
    											zgodnie z przepisami o ochronie zabytków, z wyjątkiem części
    											zajętych na prowadzenie działalności gospodarczej
    										</td>									
    										<xsl:call-template name="Zwolnienie">
    											<xsl:with-param name="kod" select="'7.1.6'"/>
    											<xsl:with-param name="numer1" select="22"/>
    											<xsl:with-param name="numer2" select="23"/>
    										</xsl:call-template>	
    									</tr>																								
    									<tr>
    										<td class="gridCell" style="border: solid 1px black">		
    											Art.7 ust.1 pkt 7 - grunty i budynki we władaniu muzeów
    											rejestrowanych
    										</td>									
    										<xsl:call-template name="Zwolnienie">
    											<xsl:with-param name="kod" select="'7.1.7'"/>
    											<xsl:with-param name="numer1" select="24"/>
    											<xsl:with-param name="numer2" select="25"/>
    										</xsl:call-template>	
    									</tr>																							
    									<tr>
    										<td class="gridCell" style="border: solid 1px black">		
    											Art.7 ust.1 pkt 8 - grunty położone na obszarach objętych
    											ochroną ścisłą, czynną lub krajobrazową, a także budynki
    											i budowle trwale związane z gruntem, służące bezpośrednio
    											osiąganiu celów z zakresu ochrony przyrody - w parkach
    											narodowych oraz w rezerwatach przyrody					
    										</td>									
    										<xsl:call-template name="Zwolnienie">
    											<xsl:with-param name="kod" select="'7.1.8'"/>
    											<xsl:with-param name="numer1" select="26"/>
    											<xsl:with-param name="numer2" select="27"/>
    											<xsl:with-param name="numer3" select="28"/>
    										</xsl:call-template>	
    									</tr>																							
    									<tr>
    										<td class="gridCell" style="border: solid 1px black">		
    											Art.7 ust.1 pkt 8a - będące własnością Skarbu Państwa: grunty
    											pokryte wodami jezior o ciągłym dopływie lub odpływie wód
    											powierzchniowych oraz grunty zajęte pod sztuczne zbiorniki
    											wodne					
    										</td>									
    										<xsl:call-template name="Zwolnienie">
    											<xsl:with-param name="kod" select="'7.1.8a'"/>
    											<xsl:with-param name="numer1" select="29"/>
    										</xsl:call-template>	
    									</tr>																							
    									<tr>
    										<td class="gridCell" style="border: solid 1px black">		
    											Art.7 ust.1 pkt 9 - budowle wałów ochronnych, grunty pod wałami
    											ochronnymi i położone w międzywalach, z wyjątkiem zajętych na
    											prowadzenie działalności gospodarczej przez inne podmioty niż
    											spółki wodne, ich związki oraz związki wałowe					
    										</td>									
    										<xsl:call-template name="Zwolnienie">
    											<xsl:with-param name="kod" select="'7.1.9'"/>
    											<xsl:with-param name="numer1" select="30"/>
    											<xsl:with-param name="numer3" select="31"/>
    										</xsl:call-template>	
    									</tr>																							
    									<tr>
    										<td class="gridCell" style="border: solid 1px black">		
    											Art.7 ust.1 pkt 10 - grunty stanowiące nieużytki, użytki
    											ekologiczne, grunty zadrzewione i zakrzewione, z wyjątkiem
    											zajętych na prowadzenie działalności gospodarczej					
    										</td>									
    										<xsl:call-template name="Zwolnienie">
    											<xsl:with-param name="kod" select="'7.1.10'"/>
    											<xsl:with-param name="numer1" select="32"/>
    										</xsl:call-template>	
    									</tr>																							
    									<tr>
    										<td class="gridCell" style="border: solid 1px black">		
    											Art.7 ust.1 pkt 11 - grunty stanowiące działki przyzagrodowe
    											członków rolniczych spółdzielni produkcyjnych, którzy spełniają
    											jeden z warunków:<br/>
    											a) osiągnęli wiek emerytalny,<br/>
    											b) są inwalidami zaliczonymi do I albo II grupy,<br/>
    											c) są niepełnosprawnymi o znacznym lub umiarkowanym stopniu
    											niepełnosprawności,<br/>
    											d) są osobami całkowicie niezdolnymi do pracy w gospodarstwie
    											rolnym albo niezdolnymi do samodzielnej egzystencji					
    										</td>									
    										<xsl:call-template name="Zwolnienie">
    											<xsl:with-param name="kod" select="'7.1.11'"/>
    											<xsl:with-param name="numer1" select="33"/>
    										</xsl:call-template>	
    									</tr>																							
    									<tr>
    										<td class="gridCell" style="border: solid 1px black">		
    											Art.7 ust.1 pkt 12 - budynki położone na terenie rodzinnych
    											ogrodów działkowych, nieprzekraczające norm powierzchni
    											ustalonych w przepisach Prawa budowlanego dla altan i obiektów
    											gospodarczych, z wyjątkiem zajętych na działalność gospodarczą					
    										</td>									
    										<xsl:call-template name="Zwolnienie">
    											<xsl:with-param name="kod" select="'7.1.12'"/>
    											<xsl:with-param name="numer2" select="34"/>
    										</xsl:call-template>	
    									</tr>																						
    									<tr>
    										<td class="gridCell" style="border: solid 1px black">		
    											Art.7 ust.1 pkt 13 - budynki i budowle zajęte przez grupę
    											producentów rolnych wpisaną do rejestru tych grup,
    											wykorzystywane wyłącznie na prowadzenie działalności w
    											zakresie określonym w art. 4 ust. 2 ustawy z dnia 15 września
    											2000 r. o grupach producentów rolnych i ich związkach oraz o
    											zmianie innych ustaw (Dz.U. Nr 88, poz. 983 , z późn. zm.),
    											zgodnie z jej aktem założycielskim					
    										</td>									
    										<xsl:call-template name="Zwolnienie">
    											<xsl:with-param name="kod" select="'7.1.13'"/>
    											<xsl:with-param name="numer2" select="35"/>
    											<xsl:with-param name="numer3" select="36"/>
    										</xsl:call-template>	
    									</tr>																							
    									<tr>
    										<td class="gridCell" style="border: solid 1px black">		
    											Art.7 ust.1 pkt 14 - nieruchomości lub ich części zajęte na
    											prowadzenie nieodpłatnej statutowej działalności pożytku
    											publicznego przez organizacje pożytku publicznego					
    										</td>									
    										<xsl:call-template name="Zwolnienie">
    											<xsl:with-param name="kod" select="'7.1.14'"/>
    											<xsl:with-param name="numer1" select="37"/>
    											<xsl:with-param name="numer2" select="38"/>
    											<xsl:with-param name="numer3" select="39"/>
    										</xsl:call-template>	
    									</tr>																								
    									<tr>
    										<td class="gridCell" style="border: solid 1px black">		
    											Art.7 ust.2 pkt 1 - uczelnie, zwolnienie nie dotyczy przedmiotów
    											opodatkowania zajętych na działalność gospodarczą					
    											</td>									
    										<xsl:call-template name="Zwolnienie">
    											<xsl:with-param name="kod" select="'7.2.1'"/>
    											<xsl:with-param name="numer1" select="40"/>
    											<xsl:with-param name="numer2" select="41"/>
    										</xsl:call-template>	
    									</tr>																								
    									<tr>
    										<td class="gridCell" style="border: solid 1px black">		
    											Art.7 ust.2 pkt 2 – publiczne i niepubliczne jednostki
    											organizacyjne objęte systemem oświaty oraz prowadzące jej
    											organy, w zakresie nieruchomości zajętych na działalność
    											oświatową					
    											</td>									
    										<xsl:call-template name="Zwolnienie">
    											<xsl:with-param name="kod" select="'7.2.2'"/>
    											<xsl:with-param name="numer1" select="42"/>
    											<xsl:with-param name="numer2" select="43"/>
    										</xsl:call-template>	
    									</tr>																							
    									<tr>
    										<td class="gridCell" style="border: solid 1px black">		
    											Art.7 ust.2 pkt 3 – instytuty naukowe i pomocnicze jednostki
    											naukowe Polskiej Akademii Nauk, w odniesieniu do
    											nieruchomości lub ich części, które są niezbędne do realizacji
    											zadań, o których mowa w art. 2 ustawy z dnia 30 kwietnia 2010 r.
    											o Polskiej Akademii Nauk (Dz.U. Nr 96, poz. 619), zwolnienie nie
    											dotyczy przedmiotów opodatkowania zajętych na działalność
    											gospodarczą					
    										</td>									
    										<xsl:call-template name="Zwolnienie">
    											<xsl:with-param name="kod" select="'7.2.3'"/>
    											<xsl:with-param name="numer1" select="44"/>
    											<xsl:with-param name="numer2" select="45"/>
    										</xsl:call-template>	
    									</tr>																									
    									<tr>
    										<td class="gridCell" style="border: solid 1px black">		
    											Art.7 ust.2 pkt 4 - prowadzący zakłady pracy
    											chronionej spełniające warunek, o którym mowa w art. 28 ust. 1
    											pkt 1 lit. b ustawy z dnia 27 sierpnia 1997 r. o rehabilitacji zawodowej i
    											społecznej oraz zatrudnianiu osób niepełnosprawnych (Dz. U. z 2010
    											r. Nr 214, poz. 1407, Nr 217, poz. 1427 i Nr 226, poz. 1475), lub zakłady
    											aktywności zawodowej w zakresie przedmiotów opodatkowania
    											zgłoszonych wojewodzie, jeżeli zgłoszenie zostało potwierdzone
    											decyzją w sprawie przyznania statusu zakładu pracy chronionej lub
    											zakładu aktywności zawodowej albo zaświadczeniem - zajętych na
    											prowadzenie tego zakładu, z wyjątkiem przedmiotów opodatkowania
    											znajdujących się w posiadaniu zależnym podmiotów niebędących
    											prowadzącymi zakłady pracy chronionej spełniające warunek, o
    											którym mowa w art. 28 ust. 1 pkt 1 lit. b ustawy z dnia 27 sierpnia 1997
    											r. o rehabilitacji zawodowej i społecznej oraz zatrudnianiu osób
    											niepełnosprawnych lub zakłady aktywności zawodowej				
    										</td>									
    										<xsl:call-template name="Zwolnienie">
    											<xsl:with-param name="kod" select="'7.2.4'"/>
    											<xsl:with-param name="numer1" select="46"/>
    											<xsl:with-param name="numer2" select="47"/>
    											<xsl:with-param name="numer3" select="48"/>
    										</xsl:call-template>	
    									</tr>																								
    									<tr>
    										<td class="gridCell" style="border: solid 1px black">		
    											Art.7 ust.2 pkt 5 – instytuty badawcze, z wyjątkiem przedmiotów
    											opodatkowania zajętych na działalność gospodarczą					
    										</td>									
    										<xsl:call-template name="Zwolnienie">
    											<xsl:with-param name="kod" select="'7.2.5'"/>
    											<xsl:with-param name="numer1" select="49"/>
    											<xsl:with-param name="numer2" select="50"/>
    										</xsl:call-template>	
    									</tr>																							
    									<tr>
    										<td class="gridCell" style="border: solid 1px black">		
    											Art.7 ust.2 pkt 5a - przedsiębiorcy o statusie centrum badawczorozwojowego
    											uzyskanym na zasadach określonych w ustawie
    											z dnia 29 lipca 2005 r. o niektórych formach wspierania
    											działalności innowacyjnej w odniesieniu do przedmiotów
    											opodatkowania zajętych na cele prowadzonych badań i prac
    											rozwojowych					
    										</td>									
    										<xsl:call-template name="Zwolnienie">
    											<xsl:with-param name="kod" select="'7.2.5a'"/>
    											<xsl:with-param name="numer1" select="51"/>
    											<xsl:with-param name="numer2" select="52"/>
    											<xsl:with-param name="numer3" select="53"/>
    										</xsl:call-template>	
    									</tr>				
    									<tr>
    										<td class="gridCell" style="border: solid 1px black">		
    											Art.7 ust.2 pkt 6 - Polski Związek Działkowców, z wyjątkiem
    											przedmiotów opodatkowania zajętych na działalność
    											gospodarczą					
    										</td>									
    										<xsl:call-template name="Zwolnienie">
    											<xsl:with-param name="kod" select="'7.2.6'"/>
    											<xsl:with-param name="numer1" select="54"/>
    											<xsl:with-param name="numer2" select="55"/>
    										</xsl:call-template>	
    									</tr>				
    									<xsl:for-each select="wnio:Zalaczniki/wnio:ZalacznikB/wnio:Zwolnienie[wnio:Inne or wnio:NrUchwaly]">
    									<tr>
    										<td class="gridCell" style="border: solid 1px black">		
    											<xsl:if test="wnio:Inne">
    												Inne: <xsl:value-of select="wnio:Inne"/>
    											</xsl:if>
    											<xsl:if test="wnio:NrUchwaly or wnio:DataUchwaly">
    												Zwolnienie na podstawie Uchwały Nr <xsl:value-of select="wnio:NrUchwaly"/>
    												z dnia 
    												<xsl:if test="wnio:DataUchwaly != ''">
    													<xsl:value-of select="substring(wnio:DataUchwaly, 9, 2)"/>-<xsl:value-of select="substring(wnio:DataUchwaly, 6, 2)"/>-<xsl:value-of select="substring(wnio:DataUchwaly, 1, 4)"/>
    												</xsl:if>
    											</xsl:if>
    										</td>									
    										<xsl:call-template name="ZwolnienieDetail">
    											<xsl:with-param name="numer1" select="position()*3+53"/>
    											<xsl:with-param name="numer2" select="position()*3+54"/>
    											<xsl:with-param name="numer3" select="position()*3+55"/>
    										</xsl:call-template>	
    									</tr>		
    									</xsl:for-each>
    									
    								</table>
    								<br/>
    		
    						</td>
    						<td width="5"/>
    						</tr>
    						</table>
    			
    				</div>				
    
    							</xsl:for-each>							
    			
    													
    													
    			</span></body>
    		</html>
    	</xsl:template>
    	
    	<xsl:template name="ZwolnienieDetail">
    		<xsl:param name="numer1"/>
    		<xsl:param name="numer2"/>
    		<xsl:param name="numer3"/>
    		
    		<xsl:if test="wnio:Grunty">
    			<td class="gridValue" style="text-align:center; vertical-align: top">
    				<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="$numer1"/>.</xsl:with-param></xsl:call-template>
    				<xsl:if test="wnio:Grunty != ''">
    						<xsl:value-of select="format-number(wnio:Grunty, '###.##0,00', 'Polish')"/>
    				</xsl:if>
    			</td>
    		</xsl:if>
    		<xsl:if test="not(wnio:Grunty)">
    			<td class="gridValue" style="background:#eeeeee"/>
    		</xsl:if>
    		<xsl:if test="wnio:Budynki">
    			<td class="gridValue" style="text-align:center; vertical-align: top">
    				<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="$numer2"/>.</xsl:with-param></xsl:call-template>
    				<xsl:if test="wnio:Budynki != ''">
    						<xsl:value-of select="format-number(wnio:Budynki, '###.##0,00', 'Polish')"/>
    				</xsl:if>
    			</td>
    		</xsl:if>
    		<xsl:if test="not(wnio:Budynki)">
    			<td class="gridValue" style="background:#eeeeee"/>
    		</xsl:if>			
    		<xsl:if test="wnio:Budowle">
    			<td class="gridValue" style="text-align:center; vertical-align: top">
    				<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="$numer3"/>.</xsl:with-param></xsl:call-template>
    				<xsl:if test="wnio:Budowle != ''">
    						<xsl:value-of select="format-number(wnio:Budowle, '###.##0,00', 'Polish')"/>
    				</xsl:if>
    			</td>
    		</xsl:if>
    		<xsl:if test="not(wnio:Budowle)">
    			<td class="gridValue" style="background:#eeeeee"/>
    		</xsl:if>		
    		
    	</xsl:template>
    	
    <xsl:template name="Zwolnienie">
    		<xsl:param name="kod"/>
    		<xsl:param name="numer1"/>
    		<xsl:param name="numer2"/>
    		<xsl:param name="numer3"/>
    		
    		<xsl:for-each select="wnio:Zalaczniki/wnio:ZalacznikB/wnio:Zwolnienie[@kod=$kod]">		
    			<xsl:call-template name="ZwolnienieDetail">
    				<xsl:with-param name="numer1" select="$numer1"/>
    				<xsl:with-param name="numer2" select="$numer2"/>
    				<xsl:with-param name="numer3" select="$numer3"/>
    			</xsl:call-template>	
    		</xsl:for-each>
    	</xsl:template>	
    	
    	<xsl:template name="Budowla">
    		<xsl:param name="kod"/>
    		<xsl:param name="numer"/>
    		
    		<xsl:for-each select="wnio:Opodatkowanie/wnio:Budowle/wnio:Budowla[@kod=$kod]">		
    			<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:Pozycje/wnio:Pozycja[last()]">
    						<xsl:choose>
    							<xsl:when test="count(wnio:Pozycje/wnio:Pozycja[wnio:Podstawa='']) &gt; 0">
    								<div style="color:red;">Niekompletne dane</div>					
    							</xsl:when>
    							<xsl:otherwise>
    								<xsl:value-of select="format-number(wnio:Pozycje/wnio:Pozycja[last()]/wnio:Podstawa, '###.##0,00', 'Polish')"/><br/>
    							</xsl:otherwise>
    						</xsl:choose>
    					</xsl:if>	
    			</td>
    		</xsl:for-each>
    	</xsl:template>
    
    	<xsl:template name="Budynek">
    		<xsl:param name="kod"/>
    		<xsl:param name="label"/>
    		<xsl:param name="numer"/>
    				
    		<xsl:for-each select="wnio:Opodatkowanie/wnio:Budynki/wnio:Budynek[@kod=$kod]">	
    			<tr>
    				<td class="gridCell">
    					<xsl:value-of select="$label"/>					
    				</td>
    				<td class="gridValue">
    					<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:Pozycje/wnio:Pozycja[last()]">
    						<xsl:choose>
    							<xsl:when test="count(wnio:Pozycje/wnio:Pozycja[wnio:PowierzchniaDo220='']) &gt; 0">
    								<div style="color:red;">Niekompletne dane</div>					
    							</xsl:when>
    							<xsl:otherwise>
    								<xsl:value-of select="format-number(wnio:Pozycje/wnio:Pozycja[last()]/wnio:PowierzchniaDo220, '###.##0,00', 'Polish')"/>
    							</xsl:otherwise>
    						</xsl:choose>
    					</xsl:if>						
    				</td>
    				<td class="gridValue">
    					<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="$numer+1"/>.</xsl:with-param></xsl:call-template>
    					<xsl:if test="wnio:Pozycje/wnio:Pozycja[last()]">
    						<xsl:choose>
    							<xsl:when test="count(wnio:Pozycje/wnio:Pozycja[wnio:PowierzchniaPow220='']) &gt; 0">
    								<div style="color:red;">Niekompletne dane</div>					
    							</xsl:when>
    							<xsl:otherwise>
    								<xsl:value-of select="format-number(wnio:Pozycje/wnio:Pozycja[last()]/wnio:PowierzchniaPow220, '###.##0,00', 'Polish')"/>
    							</xsl:otherwise>
    						</xsl:choose>
    					</xsl:if>	
    				</td>				
    			</tr>		
    		</xsl:for-each>
    	</xsl:template>
    	
    	<xsl:template name="Grunt">
    		<xsl:param name="kod"/>
    		<xsl:param name="jednostka"/>
    		<xsl:param name="numer"/>
    		
    		<xsl:for-each select="wnio:Opodatkowanie/wnio:Grunty/wnio:Grunt[@kod=$kod]">		
    			<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:Pozycje/wnio:Pozycja[last()]">
    						<xsl:choose>
    							<xsl:when test="count(wnio:Pozycje/wnio:Pozycja[wnio:Powierzchnia='']) &gt; 0">
    								<div style="color:red;">Niekompletne dane</div>					
    							</xsl:when>
    							<xsl:otherwise>
    								<xsl:value-of select="format-number(wnio:Pozycje/wnio:Pozycja[last()]/wnio:Powierzchnia, '###.##0,00', 'Polish')"/> 
    								<xsl:call-template name="Jednostka"><xsl:with-param name="text" select="$jednostka"/></xsl:call-template><br/>
    							</xsl:otherwise>
    						</xsl:choose>
    					</xsl:if>				
    			</td>
    		</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/adr:Adres"/>
    	</xsl:template>	
    	
    	<xsl:template match="adr:Adres" name="Adres">
    	
    		<xsl:if test="adr:Ulica!=''">
    			<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>
    			
    			<br/>
    			<xsl:choose>
    				<xsl:when test="not(adr:Poczta) or adr:Poczta='' or (adr:Poczta=adr:Miejscowosc)">
    					<xsl:text/>
    <xsl:value-of select="adr:KodPocztowy"/>
    					<xsl:text> </xsl:text>
    <xsl:value-of select="adr:Miejscowosc"/>
    				</xsl:when>
    				<xsl:otherwise>
    					<xsl:value-of select="adr:Miejscowosc"/>
    					<xsl:text>, </xsl:text>
    <xsl:value-of select="adr:KodPocztowy"/>
    					<xsl:text> </xsl:text>
    					<xsl:value-of select="adr:Poczta"/>
    				</xsl:otherwise>
    			</xsl:choose>
    
    		</xsl:if>
    		
    
    
    	</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:value-of select="@nazwaPliku"/>
    								</xsl:otherwise>
    							</xsl:choose>
    						</td>	
    					</tr>
    			</xsl:for-each>
    		</table>	
    	</xsl:template>
    	
    	
    	<xsl:template name="Osoba">
    		<xsl:param name="osoba"/>	
    		<xsl:param name="index"/>	
    		<xsl:param name="nazwa"/>
    
    		<div id="mainBlock" style="margin: -1px 0 0 0 ">
    			<div class="mainBlockHeader"><xsl:value-of select="$nazwa"/></div>
    			<div class="innerBlock" style="margin-top: 0px">
    				<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="$index"/>. Nazwisko</xsl:with-param></xsl:call-template>
    				<div class="blockContent">
    					<xsl:value-of select="$osoba/oso:Nazwisko"/>
    				</div>  
    			</div>		
    			<div class="innerBlock" style="margin-top: 0px">
    				<table width="90%" cellspacing="0">
    						<tr>
    							<td width="50%" style="vertical-align:top;">
    												<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="$index+1"/>. Pierwsze imię, drugie imię</xsl:with-param></xsl:call-template>
    												<div class="blockContent">
    												<xsl:value-of select="$osoba/oso:Imie"/><xsl:text> </xsl:text><xsl:value-of select="$osoba/oso:ImieDrugie"/>															</div>			
    							</td>
    							<td width="50%" style="vertical-align:top; border-left: solid 1px #000000">
    												<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="$index+2"/>. Data urodzenia (dzień - miesiąc - rok)</xsl:with-param></xsl:call-template>
    												<div class="blockContent">
    													<xsl:call-template name="Data">
    														<xsl:with-param name="data" select="$osoba/oso:DataUrodzenia"/>
    													</xsl:call-template>	
    												</div>			
    							</td>
    						</tr>
    				</table>												
    			</div>		
    			
    			<div class="innerBlock" style="margin-top: 0px">
    				<table width="90%" cellspacing="0">
    						<tr>
    							<td width="80%" style="vertical-align:top;">
    												<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="$index+3"/>. Identyfikator REGON / PKD (w przypadku prowadzenia działalności gospodarczej)</xsl:with-param></xsl:call-template>
    												<div class="blockContent">
    													<xsl:value-of select="$osoba/oso:IdOsoby/oso:InnyIdentyfikator[oso:TypIdentyfikatora='REGON']/oso:WartoscIdentyfikatora"/>
    													/ 
    													<xsl:value-of select="$osoba/wnio:Klasyfikacje/wnio:Klasyfikacja[@kod='PKD']/wnio:Wartosc"/>
    												</div>			
    							</td>
    							<td width="20%" style="vertical-align:top; border-left: solid 1px #000000">
    												<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="$index+4"/>. Numer PESEL</xsl:with-param></xsl:call-template>
    												<div class="blockContent">
    													<xsl:value-of select="$osoba/oso:IdOsoby/oso:PESEL"/>
    												</div>			
    							</td>
    						</tr>
    				</table>						
    			</div>			
    			<div class="innerBlock" style="margin-top: 0px;">
    				<table width="90%" cellspacing="0" cellpadding="0">
    						<tr>
    							<td width="33%" style="height:30px;vertical-align:top;">
    								<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="$index+5"/>. Kraj</xsl:with-param></xsl:call-template>
    								<div class="blockContent">
    									<xsl:apply-templates select="$osoba/adr:Adres/adr:Kraj"/>
    								</div>			
    							</td>
    							<td width="34%" style="vertical-align:top; border-left: solid 1px #000000">
    								<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="$index+6"/>. Województwo</xsl:with-param></xsl:call-template>
    								<div class="blockContent">
    									<xsl:value-of select="$osoba/adr:Adres/adr:Wojewodztwo"/>
    								</div>			
    							</td>
    							<td width="33%" style="vertical-align:top; border-left: solid 1px #000000">
    								<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="$index+7"/>. Powiat</xsl:with-param></xsl:call-template>
    								<div class="blockContent">
    									<xsl:value-of select="$osoba/adr:Adres/adr:Powiat"/>
    								</div>			
    							</td>										
    						</tr>
    				</table>						
    			</div>							
    			<div class="innerBlock" style="margin-top: 0px;">
    				<table width="90%" cellspacing="0" cellpadding="0">
    						<tr>
    							<td width="25%" style="height:30px;vertical-align:top;">
    								<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="$index+8"/>. Gmina</xsl:with-param></xsl:call-template>
    								<div class="blockContent">
    									<xsl:value-of select="$osoba/adr:Adres/adr:Gmina"/>
    								</div>			
    							</td>
    							<td style="vertical-align:top; border-left: solid 1px #000000">
    								<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="$index+9"/>. Ulica</xsl:with-param></xsl:call-template>
    								<div class="blockContent">
    									<xsl:if test="$osoba/adr:Adres/adr:Ulica!=''">
    										<xsl:for-each select="$osoba/adr:Adres/adr:Ulica[@rodzajUlicy != 'inna' and @rodzajUlicy != 'ulica']">
    											<xsl:value-of select="@rodzajUlicy"/>
    											<xsl:text> </xsl:text>
    										</xsl:for-each>
    										<xsl:value-of select="$osoba/adr:Adres/adr:Ulica"/>
    									</xsl:if>	
    								</div>			
    							</td>
    							<td width="100" style="vertical-align:top; border-left: solid 1px #000000">
    								<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="$index+10"/>. Nr domu</xsl:with-param></xsl:call-template>
    								<div class="blockContent">
    									<xsl:value-of select="$osoba/adr:Adres/adr:Budynek"/>
    								</div>			
    							</td>				
    							<td width="100" style="vertical-align:top; border-left: solid 1px #000000">
    								<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="$index+11"/>. Nr lokalu</xsl:with-param></xsl:call-template>
    								<div class="blockContent">
    									<xsl:value-of select="$osoba/adr:Adres/adr:Lokal"/>
    								</div>			
    							</td>																	
    						</tr>
    				</table>						
    			</div>	
    			<div class="innerBlock" style="margin-top: 0px;">
    				<table width="90%" cellspacing="0" cellpadding="0">
    						<tr>
    							<td width="40%" style="height:30px;vertical-align:top;">
    								<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="$index+12"/>. Miejscowość</xsl:with-param></xsl:call-template>
    								<div class="blockContent">
    									<xsl:value-of select="$osoba/adr:Adres/adr:Miejscowosc"/>
    								</div>			
    							</td>
    							<td width="200" style="vertical-align:top; border-left: solid 1px #000000">
    								<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="$index+13"/>. Kod pocztowy</xsl:with-param></xsl:call-template>
    								<div class="blockContent">
    									<xsl:value-of select="$osoba/adr:Adres/adr:KodPocztowy"/>
    								</div>			
    							</td>
    							<td style="vertical-align:top; border-left: solid 1px #000000">
    								<xsl:call-template name="BlockLabel"><xsl:with-param name="text"><xsl:value-of select="$index+14"/>. Poczta</xsl:with-param></xsl:call-template>
    								<div class="blockContent">
    									<xsl:value-of select="$osoba/adr:Adres/adr:Poczta"/>
    								</div>			
    							</td>										
    						</tr>
    				</table>						
    			</div>																										
    		
    		</div>		
    							
    	</xsl:template>
    	
    	
    		<xsl:template name="RodzajPodatnika">
    		<xsl:param name="podatnik"/>
    		<table width="100%">
    			<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, nie posiadają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:stylesheet>