1750

ID1750
Data2014-08-26
Symbol2014/08/26/1750
InstytucjaUrząd Miejski Orzesze
NazwaDEKLARACJA O WYSOKOŚCI OPŁATY ZA GOSPODAROWANIE ODPADAMI KOMUNALNYMI SKŁADANA PRZEZ WŁAŚCICIELI NIERUCHOMOŚCI POŁOŻONYCH NA OBSZARZE GMINY ORZESZE
Czy Aktualny1

Ustawy (1)

  • URI://Dziennik_Ustaw/2013/1399/6n/1/2/a
  • Art. 6n, ust. 1 pkt 2 lit. a ustawy z dnia 13 września 1996r. o utrzymaniu czystości i porządku w gminach (Dz. U. z 2013 r. poz. 1399, z późń. zm.)

    Pliki

    Styl

    <?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" xmlns:adr="http://crd.gov.pl/xml/schematy/adres/2009/11/09/" xmlns:dok="http://crd.gov.pl/wzor/2014/08/26/1750/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:inst="http://crd.gov.pl/xml/schematy/instytucja/2009/11/16/" xmlns:meta="http://crd.gov.pl/xml/schematy/meta/2009/11/16/" xmlns:oso="http://crd.gov.pl/xml/schematy/osoba/2009/11/16/" xmlns:str="http://crd.gov.pl/xml/schematy/struktura/2009/11/16/" xmlns:typy="http://crd.gov.pl/xml/schematy/typy/2009/11/16/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="1.0">
    	<xsl:output encoding="UTF-8" indent="yes" media-type="text/html" method="xml" version="1.0"/>
    	<xsl:template match="/dok:Dokument">
    		<html xml:lang="pl">
    			<head>
    				<meta content="text/html; charset=UTF-8" http-equiv="content-type"/>
    				<title>
    					DEKLARACJA O WYSOKOŚCI OPŁATY ZA GOSPODAROWANIE ODPADAMI KOMUNALNYMI SKŁADANA PRZEZ WŁAŚCICIELI NIERUCHOMOŚCI POŁOŻONYCH NA OBSZARZE GMINY ORZESZE
    					<xsl:text> (</xsl:text>
    					F.PO.DEK.ODP.KOM.1.P030
    					<xsl:text>)</xsl:text>
    				</title>
    				<style type="text/css">
    					<xsl:text>.fform { font-family: sans-serif; font-size: 10pt; color: black; } </xsl:text>
    					<xsl:text>.fform * { font-family: inherit; font-size: inherit; color: inherit; } </xsl:text>
    					<xsl:text>.fform p { margin: 0 0 0.2em 0; } </xsl:text>
    					<xsl:text>.fform p.title { text-align: center; font-size: 1.2em; font-weight: bold; margin-top: 1em; margin-bottom: 1em; } </xsl:text>
    					<xsl:text>.fform p.title .symbol { color: Gray; } </xsl:text>
    					<xsl:text>.fform div.trescDok { margin-top: 1em; margin-bottom: 1em; border: solid 1px Gray; background-color: WhiteSmoke; } </xsl:text>
    					<xsl:text>.fform div.trescDok table td { padding: 3px 0px 4px 15px; } </xsl:text>
    					<xsl:text>.fform div.trescDok table table td.sublevel, .fform div.trescDok table table table { background-color: WhiteSmoke; } </xsl:text>
    					<xsl:text>.fform div.daneDok { margin-top: 1em; margin-bottom: 1em; border: solid 1px #7099c5; background-color: #f0f0ff; } </xsl:text>
    					<xsl:text>.fform div.daneDok table td { padding: 3px 0px 4px 15px; } </xsl:text>
    					<xsl:text>.fform div.daneDok table table td.sublevel, .fform div.daneDok table table table { background-color: #f0f0ff; } </xsl:text>
    					<xsl:text>.fform div.sigInfo { margin-top: 1em; margin-bottom: 1em; border: solid 1px #7099c5; background-color: #f0f0ff; } </xsl:text>
    					<xsl:text>.fform div.sigInfo table td { padding: 3px 0px 4px 15px; } </xsl:text>
    					<xsl:text>.fform td.label { width: 20%; color: Gray; } </xsl:text>
    					<xsl:text>.fform td.value { font-weight: bold; width: 80%; } </xsl:text>
    					<xsl:text>.fform td.value2 { width: 80%; } </xsl:text>
    					<xsl:text>.fform table { width: 100%; } </xsl:text>
    					<xsl:text>.fform table td.sublevel, .fform table table { background-color: White; } </xsl:text>
    					<xsl:text>.fform table table table td.sublevel, .fform table table table table { background-color: White; } </xsl:text>
    				</style>
    			</head>
    			<body class="fform">
    				<div class="trescDok">
    					<p class="title">
    						DEKLARACJA O WYSOKOŚCI OPŁATY ZA GOSPODAROWANIE ODPADAMI KOMUNALNYMI SKŁADANA PRZEZ WŁAŚCICIELI NIERUCHOMOŚCI POŁOŻONYCH NA OBSZARZE GMINY ORZESZE
    					</p>
    					<table>
    						<xsl:apply-templates select="dok:TrescDokumentu/*"/>
    					</table>
    				</div>
    				<div class="daneDok">
    					<p class="title">Metryka dokumentu</p>
    					<table>
    						<xsl:apply-templates select="dok:DaneDokumentu"/>
    					</table>
    				</div>
    				<div class="sigInfo">
    					<p class="title">Podpisy elektroniczne</p>
    					<xsl:choose>
    						<xsl:when test="ds:Signature">
    							<p>
    								<xsl:text>Dokument został podpisany</xsl:text>
    								<xsl:text> - aby go zweryfikować należy użyć oprogramowania do weryfikacji podpisu.</xsl:text>
    							</p>
    							<xsl:choose>
    								<xsl:when test="count(//dok:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']) &gt; 1">
    									<p>Daty złożenia podpisu:</p>
    								</xsl:when>
    								<xsl:when test="count(//dok:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']) = 1">
    									<p>Data złożenia podpisu:</p>
    								</xsl:when>
    								<xsl:when test="0 &gt;= count(//dok:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime'])">
    								</xsl:when>
    							</xsl:choose>
    							<table>
    								<xsl:for-each select="ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']">
    									<tr>
    										<td>Data złożenia podpisu:</td>
    										<td>
    											<xsl:value-of select="."/>
    										</td>
    									</tr>
    								</xsl:for-each>
    							</table>
    						</xsl:when>
    						<xsl:otherwise>
    							<p style="padding: 5px;">Dokument nie zawiera podpisu elektronicznego.</p>
    						</xsl:otherwise>
    					</xsl:choose>
    				</div>
    			</body>
    		</html>
    	</xsl:template>
    	<xsl:template match="dok:DaneDokumentu">
    		<xsl:if test="str:Naglowek/str:NazwaDokumentu">
    			<tr>
    				<td class="label">Nazwa dokumentu</td>
    				<td class="value">
    					<xsl:value-of select="str:Naglowek/str:NazwaDokumentu"/>
    				</td>
    			</tr>
    		</xsl:if>
    		<xsl:apply-templates select="meta:Identyfikator"/>
    		<xsl:for-each select="str:Adresaci">
    			<tr>
    				<td class="sublevel" colspan="2">
    					Adresat
    					<br/>
    					<table class="level2">
    						<xsl:apply-templates select="meta:Podmiot"/>
    					</table>
    				</td>
    			</tr>
    		</xsl:for-each>
    		<xsl:for-each select="str:Nadawcy">
    			<tr>
    				<td class="sublevel" colspan="2">
    					Nadawca
    					<br/>
    					<table>
    						<xsl:apply-templates select="meta:Podmiot"/>
    					</table>
    				</td>
    			</tr>
    		</xsl:for-each>
    	</xsl:template>
    
    	
    	<xsl:template match="adr:Adres">
    		<xsl:apply-templates select="adr:KodPocztowy"/>
    		<xsl:apply-templates select="adr:Poczta"/>
    		<xsl:apply-templates select="adr:Miejscowosc"/>
    		<xsl:apply-templates select="adr:Ulica"/>
    		<xsl:apply-templates select="adr:Budynek"/>
    		<xsl:apply-templates select="adr:Lokal"/>
    		<xsl:apply-templates select="adr:SkrytkaPocztowa"/>
    		<xsl:apply-templates select="adr:Kraj"/>
    		<xsl:apply-templates select="adr:TERC"/>
    		<xsl:apply-templates select="adr:SIMC"/>
    		<xsl:apply-templates select="adr:ULIC"/>
    		<xsl:apply-templates select="adr:Wojewodztwo"/>
    		<xsl:apply-templates select="adr:Powiat"/>
    		<xsl:apply-templates select="adr:Gmina"/>
    		<xsl:apply-templates select="adr:Uwagi"/>
    	</xsl:template>
    	<xsl:template match="adr:KodPocztowy">
    		<tr>
    			<td class="label">Kod pocztowy</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:Poczta">
    		<tr>
    			<td class="label">Poczta</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:Miejscowosc">
    		<tr>
    			<td class="label">Miejscowość</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:Ulica">
    		<tr>
    			<td class="label">Ulica</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:Budynek">
    		<tr>
    			<td class="label">Nr budynku</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:Lokal">
    		<tr>
    			<td class="label">Nr lokalu</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:SkrytkaPocztowa">
    		<tr>
    			<td class="label">Nr skrytki pocztowej</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:Kraj">
    		<tr>
    			<td class="label">Kod kraju</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:TERC">
    		<tr>
    			<td class="label">Kod TERC</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:SIMC">
    		<tr>
    			<td class="label">Kod SIMC</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:ULIC">
    		<tr>
    			<td class="label">Kod ULIC</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:Wojewodztwo">
    		<tr>
    			<td class="label">Województwo</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:Powiat">
    		<tr>
    			<td class="label">Powiat</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:Gmina">
    		<tr>
    			<td class="label">Gmina</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:Uwagi">
    		<tr>
    			<td class="label">Uwagi dotyczące adresu</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:Kontakt">
    		<xsl:apply-templates select="adr:Telefon|adr:Faks|adr:Email|adr:URIKontakt|adr:InnyKontakt"/>
    	</xsl:template>
    	<xsl:template match="adr:Telefon">
    		<tr>
    			<td class="label">Telefon</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:Faks">
    		<tr>
    			<td class="label">Faks</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:Email">
    		<tr>
    			<td class="label">E-mail</td>
    			<td class="value">
    				<a href="mailto:{text()}">
    					<xsl:value-of select="text()"/>
    				</a>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:URIKontakt">
    		<tr>
    			<td class="label">Kontakt URI</td>
    			<td class="value">
    				<a href="{text()}">
    					<xsl:value-of select="text()"/>
    				</a>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="adr:InnyKontakt">
    		<tr>
    			<td class="label">Inny kontakt</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    
    	
    	<xsl:template match="oso:Osoba">
    		<xsl:apply-templates select="oso:IdOsoby"/>
    		<xsl:apply-templates select="oso:Imie"/>
    		<xsl:apply-templates select="oso:ImieDrugie"/>
    		<xsl:if test="oso:Nazwisko">
    			<tr>
    				<td class="label">Nazwisko</td>
    				<td class="value">
    					<xsl:if test="oso:Nazwisko[@rodzajCzlonu='pierwszy']">
    						<xsl:value-of select="oso:Nazwisko[@rodzajCzlonu='pierwszy']"/>
    						<xsl:text> </xsl:text>
    					</xsl:if>
    					<xsl:if test="oso:Nazwisko[@rodzajCzlonu='drugi']">
    						<xsl:value-of select="oso:Nazwisko[@rodzajCzlonu='pierwszy']"/>
    						<xsl:text> </xsl:text>
    					</xsl:if>
    					<xsl:if test="oso:Nazwisko[@rodzajCzlonu='trzeci']">
    						<xsl:value-of select="oso:Nazwisko[@rodzajCzlonu='pierwszy']"/>
    						<xsl:text> </xsl:text>
    					</xsl:if>
    					<xsl:if test="oso:Nazwisko[not(@rodzajCzlonu)]">
    						<xsl:value-of select="oso:Nazwisko[not(@rodzajCzlonu)]"/>
    						<xsl:text> </xsl:text>
    					</xsl:if>
    				</td>
    			</tr>
    		</xsl:if>
    		<xsl:apply-templates select="adr:Adres"/>
    		<xsl:apply-templates select="adr:Kontakt"/>
    	</xsl:template>
    	<xsl:template match="oso:IdOsoby">
    		<xsl:apply-templates select="oso:PESEL"/>
    		<xsl:apply-templates select="oso:NIP"/>
    		<xsl:apply-templates select="oso:InnyIdentyfikator"/>
    	</xsl:template>
    	<xsl:template match="oso:PESEL">
    		<tr>
    			<td class="label">Numer PESEL</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:NIP">
    		<tr>
    			<td class="label">Numer NIP</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:InnyIdentyfikator">
    		<tr>
    			<td class="label">
    				Identyfikator
    				<xsl:value-of select="oso:TypIdentyfikatora"/>
    			</td>
    			<td class="value">
    				<xsl:value-of select="oso:WartoscIdentyfikatora"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:Imie">
    		<tr>
    			<td class="label">Imię</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:ImieDrugie">
    		<tr>
    			<td class="label">Imię drugie</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:ImieOjca">
    		<tr>
    			<td class="label">Imię ojca</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:ImieMatki">
    		<tr>
    			<td class="label">Imię matki</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:Nazwisko[not(@rodzajCzlonu)]">
    		<tr>
    			<td class="label">Nazwisko</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:Nazwisko[@rodzajCzlonu='pierwszy']">
    		<tr>
    			<td class="label">Nazwisko - człon pierwszy</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:Nazwisko[@rodzajCzlonu='drugi']">
    		<tr>
    			<td class="label">Nazwisko - człon drugi</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:Nazwisko[@rodzajCzlonu='trzeci']">
    		<tr>
    			<td class="label">Nazwisko - człon trzeci</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:NazwiskoRodowe">
    		<tr>
    			<td class="label">Nazwisko rodowe</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:NazwiskoRodoweOjca">
    		<tr>
    			<td class="label">Nazwisko rodowe ojca</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:NazwiskoRodoweMatki">
    		<tr>
    			<td class="label">Nazwisko rodowe matki</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:NazwiskoPoprzednie">
    		<tr>
    			<td class="label">Nazwisko poprzednie</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:MiejsceUrodzenia">
    		<tr>
    			<td class="label">Miejsce urodzenia</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:DataUrodzenia">
    		<tr>
    			<td class="label">Data urodzenia</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:Plec">
    		<tr>
    			<td class="label">Płeć</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:RodzajDowoduTozsamosci">
    		<tr>
    			<td class="label">Rodzaj dowodu tożsamości</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:NrDowoduTozsamosci">
    		<tr>
    			<td class="label">Nr dowodu tożsamości</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:DataWydaniaDowoduTozsamosci">
    		<tr>
    			<td class="label">Data wydania dowodu tożsamości</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:Obywatelstwo">
    		<tr>
    			<td class="label">Obywatelstwo</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:Narodowosc">
    		<tr>
    			<td class="label">Narodowość</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:StopienPokrewienstwa">
    		<tr>
    			<td class="label">Stopień pokrewieństwa</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:StanCywilny">
    		<tr>
    			<td class="label">Stan cywilny</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:WyksztalceniePoziom">
    		<tr>
    			<td class="label">Poziom wykształcenia</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:WyksztalcenieOpis">
    		<tr>
    			<td class="label">Opis wykształcenia</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="oso:Zawod">
    		<tr>
    			<td class="label">Zawód</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    
    	
    	<xsl:template match="inst:Instytucja">
    		<xsl:apply-templates select="inst:IdInstytucji/inst:KRS"/>
    		<xsl:apply-templates select="inst:IdInstytucji/inst:NIP"/>
    		<xsl:apply-templates select="inst:IdInstytucji/inst:REGON"/>
    		<xsl:apply-templates select="inst:IdInstytucji/inst:InnyIdentyfikator"/>
    		<xsl:apply-templates select="inst:NazwaInstytucji"/>
    		<xsl:if test="adr:Adres">
    			<tr>
    				<td class="sublevel" colspan="2">
    					Adres
    					<br/>
    					<table>
    						<xsl:apply-templates select="adr:Adres"/>
    					</table>
    				</td>
    			</tr>
    		</xsl:if>
    		<xsl:if test="adr:Kontakt">
    			<tr>
    				<td class="sublevel" colspan="2">
    					Kontakt
    					<br/>
    					<table>
    						<xsl:apply-templates select="adr:Kontakt"/>
    					</table>
    				</td>
    			</tr>
    		</xsl:if>
    		<xsl:if test="inst:Jednostka">
    			<tr>
    				<td class="sublevel" colspan="2">
    					Jednostka organizacyjna
    					<br/>
    					<table>
    						<xsl:apply-templates select="inst:Jednostka"/>
    					</table>
    				</td>
    			</tr>
    		</xsl:if>
    		<xsl:if test="inst:Pracownik">
    			<tr>
    				<td class="sublevel" colspan="2">
    					Pracownik
    					<br/>
    					<table>
    						<xsl:apply-templates select="inst:Pracownik"/>
    					</table>
    				</td>
    			</tr>
    		</xsl:if>
    	</xsl:template>
    	<xsl:template match="inst:Jednostka">
    		<xsl:apply-templates select="inst:NazwaInstytucji"/>
    		<xsl:if test="adr:Adres">
    			<tr>
    				<td class="sublevel" colspan="2">
    					Adres
    					<br/>
    					<table>
    						<xsl:apply-templates select="adr:Adres"/>
    					</table>
    				</td>
    			</tr>
    		</xsl:if>
    		<xsl:if test="adr:Kontakt">
    			<tr>
    				<td class="sublevel" colspan="2">
    					Kontakt
    					<br/>
    					<table>
    						<xsl:apply-templates select="adr:Kontakt"/>
    					</table>
    				</td>
    			</tr>
    		</xsl:if>
    		<xsl:if test="inst:Jednostka">
    			<tr>
    				<td class="sublevel" colspan="2">
    					Jednostka organizacyjna
    					<br/>
    					<table>
    						<xsl:apply-templates select="inst:Jednostka"/>
    					</table>
    				</td>
    			</tr>
    		</xsl:if>
    		<xsl:apply-templates select="inst:Poziom"/>
    		<xsl:if test="inst:Pracownik">
    			<tr>
    				<td class="sublevel" colspan="2">
    					Pracownik
    					<br/>
    					<table>
    						<xsl:apply-templates select="inst:Pracownik"/>
    					</table>
    				</td>
    			</tr>
    		</xsl:if>
    	</xsl:template>
    	<xsl:template match="inst:KRS">
    		<tr>
    			<td class="label">Numer KRS</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="inst:NIP">
    		<tr>
    			<td class="label">Numer NIP</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="inst:REGON">
    		<tr>
    			<td class="label">Numer REGON</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="inst:InnyIdentyfikator">
    		<tr>
    			<td class="label">
    				Identyfikator
    				<xsl:value-of select="inst:TypIdentyfikatora"/>
    			</td>
    			<td class="value">
    				<xsl:value-of select="inst:WartoscIdentyfikatora"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="inst:NazwaInstytucji">
    		<tr>
    			<td class="label">Nazwa</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="inst:Poziom">
    		<tr>
    			<td class="label">Poziom w strukturze organizacyjnej</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="inst:Pracownik">
    		<xsl:apply-templates select="oso:IdOsoby"/>
    		<xsl:apply-templates select="oso:Imie"/>
    		<xsl:apply-templates select="oso:ImieDrugie"/>
    		<xsl:if test="oso:Nazwisko">
    			<tr>
    				<td class="label">Nazwisko</td>
    				<td class="value">
    					<xsl:if test="oso:Nazwisko[@rodzajCzlonu='pierwszy']">
    						<xsl:value-of select="oso:Nazwisko[@rodzajCzlonu='pierwszy']"/>
    						<xsl:text> </xsl:text>
    					</xsl:if>
    					<xsl:if test="oso:Nazwisko[@rodzajCzlonu='drugi']">
    						<xsl:value-of select="oso:Nazwisko[@rodzajCzlonu='pierwszy']"/>
    						<xsl:text> </xsl:text>
    					</xsl:if>
    					<xsl:if test="oso:Nazwisko[@rodzajCzlonu='trzeci']">
    						<xsl:value-of select="oso:Nazwisko[@rodzajCzlonu='pierwszy']"/>
    						<xsl:text> </xsl:text>
    					</xsl:if>
    					<xsl:if test="oso:Nazwisko[not(@rodzajCzlonu)]">
    						<xsl:value-of select="oso:Nazwisko[not(@rodzajCzlonu)]"/>
    						<xsl:text> </xsl:text>
    					</xsl:if>
    				</td>
    			</tr>
    		</xsl:if>
    		<xsl:apply-templates select="adr:Kontakt"/>
    		<xsl:apply-templates select="inst:Funkcja"/>
    	</xsl:template>
    	<xsl:template match="inst:Funkcja">
    		<tr>
    			<td class="label">Funkcja</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    
    	
    	<xsl:template match="meta:Data">
    		<tr>
    			<td class="label">
    				<xsl:choose>
    					<xsl:when test="@typDaty='dostepnyPo'">
    						Data udostępnienia
    					</xsl:when>
    					<xsl:when test="@typDaty='opublikowany'">
    						Data opublikowania
    					</xsl:when>
    					<xsl:when test="@typDaty='stworzony'">
    						Data stworzenia
    					</xsl:when>
    					<xsl:when test="@typDaty='uzyskany'">
    						Data uzyskania
    					</xsl:when>
    					<xsl:when test="@typDaty='otrzymany'">
    						Data otrzymania
    					</xsl:when>
    					<xsl:when test="@typDaty='wyslany'">
    						Data wysłania
    					</xsl:when>
    					<xsl:when test="@typDaty='zaakceptowany'">
    						Data zaakceptowania
    					</xsl:when>
    					<xsl:when test="@typDaty='zatwierdzony'">
    						Data zatwierdzenia
    					</xsl:when>
    					<xsl:when test="@typDaty='zmodyfikowany'">
    						Data zmodyfikowania
    					</xsl:when>
    					<xsl:when test="@typDaty='datySkrajne'">
    						Daty skrajne
    					</xsl:when>
    					<xsl:when test="@typDaty='zdarzenia'">
    						Data zdarzenie
    					</xsl:when>
    					<xsl:when test="@typDaty='waznosci'">
    						Data ważności
    					</xsl:when>
    					<xsl:when test="@typDaty='odrzucony'">
    						Data odrzucenia
    					</xsl:when>
    					<xsl:when test="@typDaty='inna'">
    						Inna data
    					</xsl:when>
    				</xsl:choose>
    			</td>
    			<td class="value">
    				<xsl:if test="meta:Czas">
    					<xsl:value-of select="meta:Czas"/>
    					<xsl:text> </xsl:text>
    				</xsl:if>
    				<xsl:if test="meta:Od">
    					<xsl:text>od </xsl:text>
    					<xsl:value-of select="meta:Od"/>
    					<xsl:text> </xsl:text>
    				</xsl:if>
    				<xsl:if test="meta:Do">
    					<xsl:text>do </xsl:text>
    					<xsl:value-of select="meta:Do"/>
    					<xsl:text> </xsl:text>
    				</xsl:if>
    				<xsl:if test="@typDatyUzupelnienie">
    					<br/>
    					<xsl:value-of select="@typDatyUzupelnienie"/>
    				</xsl:if>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="meta:Od">
    		<tr>
    			<td class="label">Od</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="meta:Do">
    		<tr>
    			<td class="label">Do</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="meta:Opis">
    		<tr>
    			<td class="label">Opis</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="meta:Identyfikator">
    		<tr>
    			<td class="label">
    				Identyfikator
    				<xsl:value-of select="@typIdentyfikatora"/>
    			</td>
    			<td class="value">
    				<xsl:value-of select="meta:Wartosc"/>
    				<xsl:if test="meta:Podmiot/inst:Instytucja/inst:NazwaInstytucji">
    					<br/>
    					Rejestr prowadzony przez
    					<xsl:value-of select="meta:Podmiot/inst:Instytucja/inst:NazwaInstytucji"/>
    				</xsl:if>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="meta:Podmiot">
    		<xsl:apply-templates select="inst:Instytucja"/>
    		<xsl:apply-templates select="oso:Osoba"/>
    	</xsl:template>
    	<xsl:template match="meta:ZnakSprawy">
    		<tr>
    			<td class="label">Znak sprawy</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    
    	
    	<xsl:template match="str:Zalaczniki">
    		<xsl:apply-templates select="str:Zalacznik"/>
    	</xsl:template>
    	<xsl:template match="str:Zalacznik">
    		<tr>
    			<td class="label">Załącznik</td>
    			<td class="value2">
    				<xsl:call-template name="str_ZalacznikTypValue"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template name="str_ZalacznikTypValue">
    		<xsl:choose>
    			<xsl:when test="@kodowanie='URI'">
    				<xsl:text>Załącznik zewnętrzny w formacie </xsl:text>
    				<b>
    					<xsl:value-of select="@format"/>
    				</b>
    				<xsl:text> dostępny pod adresem URI: </xsl:text>
    				<b>
    					<xsl:value-of select="str:DaneZalacznika"/>
    				</b>
    			</xsl:when>
    			<xsl:when test="@kodowanie='base64'">
    				<xsl:text>Załącznik w formacie </xsl:text>
    				<b>
    					<xsl:value-of select="@format"/>
    				</b>
    				<xsl:text> zapisany wewnątrz treści dokumentu.</xsl:text>
    			</xsl:when>
    		</xsl:choose>
    		<xsl:if test="@nazwaPliku">
    			<br/>
    			Nazwa pliku:
    			<b>
    				<xsl:value-of select="@nazwaPliku"/>
    			</b>
    		</xsl:if>
    		<xsl:if test="str:OpisZalacznika">
    			<br/>
    			Opis załącznika:
    			<br/>
    			<xsl:value-of select="str:OpisZalacznika"/>
    		</xsl:if>
    	</xsl:template>
    	<xsl:template match="str:OpisZalacznika">
    		<tr>
    			<td class="label">Opis załącznika</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="str:NumerDokumentu">
    		<tr>
    			<td class="label">Numer dokumentu</td>
    			<td class="value">
    				<xsl:value-of select="text()"/>
    			</td>
    		</tr>
    	</xsl:template>
    
    	
    	<xsl:template name="xsd_boolean">
    		<xsl:choose>
    			<xsl:when test="text()='true'">
    				<xsl:text>TAK</xsl:text>
    			</xsl:when>
    			<xsl:when test="text()='1'">
    				<xsl:text>TAK</xsl:text>
    			</xsl:when>
    			<xsl:when test="text()='false'">
    				<xsl:text>NIE</xsl:text>
    			</xsl:when>
    			<xsl:when test="text()='0'">
    				<xsl:text>NIE</xsl:text>
    			</xsl:when>
    		</xsl:choose>
    	</xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Zrodlo">
    <tr>
                <td class="label">Źródło</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeOgolne">
    <tr>
                <td class="sublevel" colspan="2">Informacje ogólne<br/>
    <table>
    <xsl:apply-templates select="dok:PodstawaPrawna"/>
    <xsl:apply-templates select="dok:Skladajacy"/>
    <xsl:apply-templates select="dok:TerminSkladania"/>
    <xsl:apply-templates select="dok:MiejsceSkladania"/>
    <xsl:apply-templates select="dok:OrganSkladaniaDeklarcji"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeOgolne/dok:PodstawaPrawna">
    <tr>
                <td class="label">Podstawa prawna</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeOgolne/dok:Skladajacy">
    <tr>
                <td class="label">Składający</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeOgolne/dok:TerminSkladania">
    <tr>
                <td class="label">Termin składania</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeOgolne/dok:MiejsceSkladania">
    <tr>
                <td class="label">Miejsce składania</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeOgolne/dok:OrganSkladaniaDeklarcji">
    <tr>
                <td class="label">Organ do którego składana
    											jest deklaracja</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObowiazekZlozeniaDeklaracji">
    <tr>
                <td class="sublevel" colspan="2">A. OBOWIĄZEK ZŁOŻENIA DEKLARACJI<br/>
    <table>
    <xsl:apply-templates select="dok:PierwszaDeklaracja"/>
    <xsl:apply-templates select="dok:Korekta"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObowiazekZlozeniaDeklaracji/dok:PierwszaDeklaracja">
    <tr>
                <td class="label">pierwsza deklaracja</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObowiazekZlozeniaDeklaracji/dok:Korekta">
    <tr>
                <td class="sublevel" colspan="2">korekta<br/>
    <table>
    <xsl:apply-templates select="dok:KorektaBol"/>
    <xsl:apply-templates select="dok:DataZaistnialychZmian"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObowiazekZlozeniaDeklaracji/dok:Korekta/dok:KorektaBol">
    <tr>
                <td class="label">korekta</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObowiazekZlozeniaDeklaracji/dok:Korekta/dok:DataZaistnialychZmian">
    <tr>
                <td class="label">data
    														zaistniałych
    														zmian</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:SkladajacyDeklaracje">
    <tr>
                <td class="sublevel" colspan="2">B. SKŁADAJĄCY DEKLARACJĘ<br/>
    <table>
    <xsl:apply-templates select="dok:Wlasciciel"/>
    <xsl:apply-templates select="dok:WspolwlascicielWspolposiadacz"/>
    <xsl:apply-templates select="dok:UzytkownikWieczysty"/>
    <xsl:apply-templates select="dok:NajemcaDzierzawca"/>
    <xsl:apply-templates select="dok:ZarzadcaNieruchomoscia"/>
    <xsl:apply-templates select="dok:InnyPodmiotWladajacyNieruchomoscia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:SkladajacyDeklaracje/dok:Wlasciciel">
    <tr>
                <td class="label">właściciel</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:SkladajacyDeklaracje/dok:WspolwlascicielWspolposiadacz">
    <tr>
                <td class="label">współwłaściciel,
    											współposiadacz</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:SkladajacyDeklaracje/dok:UzytkownikWieczysty">
    <tr>
                <td class="label">użytkownik wieczysty</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:SkladajacyDeklaracje/dok:NajemcaDzierzawca">
    <tr>
                <td class="label">najemca, dzierżawca</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:SkladajacyDeklaracje/dok:ZarzadcaNieruchomoscia">
    <tr>
                <td class="label">zarządca nieruchomością</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:SkladajacyDeklaracje/dok:InnyPodmiotWladajacyNieruchomoscia">
    <tr>
                <td class="label">inny podmiot władający
    											nieruchomością</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:OsobaFizyczna">
    <tr>
                <td class="sublevel" colspan="2">C1. OSOBA FIZYCZNA<br/>
    <table>
    <xsl:apply-templates select="dok:Nazwisko"/>
    <xsl:apply-templates select="dok:Imie"/>
    <xsl:apply-templates select="dok:Pesel"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:OsobaFizyczna/dok:Nazwisko">
    <tr>
                <td class="label">Nazwisko</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:OsobaFizyczna/dok:Imie">
    <tr>
                <td class="label">Imię</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:OsobaFizyczna/dok:Pesel">
    <tr>
                <td class="label">PESEL</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:PozostalePodmioty">
    <tr>
                <td class="sublevel" colspan="2">C2. POZOSTAŁE PODMIOTY<br/>
    <table>
    <xsl:apply-templates select="dok:NazwaPodmiotu"/>
    <xsl:apply-templates select="dok:Krs"/>
    <xsl:apply-templates select="dok:Nip"/>
    <xsl:apply-templates select="dok:OsobaUpowaznionaDoReprezentowania"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:PozostalePodmioty/dok:NazwaPodmiotu">
    <tr>
                <td class="label">Nazwa podmiotu</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:PozostalePodmioty/dok:Krs">
    <tr>
                <td class="label">Nr KRS</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:PozostalePodmioty/dok:Nip">
    <tr>
                <td class="label">Nr NIP</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:PozostalePodmioty/dok:OsobaUpowaznionaDoReprezentowania">
    <tr>
                <td class="sublevel" colspan="2">Osoba upoważniona do
    												reprezentowania
    												składającego deklarację<br/>
    <table>
    <xsl:apply-templates select="dok:Imie"/>
    <xsl:apply-templates select="dok:Nazwisko"/>
    <xsl:apply-templates select="dok:PodstawaUmocowania"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:PozostalePodmioty/dok:OsobaUpowaznionaDoReprezentowania/dok:Imie">
    <tr>
                <td class="label">Imię</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:PozostalePodmioty/dok:OsobaUpowaznionaDoReprezentowania/dok:Nazwisko">
    <tr>
                <td class="label">Nazwisko</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:PozostalePodmioty/dok:OsobaUpowaznionaDoReprezentowania/dok:PodstawaUmocowania">
    <tr>
                <td class="label">Podstawa
    															umocowania</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:AdresKorespondencyjny">
    <tr>
                <td class="sublevel" colspan="2">Adres korespondencyjny<br/>
    <table>
    <xsl:apply-templates select="adr:KodPocztowy"/>
    <xsl:apply-templates select="adr:Poczta"/>
    <xsl:apply-templates select="adr:Miejscowosc"/>
    <xsl:apply-templates select="adr:Ulica"/>
    <xsl:apply-templates select="adr:Budynek"/>
    <xsl:apply-templates select="adr:Lokal"/>
    <xsl:apply-templates select="adr:SkrytkaPocztowa"/>
    <xsl:apply-templates select="adr:Kraj"/>
    <xsl:apply-templates select="adr:TERC"/>
    <xsl:apply-templates select="adr:SIMC"/>
    <xsl:apply-templates select="adr:ULIC"/>
    <xsl:apply-templates select="adr:Wojewodztwo"/>
    <xsl:apply-templates select="adr:Powiat"/>
    <xsl:apply-templates select="adr:Gmina"/>
    <xsl:apply-templates select="adr:Uwagi"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:NrTelefon">
    <tr>
                <td class="label">Nr telefonu</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:AdresEmail">
    <tr>
                <td class="label">Adres e-mail</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:AdresNieruchomosci">
    <tr>
                <td class="sublevel" colspan="2">D. ADRES NIERUCHOMOŚCI<br/>
    <table>
    <xsl:apply-templates select="adr:KodPocztowy"/>
    <xsl:apply-templates select="adr:Poczta"/>
    <xsl:apply-templates select="adr:Miejscowosc"/>
    <xsl:apply-templates select="adr:Ulica"/>
    <xsl:apply-templates select="adr:Budynek"/>
    <xsl:apply-templates select="adr:Lokal"/>
    <xsl:apply-templates select="adr:SkrytkaPocztowa"/>
    <xsl:apply-templates select="adr:Kraj"/>
    <xsl:apply-templates select="adr:TERC"/>
    <xsl:apply-templates select="adr:SIMC"/>
    <xsl:apply-templates select="adr:ULIC"/>
    <xsl:apply-templates select="adr:Wojewodztwo"/>
    <xsl:apply-templates select="adr:Powiat"/>
    <xsl:apply-templates select="adr:Gmina"/>
    <xsl:apply-templates select="adr:Uwagi"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:NieruchomoscZamieszkala">
    <tr>
                <td class="sublevel" colspan="2">Dotyczy właścicieli nieruchomości, na
    								której zamieszkują mieszkańcy<br/>
    <table>
    <xsl:apply-templates select="dok:LiczbaMieszkancow"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:NieruchomoscZamieszkala/dok:LiczbaMieszkancow">
    <tr>
                <td class="label">Oświadczam, że na terenie
    											nieruchomości wskazanej w
    											części D niniejszej
    											deklaracji zamieszkuje</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObliczenieMiesiecznejWysokosciOplaty">
    <tr>
                <td class="sublevel" colspan="2">E. OBLICZENIE MIESIĘCZNEJ WYSOKOŚCI
    								OPŁATY ZA GOSPODAROWANIE ODPADAMI
    								KOMUNALNYMI<br/>
    <table>
    <xsl:apply-templates select="dok:IloscMieszkancowZobowiazanych100"/>
    <xsl:apply-templates select="dok:StawkaOplaty100Procent"/>
    <xsl:apply-templates select="dok:KwotaOplaty100Procent"/>
    <xsl:apply-templates select="dok:IloscMieszkancowZobowiazanych8"/>
    <xsl:apply-templates select="dok:StawkaOplaty8Zl"/>
    <xsl:apply-templates select="dok:KwotaOplaty8Zl"/>
    <xsl:apply-templates select="dok:SumaOplatAB"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObliczenieMiesiecznejWysokosciOplaty/dok:IloscMieszkancowZobowiazanych100">
    <tr>
                <td class="label">Ilość
    														mieszkańców
    														zobowiązanych do
    														wnoszenia opłaty
    														w wysokości 100%
    														- 1 do 4 osób
    														zamieszkujących
    														daną
    														nieruchomość/lokal
    														mieszkalny</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObliczenieMiesiecznejWysokosciOplaty/dok:StawkaOplaty100Procent">
    <tr>
                <td class="label">Stawka opłaty</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObliczenieMiesiecznejWysokosciOplaty/dok:KwotaOplaty100Procent">
    <tr>
                <td class="label">a) Opłata
    														[zł/miesiąc]</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObliczenieMiesiecznejWysokosciOplaty/dok:IloscMieszkancowZobowiazanych8">
    <tr>
                <td class="label">Ilość
    														mieszkańców
    														zobowiązanych do
    														wnoszenia opłaty
    														obniżonej (piąty i
    														następny
    														mieszkaniec
    														danej
    														nieruchomości/lokalu
    														mieszkalnego)</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObliczenieMiesiecznejWysokosciOplaty/dok:StawkaOplaty8Zl">
    <tr>
                <td class="label">Stawka opłaty</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObliczenieMiesiecznejWysokosciOplaty/dok:KwotaOplaty8Zl">
    <tr>
                <td class="label">b) Opłata
    														[zł/miesiąc]</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObliczenieMiesiecznejWysokosciOplaty/dok:SumaOplatAB">
    <tr>
                <td class="label">c) SUMA (a+b) [zł/miesiąc]</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ListaZalacznikow">
    <tr>
                <td class="sublevel" colspan="2">F. LISTA ZAŁĄCZNIKÓW<br/>
    <table>
    <xsl:apply-templates select="dok:ZalacznikA"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ListaZalacznikow/dok:ZalacznikA">
    <tr>
                <td class="sublevel" colspan="2">Załącznik A<br/>
    <table>
    <xsl:apply-templates select="dok:WyszczegolnienieGospodarstw"/>
    <xsl:apply-templates select="dok:Razem"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ListaZalacznikow/dok:ZalacznikA/dok:WyszczegolnienieGospodarstw">
    <tr>
                <td class="sublevel" colspan="2">Wyszczególnienie gospodarstw<br/>
    <table>
    <xsl:apply-templates select="dok:LiczbaGospodarstw"/>
    <xsl:apply-templates select="dok:LicznoscGospodarstw"/>
    <xsl:apply-templates select="dok:LacznaIloscMieszkancow"/>
    <xsl:apply-templates select="dok:IloscMieszkancow"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ListaZalacznikow/dok:ZalacznikA/dok:WyszczegolnienieGospodarstw/dok:LiczbaGospodarstw">
    <tr>
                <td class="label">Ilość
    														gospodarstw</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ListaZalacznikow/dok:ZalacznikA/dok:WyszczegolnienieGospodarstw/dok:LicznoscGospodarstw">
    <tr>
                <td class="label">Liczba osób w
    														gospodarstwie</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ListaZalacznikow/dok:ZalacznikA/dok:WyszczegolnienieGospodarstw/dok:LacznaIloscMieszkancow">
    <tr>
                <td class="label">Łączna ilość
    														mieszkańców</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ListaZalacznikow/dok:ZalacznikA/dok:WyszczegolnienieGospodarstw/dok:IloscMieszkancow">
    <tr>
                <td class="sublevel" colspan="2">Ilość
    														mieszkańców<br/>
    <table>
    <xsl:apply-templates select="dok:Zobowiazanych100ProcentStawki"/>
    <xsl:apply-templates select="dok:Zobowiazanych8Zl"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ListaZalacznikow/dok:ZalacznikA/dok:WyszczegolnienieGospodarstw/dok:IloscMieszkancow/dok:Zobowiazanych100ProcentStawki">
    <tr>
                <td class="label">Zobowiązanych
    																	do
    																	zapłaty
    																	100%
    																	stawki</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ListaZalacznikow/dok:ZalacznikA/dok:WyszczegolnienieGospodarstw/dok:IloscMieszkancow/dok:Zobowiazanych8Zl">
    <tr>
                <td class="label">Zobowiązanych
    																	do
    																	wnoszenia
    																	opłaty
    																	w
    																	wysokości
    																	8 zł
    																	(piąty
    																	i
    																	następny
    																	mieszkaniec
    																	tworzący
    																	gospodarstwo
    																	domowe)</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ListaZalacznikow/dok:ZalacznikA/dok:Razem">
    <tr>
                <td class="sublevel" colspan="2">Razem:<br/>
    <table>
    <xsl:apply-templates select="dok:LacznaIloscMieszkancow"/>
    <xsl:apply-templates select="dok:LacznaIloscMieszkancowZobowiazanych100ProcentStawki"/>
    <xsl:apply-templates select="dok:LacznaIloscMieszkancowZobowiazanych8Zlotych"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ListaZalacznikow/dok:ZalacznikA/dok:Razem/dok:LacznaIloscMieszkancow">
    <tr>
                <td class="label">Łączna ilość mieszkańców</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ListaZalacznikow/dok:ZalacznikA/dok:Razem/dok:LacznaIloscMieszkancowZobowiazanych100ProcentStawki">
    <tr>
                <td class="label">Łączna ilość zobowiązanych
    											do zapłaty 100% stawki</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ListaZalacznikow/dok:ZalacznikA/dok:Razem/dok:LacznaIloscMieszkancowZobowiazanych8Zlotych">
    <tr>
                <td class="label">Łączna ilość zobowiązanych
    											do wnoszenia opłaty obniżonej (piąty i
    											następny mieszkaniec
    											tworzący gospodarstwo
    											domowe)</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:OswiadczenieSkladajacegoDeklaracje">
    <tr>
                <td class="sublevel" colspan="2">G. OŚWIADCZENIE SKŁADAJĄCEGO DEKLARACJĘ<br/>
    <table>
    <xsl:apply-templates select="dok:OswiadczenieKodeksKarnySkarbowy"/>
    <xsl:apply-templates select="dok:OswiadczenieDaneOsobowe"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:OswiadczenieSkladajacegoDeklaracje/dok:OswiadczenieKodeksKarnySkarbowy">
    <tr>
                <td class="label">Oświadczam, że znane mi są
    											przepisy kodeksu karnego
    											skarbowego o
    											odpowiedzialności za podanie
    											danych niezgodnych z
    											rzeczywistością.</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:OswiadczenieSkladajacegoDeklaracje/dok:OswiadczenieDaneOsobowe">
    <tr>
                <td class="label">Zgodnie z art. 23 ust. 1
    											Ustawy o ochronie danych
    											osobowych z dnia 29 sierpnia
    											1997r. (tekst jednolity -
    											Dz. U. z 2002r. Nr 101, poz.
    											926, z późn. zm.) wyrażam
    											zgodę na przetwarzanie przez
    											Urząd Miejski Orzesze, ul.
    											Św. Wawrzyńca 21 i podmiot
    											trzeci danych dotyczących
    											mojej osoby w celu
    											przeprowadzenia postępowania
    											administracyjnego /dotyczy
    											osób fizycznych/.</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:DataWszczeciaEgzekucji">
    <tr>
                <td class="label">Data wszczęcia egzekucji</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:Rok">
    <tr>
                <td class="label">Rok</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:NumerSystemowyOsoby">
    <tr>
                <td class="label">Numer systemowy osoby</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:RodzajDecyzji">
    <tr>
                <td class="label">Rodzaj decyzji</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:NumerDecyzji">
    <tr>
                <td class="label">Numer decyzji</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:OznaczenieWaluty">
    <tr>
                <td class="label">Waluta</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:NumerSystemowyWniosku">
    <tr>
                <td class="label">Numer systemowy wniosku</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:OdbiorDecyzji">
    <tr>
                <td class="sublevel" colspan="2">Osoba odbierająca decyzję<br/>
    <table>
    <xsl:apply-templates select="typy:Data"/>
    <xsl:apply-templates select="typy:Potwierdzajacy"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:OdbiorDecyzji/typy:Data">
    <tr>
                <td class="label">Data</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:OdbiorDecyzji/typy:Potwierdzajacy">
    <tr>
                <td class="sublevel" colspan="2">Podpisujący<br/>
    <table>
    <xsl:apply-templates select="oso:IdOsoby"/>
    <xsl:apply-templates select="oso:Imie"/>
    <xsl:apply-templates select="oso:Nazwisko"/>
    <xsl:apply-templates select="adr:Kontakt"/>
    <xsl:apply-templates select="inst:Funkcja"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:OkresZlozenia">
    <tr>
                <td class="label">Okres złożenia</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:DataWniosku">
    <tr>
                <td class="label">Data</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:Decyzja">
    <tr>
                <td class="sublevel" colspan="2">Decyzja<br/>
    <table>
    <xsl:apply-templates select="typy:RodzajDecyzji"/>
    <xsl:apply-templates select="typy:DataWydaniaDecyzji"/>
    <xsl:apply-templates select="typy:NumerDecyzji"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:NumerTytuluWykonawczego">
    <tr>
                <td class="label">Numer tytułu wykonawczego</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:SeriaNumerDokumentu">
    <tr>
                <td class="label">Seria i numer dokumentu</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:SygnaturaSprawy">
    <tr>
                <td class="label">Sygnatura sprawy</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:OsobyObjeteDecyzjaLiczba">
    <tr>
                <td class="label">Liczba osób objętych decyzją</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:DataWydaniaDecyzji">
    <tr>
                <td class="label">Data wydania decyzji</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:PodpisWnioskodawcy">
    <tr>
                <td class="sublevel" colspan="2">Podpis  wnioskodawcy<br/>
    <table>
    <xsl:apply-templates select="typy:Data"/>
    <xsl:apply-templates select="typy:Potwierdzajacy"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:PodpisWnioskodawcy/typy:Data">
    <tr>
                <td class="label">Data</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:PodpisWnioskodawcy/typy:Potwierdzajacy">
    <tr>
                <td class="sublevel" colspan="2">Podpisujący<br/>
    <table>
    <xsl:apply-templates select="oso:IdOsoby"/>
    <xsl:apply-templates select="oso:Imie"/>
    <xsl:apply-templates select="oso:Nazwisko"/>
    <xsl:apply-templates select="adr:Kontakt"/>
    <xsl:apply-templates select="inst:Funkcja"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    </xsl:stylesheet>