1826

ID1826
Data2014-10-21
Symbol2014/10/21/1826
InstytucjaUrząd Miejski w Bielsku-Białej
NazwaDEKLARACJA DGO-1 O WYSOKOŚCI OPŁATY ZA GOSPODAROWANIE ODPADAMI KOMUNALNYMI
Czy Aktualny0

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/10/21/1826/" 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 DGO-1 O WYSOKOŚCI OPŁATY ZA GOSPODAROWANIE ODPADAMI KOMUNALNYMI
    					<xsl:text> (</xsl:text>
    					F.PO.DEK.ODP.KOM.1.P003
    					<xsl:text>)</xsl:text>
    				</title>
    				<style type="text/css">
    					<xsl:text>.fform { font-family: sans-serif; font-size: 10pt; color: black; } </xsl:text>
    					<xsl:text>.fform * { font-family: inherit; font-size: inherit; color: inherit; } </xsl:text>
    					<xsl:text>.fform p { margin: 0 0 0.2em 0; } </xsl:text>
    					<xsl:text>.fform p.title { text-align: center; font-size: 1.2em; font-weight: bold; margin-top: 1em; margin-bottom: 1em; } </xsl:text>
    					<xsl:text>.fform p.title .symbol { color: Gray; } </xsl:text>
    					<xsl:text>.fform div.trescDok { margin-top: 1em; margin-bottom: 1em; border: solid 1px Gray; background-color: WhiteSmoke; } </xsl:text>
    					<xsl:text>.fform div.trescDok table td { padding: 3px 0px 4px 15px; } </xsl:text>
    					<xsl:text>.fform div.trescDok table table td.sublevel, .fform div.trescDok table table table { background-color: WhiteSmoke; } </xsl:text>
    					<xsl:text>.fform div.daneDok { margin-top: 1em; margin-bottom: 1em; border: solid 1px #7099c5; background-color: #f0f0ff; } </xsl:text>
    					<xsl:text>.fform div.daneDok table td { padding: 3px 0px 4px 15px; } </xsl:text>
    					<xsl:text>.fform div.daneDok table table td.sublevel, .fform div.daneDok table table table { background-color: #f0f0ff; } </xsl:text>
    					<xsl:text>.fform div.sigInfo { margin-top: 1em; margin-bottom: 1em; border: solid 1px #7099c5; background-color: #f0f0ff; } </xsl:text>
    					<xsl:text>.fform div.sigInfo table td { padding: 3px 0px 4px 15px; } </xsl:text>
    					<xsl:text>.fform td.label { width: 20%; color: Gray; } </xsl:text>
    					<xsl:text>.fform td.value { font-weight: bold; width: 80%; } </xsl:text>
    					<xsl:text>.fform td.value2 { width: 80%; } </xsl:text>
    					<xsl:text>.fform table { width: 100%; } </xsl:text>
    					<xsl:text>.fform table td.sublevel, .fform table table { background-color: White; } </xsl:text>
    					<xsl:text>.fform table table table td.sublevel, .fform table table table table { background-color: White; } </xsl:text>
    				</style>
    			</head>
    			<body class="fform">
    				<div class="trescDok">
    					<p class="title">
    						DEKLARACJA DGO-1 O WYSOKOŚCI OPŁATY ZA GOSPODAROWANIE ODPADAMI KOMUNALNYMI
    					</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:Dotyczy">
    <tr>
                <td class="label">DOTYCZY</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:SkladanaPrzez">
    <tr>
                <td class="label">SKŁADANA PRZEZ</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:MiejsceSkladania">
    <tr>
                <td class="label">MIEJSCE SKŁADANIA</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:NazwaOrganu">
    <tr>
                <td class="label">NAZWA ORGANU, KTÓREMU 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:ObowiazekZlozenia">
    <tr>
                <td class="sublevel" colspan="2">I. OBOWIĄZEK ZŁOŻENIA DEKLARACJI<br/>
    <table>
    <xsl:apply-templates select="dok:CelZlozeniaDeklaracji"/>
    <xsl:apply-templates select="dok:WykazZalaczonychDokumentow"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObowiazekZlozenia/dok:CelZlozeniaDeklaracji">
    <tr>
                <td class="sublevel" colspan="2">I.1. CEL ZŁOŻENIA DEKLARACJI<br/>
    <table>
    <xsl:apply-templates select="dok:ZlozeniePierwszejDeklaracji"/>
    <xsl:apply-templates select="dok:ZlozenieKolejnejDeklaracji"/>
    <xsl:apply-templates select="dok:KorektaDeklaracji"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObowiazekZlozenia/dok:CelZlozeniaDeklaracji/dok:ZlozeniePierwszejDeklaracji">
    <tr>
                <td class="sublevel" colspan="2">1. Złożenie
    														pierwszej
    														deklaracji<br/>
    <table>
    <xsl:apply-templates select="dok:ZlozeniePierwszejDeklaracji"/>
    <xsl:apply-templates select="dok:RokZlozeniaPierwszejDeklaracji"/>
    <xsl:apply-templates select="dok:MiesiacZdarzeniaPierwszejDeklaracji"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObowiazekZlozenia/dok:CelZlozeniaDeklaracji/dok:ZlozeniePierwszejDeklaracji/dok:ZlozeniePierwszejDeklaracji">
    <tr>
                <td class="label">1.
    																	Złożenie
    																	pierwszej
    																	deklaracji</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObowiazekZlozenia/dok:CelZlozeniaDeklaracji/dok:ZlozeniePierwszejDeklaracji/dok:RokZlozeniaPierwszejDeklaracji">
    <tr>
                <td class="label">ROK</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObowiazekZlozenia/dok:CelZlozeniaDeklaracji/dok:ZlozeniePierwszejDeklaracji/dok:MiesiacZdarzeniaPierwszejDeklaracji">
    <tr>
                <td class="label">miesiąc,
    																	w
    																	którym
    																	wystąpiło
    																	zdarzenie,
    																	w
    																	związku
    																	z
    																	którym
    																	powstał
    																	obowiązek
    																	poniesienia
    																	opłaty</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObowiazekZlozenia/dok:CelZlozeniaDeklaracji/dok:ZlozenieKolejnejDeklaracji">
    <tr>
                <td class="sublevel" colspan="2">2. Złożenie
    														kolejnej
    														deklaracji<br/>
    <table>
    <xsl:apply-templates select="dok:ZlozenieKolejnejDeklaracji"/>
    <xsl:apply-templates select="dok:RokZlozeniaKolejnejDeklaracji"/>
    <xsl:apply-templates select="dok:MiesiacZlozeniaKolejnejDeklaracji"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObowiazekZlozenia/dok:CelZlozeniaDeklaracji/dok:ZlozenieKolejnejDeklaracji/dok:ZlozenieKolejnejDeklaracji">
    <tr>
                <td class="label">2.
    																	Złożenie
    																	kolejnej
    																	deklaracji</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObowiazekZlozenia/dok:CelZlozeniaDeklaracji/dok:ZlozenieKolejnejDeklaracji/dok:RokZlozeniaKolejnejDeklaracji">
    <tr>
                <td class="label">ROK</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObowiazekZlozenia/dok:CelZlozeniaDeklaracji/dok:ZlozenieKolejnejDeklaracji/dok:MiesiacZlozeniaKolejnejDeklaracji">
    <tr>
                <td class="label">miesiąc,
    																	w
    																	którym
    																	zaistniała
    																	zmiana</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObowiazekZlozenia/dok:CelZlozeniaDeklaracji/dok:KorektaDeklaracji">
    <tr>
                <td class="sublevel" colspan="2">3. Korekta
    														deklaracji<br/>
    <table>
    <xsl:apply-templates select="dok:KorektaDeklaracji"/>
    <xsl:apply-templates select="dok:DataZlozeniaDeklaracjiKorygowanej"/>
    <xsl:apply-templates select="dok:PisemneUzasadnienieKorekty"/>
    <xsl:apply-templates select="dok:NumeryKorygowanychPozycjiDeklaracji"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObowiazekZlozenia/dok:CelZlozeniaDeklaracji/dok:KorektaDeklaracji/dok:KorektaDeklaracji">
    <tr>
                <td class="label">3.
    																	Korekta
    																	deklaracji</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObowiazekZlozenia/dok:CelZlozeniaDeklaracji/dok:KorektaDeklaracji/dok:DataZlozeniaDeklaracjiKorygowanej">
    <tr>
                <td class="label">data
    																	złożenia
    																	deklaracji,
    																	do
    																	której
    																	składana
    																	jest
    																	korekta</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObowiazekZlozenia/dok:CelZlozeniaDeklaracji/dok:KorektaDeklaracji/dok:PisemneUzasadnienieKorekty">
    <tr>
                <td class="label">Pisemne
    																	uzasadnienie
    																	przyczyn
    																	złożenia
    																	korekty</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObowiazekZlozenia/dok:CelZlozeniaDeklaracji/dok:KorektaDeklaracji/dok:NumeryKorygowanychPozycjiDeklaracji">
    <tr>
                <td class="label">proszę
    																	podać
    																	nr
    																	korygowanych
    																	pozycji
    																	deklaracji</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObowiazekZlozenia/dok:WykazZalaczonychDokumentow">
    <tr>
                <td class="sublevel" colspan="2">I.2. WYKAZ ZAŁĄCZONYCH
    											DOKUMENTÓW<br/>
    <table>
    <xsl:apply-templates select="dok:LiczbaSztukPelnomocnictwa"/>
    <xsl:apply-templates select="dok:LiczbaInnychZalacznikow"/>
    <xsl:apply-templates select="str:Zalacznik"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObowiazekZlozenia/dok:WykazZalaczonychDokumentow/dok:LiczbaSztukPelnomocnictwa">
    <tr>
                <td class="sublevel" colspan="2">4.
    														pełnomocnictwo<br/>
    <table>
    <xsl:apply-templates select="dok:LiczbaSztukPelnomocnictwa"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObowiazekZlozenia/dok:WykazZalaczonychDokumentow/dok:LiczbaSztukPelnomocnictwa/dok:LiczbaSztukPelnomocnictwa">
    <tr>
                <td class="label">sztuk</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObowiazekZlozenia/dok:WykazZalaczonychDokumentow/dok:LiczbaInnychZalacznikow">
    <tr>
                <td class="sublevel" colspan="2">5. inne<br/>
    <table>
    <xsl:apply-templates select="dok:LiczbaSztukInnychZalacznikow"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:ObowiazekZlozenia/dok:WykazZalaczonychDokumentow/dok:LiczbaInnychZalacznikow/dok:LiczbaSztukInnychZalacznikow">
    <tr>
                <td class="label">sztuk</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeOnieruchomosci">
    <tr>
                <td class="sublevel" colspan="2">II. INFORMACJE O NIERUCHOMOŚCI, KTÓREJ
    								DOTYCZY DEKLARACJA ORAZ POJEMNIKACH DO
    								GROMADZENIA ODPADÓW KOMUNALNYCH<br/>
    <table>
    <xsl:apply-templates select="dok:AdresNieruchomosci"/>
    <xsl:apply-templates select="dok:NrDzialki"/>
    <xsl:apply-templates select="dok:OpisLokalizacji"/>
    <xsl:apply-templates select="dok:OswiadczenieOSposobieZbieraniaOdpadowKomunalnych"/>
    <xsl:apply-templates select="dok:LokalizacjaPojemnikowWMomencieOdbioru"/>
    <xsl:apply-templates select="dok:RodzajNieruchomosci"/>
    <xsl:apply-templates select="dok:InformacjaInneLokale"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeOnieruchomosci/dok:AdresNieruchomosci">
    <tr>
                <td class="sublevel" colspan="2">II.1. ADRES NIERUCHOMOŚCI W
    											BIELSKU-BIAŁEJ, KTÓREJ
    											DOTYCZY DEKLARACJA<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:InformacjeOnieruchomosci/dok:NrDzialki">
    <tr>
                <td class="label">9. nr działki/działek; obręb</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeOnieruchomosci/dok:OpisLokalizacji">
    <tr>
                <td class="label">10. opis lokalizacji
    											nieruchomości</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeOnieruchomosci/dok:OswiadczenieOSposobieZbieraniaOdpadowKomunalnych">
    <tr>
                <td class="sublevel" colspan="2">II.2. OŚWIADCZENIE O
    											SPOSOBIE ZBIERANIA ODPADÓW
    											KOMUNALNYCH<br/>
    <table>
    <xsl:apply-templates select="dok:OdpadyZbieraneSelektywnie"/>
    <xsl:apply-templates select="dok:SelektywneZbieraniePopiolu"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeOnieruchomosci/dok:OswiadczenieOSposobieZbieraniaOdpadowKomunalnych/dok:OdpadyZbieraneSelektywnie">
    <tr>
                <td class="label">11. odpady
    														zbierane
    														selektywnie (z
    														podziałem na
    														„SUCHE”, „MOKRE”
    														+ dostarczanie
    														niektórych
    														odpadów do
    														punktu
    														selektywnej
    														zbiórki)</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeOnieruchomosci/dok:OswiadczenieOSposobieZbieraniaOdpadowKomunalnych/dok:SelektywneZbieraniePopiolu">
    <tr>
                <td class="label">12. selektywne
    														zbieranie
    														wytworzonego
    														popiołu</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeOnieruchomosci/dok:LokalizacjaPojemnikowWMomencieOdbioru">
    <tr>
                <td class="sublevel" colspan="2">II.3. LOKALIZACJA POJEMNIKÓW
    											W MOMENCIE ODBIORU PRZEZ
    											FIRMĘ WYWOZOWĄ<br/>
    <table>
    <xsl:apply-templates select="dok:PojemnikiPozaNieruchomoscia"/>
    <xsl:apply-templates select="dok:InnaLokalizacjaPojemnikow"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeOnieruchomosci/dok:LokalizacjaPojemnikowWMomencieOdbioru/dok:PojemnikiPozaNieruchomoscia">
    <tr>
                <td class="label">13. przed
    														nieruchomością</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeOnieruchomosci/dok:LokalizacjaPojemnikowWMomencieOdbioru/dok:InnaLokalizacjaPojemnikow">
    <tr>
                <td class="sublevel" colspan="2">14. inna<br/>
    <table>
    <xsl:apply-templates select="dok:LokalizacjaPojemnikow"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeOnieruchomosci/dok:LokalizacjaPojemnikowWMomencieOdbioru/dok:InnaLokalizacjaPojemnikow/dok:LokalizacjaPojemnikow">
    <tr>
                <td class="label">podać
    																	lokalizację
    																	pojemników</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeOnieruchomosci/dok:RodzajNieruchomosci">
    <tr>
                <td class="sublevel" colspan="2">II.4. RODZAJ NIERUCHOMOŚCI<br/>
    <table>
    <xsl:apply-templates select="dok:LokaleZamieszkale"/>
    <xsl:apply-templates select="dok:LokaleMieszane"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeOnieruchomosci/dok:RodzajNieruchomosci/dok:LokaleZamieszkale">
    <tr>
                <td class="label">15. LOKALE
    														ZAMIESZKAŁE</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeOnieruchomosci/dok:RodzajNieruchomosci/dok:LokaleMieszane">
    <tr>
                <td class="label">16. LOKALE
    														MIESZANE</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeOnieruchomosci/dok:InformacjaInneLokale">
    <tr>
                <td class="sublevel" colspan="2">II.5. INFORMACJA O INNYCH
    											LOKALACH WCHODZĄCYCH W SKŁAD
    											NIERUCHOMOŚCI, KTÓRE NIE
    											ZOSTAŁY UJĘTE W DEKLARACJI<br/>
    <table>
    <xsl:apply-templates select="dok:InneLokaleNaglowek"/>
    <xsl:apply-templates select="dok:TakInformacjaInneLokale"/>
    <xsl:apply-templates select="dok:NieInformacjaInneLokale"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeOnieruchomosci/dok:InformacjaInneLokale/dok:InneLokaleNaglowek">
    <tr>
                <td class="label"> </td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeOnieruchomosci/dok:InformacjaInneLokale/dok:TakInformacjaInneLokale">
    <tr>
                <td class="sublevel" colspan="2">TAK<br/>
    <table>
    <xsl:apply-templates select="dok:TakInformacjaInneLokaleLbl"/>
    <xsl:apply-templates select="dok:TakInformacjaInneLokaleBol"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeOnieruchomosci/dok:InformacjaInneLokale/dok:TakInformacjaInneLokale/dok:TakInformacjaInneLokaleLbl">
    <tr>
                <td class="label"> </td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeOnieruchomosci/dok:InformacjaInneLokale/dok:TakInformacjaInneLokale/dok:TakInformacjaInneLokaleBol">
    <tr>
                <td class="label">TAK</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeOnieruchomosci/dok:InformacjaInneLokale/dok:NieInformacjaInneLokale">
    <tr>
                <td class="label">NIE</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:SkladajacyDeklaracje">
    <tr>
                <td class="sublevel" colspan="2">III. SKŁADAJĄCY DEKLARACJĘ<br/>
    <table>
    <xsl:apply-templates select="dok:ImieNazwisko"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:SkladajacyDeklaracje/dok:ImieNazwisko">
    <tr>
                <td class="sublevel" colspan="2">III.1. IMIĘ I NAZWISKO
    											(dotyczy osób
    											fizycznych)/NAZWA (dotyczy
    											spółek oraz innych podmiotów
    											niebędących osobą fizyczną)<br/>
    <table>
    <xsl:apply-templates select="dok:ImieNazwisko"/>
    <xsl:apply-templates select="dok:NazwaPodmiotu"/>
    <xsl:apply-templates select="dok:StatusPodmiotu"/>
    <xsl:apply-templates select="dok:PeselNip"/>
    <xsl:apply-templates select="dok:FormaWladaniaNieruchomoscia"/>
    <xsl:apply-templates select="dok:AdresZamieszkania"/>
    <xsl:apply-templates select="dok:AdresKorespondencyjny"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:SkladajacyDeklaracje/dok:ImieNazwisko/dok:ImieNazwisko">
    <tr>
                <td class="sublevel" colspan="2">III.1. IMIĘ I
    														NAZWISKO
    														(dotyczy osób
    														fizycznych)<br/>
    <table>
    <xsl:apply-templates select="dok:Imie"/>
    <xsl:apply-templates select="dok:Nazwisko"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:SkladajacyDeklaracje/dok:ImieNazwisko/dok:ImieNazwisko/dok:Imie">
    <tr>
                <td class="label">18.
    																	Imię</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:SkladajacyDeklaracje/dok:ImieNazwisko/dok:ImieNazwisko/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:SkladajacyDeklaracje/dok:ImieNazwisko/dok:NazwaPodmiotu">
    <tr>
                <td class="sublevel" colspan="2">III.1. NAZWA
    														(dotyczy spółek
    														oraz innych
    														podmiotów
    														niebędących
    														osobą fizyczną)<br/>
    <table>
    <xsl:apply-templates select="dok:NazwaPodmiotuDane"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:SkladajacyDeklaracje/dok:ImieNazwisko/dok:NazwaPodmiotu/dok:NazwaPodmiotuDane">
    <tr>
                <td class="label">18.
    																	Nazwa</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:SkladajacyDeklaracje/dok:ImieNazwisko/dok:StatusPodmiotu">
    <tr>
                <td class="sublevel" colspan="2">III.2. STATUS
    														PODMIOTU
    														SKŁADAJĄCEGO
    														DEKLARACJĘ<br/>
    <table>
    <xsl:apply-templates select="dok:OsobaFizyczna"/>
    <xsl:apply-templates select="dok:OsobaPrawna"/>
    <xsl:apply-templates select="dok:JednostkaOrganizacyjna"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:SkladajacyDeklaracje/dok:ImieNazwisko/dok:StatusPodmiotu/dok:OsobaFizyczna">
    <tr>
                <td class="label">19.
    																	osoba
    																	fizyczna</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:SkladajacyDeklaracje/dok:ImieNazwisko/dok:StatusPodmiotu/dok:OsobaPrawna">
    <tr>
                <td class="label">20.
    																	osoba
    																	prawna</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:SkladajacyDeklaracje/dok:ImieNazwisko/dok:StatusPodmiotu/dok:JednostkaOrganizacyjna">
    <tr>
                <td class="label">21.
    																	jednostka
    																	organizacyjna
    																	nieposiadająca
    																	osobowości
    																	prawnej</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:SkladajacyDeklaracje/dok:ImieNazwisko/dok:PeselNip">
    <tr>
                <td class="sublevel" colspan="2">III.3. PESEL
    														(dotyczy osób
    														fizycznych) /
    														NIP (dotyczy
    														spółek oraz
    														innych podmiotów
    														niebędących
    														osobą fizyczną)<br/>
    <table>
    <xsl:apply-templates select="dok:Pesel"/>
    <xsl:apply-templates select="dok:Nip"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:SkladajacyDeklaracje/dok:ImieNazwisko/dok:PeselNip/dok:Pesel">
    <tr>
                <td class="label">22.
    																	PESEL</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:SkladajacyDeklaracje/dok:ImieNazwisko/dok:PeselNip/dok:Nip">
    <tr>
                <td class="label">23.
    																	NIP</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:SkladajacyDeklaracje/dok:ImieNazwisko/dok:FormaWladaniaNieruchomoscia">
    <tr>
                <td class="sublevel" colspan="2">III. 4. FORMA
    														WŁADANIA
    														NIERUCHOMOŚCIĄ<br/>
    <table>
    <xsl:apply-templates select="dok:Wlasciciel"/>
    <xsl:apply-templates select="dok:Wspolwlasciciel"/>
    <xsl:apply-templates select="dok:UzytkownikWieczysty"/>
    <xsl:apply-templates select="dok:Zarzadca"/>
    <xsl:apply-templates select="dok:Zarzad"/>
    <xsl:apply-templates select="dok:NajemcaDzierzawca"/>
    <xsl:apply-templates select="dok:InnaFormaWladaniaNieruchomoscia"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:SkladajacyDeklaracje/dok:ImieNazwisko/dok:FormaWladaniaNieruchomoscia/dok:Wlasciciel">
    <tr>
                <td class="label">24.
    																	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:ImieNazwisko/dok:FormaWladaniaNieruchomoscia/dok:Wspolwlasciciel">
    <tr>
                <td class="sublevel" colspan="2">25.
    																	współwłaściciel<br/>
    <table>
    <xsl:apply-templates select="dok:WspolwlascicielBol"/>
    <xsl:apply-templates select="dok:LiczbaWspolwlascicieli"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:SkladajacyDeklaracje/dok:ImieNazwisko/dok:FormaWladaniaNieruchomoscia/dok:Wspolwlasciciel/dok:WspolwlascicielBol">
    <tr>
                <td class="label">25.
    																				współ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:ImieNazwisko/dok:FormaWladaniaNieruchomoscia/dok:Wspolwlasciciel/dok:LiczbaWspolwlascicieli">
    <tr>
                <td class="label">liczba
    																				wszystkich
    																				współwłaścicieli</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:SkladajacyDeklaracje/dok:ImieNazwisko/dok:FormaWladaniaNieruchomoscia/dok:UzytkownikWieczysty">
    <tr>
                <td class="label">26.
    																	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:ImieNazwisko/dok:FormaWladaniaNieruchomoscia/dok:Zarzadca">
    <tr>
                <td class="label">27.
    																	zarządca</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:SkladajacyDeklaracje/dok:ImieNazwisko/dok:FormaWladaniaNieruchomoscia/dok:Zarzad">
    <tr>
                <td class="label">28.
    																	zarząd</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:SkladajacyDeklaracje/dok:ImieNazwisko/dok:FormaWladaniaNieruchomoscia/dok:NajemcaDzierzawca">
    <tr>
                <td class="label">29.
    																	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:ImieNazwisko/dok:FormaWladaniaNieruchomoscia/dok:InnaFormaWladaniaNieruchomoscia">
    <tr>
                <td class="sublevel" colspan="2">30.
    																	inna
    																	forma
    																	władania
    																	nieruchomością<br/>
    <table>
    <xsl:apply-templates select="dok:InnaFormaWladaniaNieruchomosciaBol"/>
    <xsl:apply-templates select="dok:InnaFormaWladaniaNieruchomosciaOpis"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:SkladajacyDeklaracje/dok:ImieNazwisko/dok:FormaWladaniaNieruchomoscia/dok:InnaFormaWladaniaNieruchomoscia/dok:InnaFormaWladaniaNieruchomosciaBol">
    <tr>
                <td class="label">30.
    																				inna
    																				forma
    																				władania
    																				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:ImieNazwisko/dok:FormaWladaniaNieruchomoscia/dok:InnaFormaWladaniaNieruchomoscia/dok:InnaFormaWladaniaNieruchomosciaOpis">
    <tr>
                <td class="label"> </td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:SkladajacyDeklaracje/dok:ImieNazwisko/dok:AdresZamieszkania">
    <tr>
                <td class="sublevel" colspan="2">III.5. ADRES
    														ZAMIESZKANIA
    														SKŁADAJĄCEGO
    														DEKLARACJĘ
    														(dotyczy osób
    														fizycznych) /
    														SIEDZIBA
    														(dotyczy spółek
    														oraz innych
    														podmiotów
    														niebędących
    														osobą fizyczną)<br/>
    <table>
    <xsl:apply-templates select="dok:DaneAdresuZamieszkania"/>
    <xsl:apply-templates select="dok:AdresEmail"/>
    <xsl:apply-templates select="dok:NrTelefonuKontaktowego"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:SkladajacyDeklaracje/dok:ImieNazwisko/dok:AdresZamieszkania/dok:DaneAdresuZamieszkania">
    <tr>
                <td class="sublevel" colspan="2"> <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:SkladajacyDeklaracje/dok:ImieNazwisko/dok:AdresZamieszkania/dok:AdresEmail">
    <tr>
                <td class="label">40.
    																	adres
    																	e-mail</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:SkladajacyDeklaracje/dok:ImieNazwisko/dok:AdresZamieszkania/dok:NrTelefonuKontaktowego">
    <tr>
                <td class="label">41.
    																	nr
    																	telefonu
    																	kontaktowego</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:SkladajacyDeklaracje/dok:ImieNazwisko/dok:AdresKorespondencyjny">
    <tr>
                <td class="sublevel" colspan="2">III.6. ADRES
    														KORESPONDENCYJNY
    														SKŁADAJĄCEGO
    														DEKLARACJĘ –
    														adres do
    														doręczeń<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:DanePodmiotuReprezentowanego">
    <tr>
                <td class="sublevel" colspan="2">IV. DANE PODMIOTU REPREZENTOWANEGO<br/>
    <table>
    <xsl:apply-templates select="dok:NazwaPodmiotuReprezentowanego"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodmiotuReprezentowanego/dok:NazwaPodmiotuReprezentowanego">
    <tr>
                <td class="sublevel" colspan="2">IV.1. NAZWA PODMIOTU
    											REPREZENTOWANEGO<br/>
    <table>
    <xsl:apply-templates select="dok:NazwaPodmiotuReprezentrowanego"/>
    <xsl:apply-templates select="dok:Pesel"/>
    <xsl:apply-templates select="dok:Nip"/>
    <xsl:apply-templates select="dok:StatusPodmiotuReprezentowanego"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodmiotuReprezentowanego/dok:NazwaPodmiotuReprezentowanego/dok:NazwaPodmiotuReprezentrowanego">
    <tr>
                <td class="label">51.</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodmiotuReprezentowanego/dok:NazwaPodmiotuReprezentowanego/dok:Pesel">
    <tr>
                <td class="label">52. PESEL</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodmiotuReprezentowanego/dok:NazwaPodmiotuReprezentowanego/dok:Nip">
    <tr>
                <td class="label">53. NIP</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodmiotuReprezentowanego/dok:NazwaPodmiotuReprezentowanego/dok:StatusPodmiotuReprezentowanego">
    <tr>
                <td class="sublevel" colspan="2">IV.2. STATUS
    														PODMIOTU
    														REPREZENTOWANEGO<br/>
    <table>
    <xsl:apply-templates select="dok:OsobaFizyczna"/>
    <xsl:apply-templates select="dok:OsobaPrawna"/>
    <xsl:apply-templates select="dok:JednostkaOrganizacyjna"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodmiotuReprezentowanego/dok:NazwaPodmiotuReprezentowanego/dok:StatusPodmiotuReprezentowanego/dok:OsobaFizyczna">
    <tr>
                <td class="label">54.
    																	osoba
    																	fizyczna</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodmiotuReprezentowanego/dok:NazwaPodmiotuReprezentowanego/dok:StatusPodmiotuReprezentowanego/dok:OsobaPrawna">
    <tr>
                <td class="label">55.
    																	osoba
    																	prawna</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:DanePodmiotuReprezentowanego/dok:NazwaPodmiotuReprezentowanego/dok:StatusPodmiotuReprezentowanego/dok:JednostkaOrganizacyjna">
    <tr>
                <td class="label">56.
    																	jednostka
    																	organizacyjna
    																	nieposiadająca
    																	osobowości
    																	prawnej</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeDotyczaceLokali">
    <tr>
                <td class="sublevel" colspan="2">V. INFORMACJE DOTYCZĄCE LOKALI WCHODZĄCYCH W SKŁAD BUDYNKU ORAZ OSÓB ZAMIESZKUJĄCYCH NIERUCHOMOŚĆ<br/>
    <table>
    <xsl:apply-templates select="dok:LacznaLiczbaOsobZameldowanychWBudynku"/>
    <xsl:apply-templates select="dok:LacznaLiczbaOsobZamieszkujacychBudynek"/>
    <xsl:apply-templates select="dok:LacznaLiczbaOsobWchodzacychWSklad7OsobowychGospodarstwDomowych"/>
    <xsl:apply-templates select="dok:LokaleZamieszkale"/>
    <xsl:apply-templates select="dok:LokaleMieszane"/>
    <xsl:apply-templates select="dok:LokaleUzytkowe"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeDotyczaceLokali/dok:LacznaLiczbaOsobZameldowanychWBudynku">
    <tr>
                <td class="label">57. ŁĄCZNA LICZBA OSÓB ZAMELDOWANYCH W
    								BUDYNKU</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeDotyczaceLokali/dok:LacznaLiczbaOsobZamieszkujacychBudynek">
    <tr>
                <td class="label">58. ŁĄCZNA LICZBA OSÓB ZAMIESZKUJĄCYCH
    								BUDYNEK</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeDotyczaceLokali/dok:LacznaLiczbaOsobWchodzacychWSklad7OsobowychGospodarstwDomowych">
    <tr>
                <td class="label">59. ŁĄCZNA LICZBA OSÓB WCHODZĄCYCH W
    								SKŁAD 7 I WIĘCEJ OSOBOWYCH GOSPODARSTW
    								DOMOWYCH</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeDotyczaceLokali/dok:LokaleZamieszkale">
    <tr>
                <td class="sublevel" colspan="2">V.1. LOKALE ZAMIESZKAŁE W BUDYNKU<br/>
    <table>
    <xsl:apply-templates select="dok:LacznaLiczbaLokaliZamieszkalychWBudynku"/>
    <xsl:apply-templates select="dok:LokaleZamieszkaleWTym"/>
    <xsl:apply-templates select="dok:LiczbaStronWzoruA"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeDotyczaceLokali/dok:LokaleZamieszkale/dok:LacznaLiczbaLokaliZamieszkalychWBudynku">
    <tr>
                <td class="label">60. ŁĄCZNA LICZBA LOKALI
    											ZAMIESZKAŁYCH W BUDYNKU</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeDotyczaceLokali/dok:LokaleZamieszkale/dok:LokaleZamieszkaleWTym">
    <tr>
                <td class="sublevel" colspan="2">W TYM:<br/>
    <table>
    <xsl:apply-templates select="dok:LacznaLiczbaGospodarstw7Osobowych"/>
    <xsl:apply-templates select="dok:LacznaLiczbaOsobWchodzacychWSkladGospodarstw7Osobowych"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeDotyczaceLokali/dok:LokaleZamieszkale/dok:LokaleZamieszkaleWTym/dok:LacznaLiczbaGospodarstw7Osobowych">
    <tr>
                <td class="label">61. ŁĄCZNA
    														LICZBA
    														GOSPODARSTW 7 I
    														WIĘCEJ OSOBOWYCH</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeDotyczaceLokali/dok:LokaleZamieszkale/dok:LokaleZamieszkaleWTym/dok:LacznaLiczbaOsobWchodzacychWSkladGospodarstw7Osobowych">
    <tr>
                <td class="label">62. ŁĄCZNA
    														LICZBA OSÓB
    														WCHODZĄCYCH W
    														SKŁAD
    														GOSPODARSTW 7 I
    														WIĘCEJ OSOBOWYCH</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeDotyczaceLokali/dok:LokaleZamieszkale/dok:LiczbaStronWzoruA">
    <tr>
                <td class="label">63. LICZBA STRON WZORU
    											A</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeDotyczaceLokali/dok:LokaleMieszane">
    <tr>
                <td class="sublevel" colspan="2">V.2. LOKALE MIESZANE W BUDYNKU<br/>
    <table>
    <xsl:apply-templates select="dok:LacznaLiczbaLokaliMieszanychWBudynku"/>
    <xsl:apply-templates select="dok:LokaleMieszaneWTym"/>
    <xsl:apply-templates select="dok:LiczbaStronWzoruB"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeDotyczaceLokali/dok:LokaleMieszane/dok:LacznaLiczbaLokaliMieszanychWBudynku">
    <tr>
                <td class="label">64. ŁĄCZNA LICZBA LOKALI
    											MIESZANYCH W BUDYNKU</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeDotyczaceLokali/dok:LokaleMieszane/dok:LokaleMieszaneWTym">
    <tr>
                <td class="sublevel" colspan="2">W TYM:<br/>
    <table>
    <xsl:apply-templates select="dok:LacznaLiczbaGospodarstw7Osobowych"/>
    <xsl:apply-templates select="dok:LacznaLiczbaOsobWchodzacychWSkladGospodarstw7WiecejOsobowych"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeDotyczaceLokali/dok:LokaleMieszane/dok:LokaleMieszaneWTym/dok:LacznaLiczbaGospodarstw7Osobowych">
    <tr>
                <td class="label">65. ŁĄCZNA
    														LICZBA
    														GOSPODARSTW 7 I
    														WIĘCEJ OSOBOWYCH</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeDotyczaceLokali/dok:LokaleMieszane/dok:LokaleMieszaneWTym/dok:LacznaLiczbaOsobWchodzacychWSkladGospodarstw7WiecejOsobowych">
    <tr>
                <td class="label">66. ŁĄCZNA
    														LICZBA OSÓB
    														WCHODZĄCYCH W
    														SKŁAD
    														GOSPODARSTW 7 I
    														WIĘCEJ OSOBOWYCH</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeDotyczaceLokali/dok:LokaleMieszane/dok:LiczbaStronWzoruB">
    <tr>
                <td class="label">67. LICZBA STRON WZORU
    											B</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeDotyczaceLokali/dok:LokaleUzytkowe">
    <tr>
                <td class="sublevel" colspan="2">V.3. LOKALE UŻYTKOWE W BUDYNKU NIE UJĘTE
    								W DEKLARACJI DGO-1<br/>
    <table>
    <xsl:apply-templates select="dok:LacznaLiczbaLokaliUzytkowychWBudynku"/>
    <xsl:apply-templates select="dok:LokaleUzytkoweWTym"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeDotyczaceLokali/dok:LokaleUzytkowe/dok:LacznaLiczbaLokaliUzytkowychWBudynku">
    <tr>
                <td class="label">68. ŁĄCZNA LICZBA LOKALI
    											UŻYTKOWYCH W BUDYNKU,
    											KTÓRYCH WŁAŚCICIELE
    											ZOBOWIĄZANI SĄ DO ZŁOŻENIA
    											DEKLARACJI DGO-2 ORAZ
    											ODRĘBNEGO GROMADZENIA
    											ODPADÓW KOMUNALNYCH OD
    											MIESZKAŃCÓW LOKALI
    											ZAMIESZKAŁYCH I MIESZANYCH</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeDotyczaceLokali/dok:LokaleUzytkowe/dok:LokaleUzytkoweWTym">
    <tr>
                <td class="sublevel" colspan="2"> <br/>
    <table>
    <xsl:apply-templates select="dok:LiczbaPorzadkowa"/>
    <xsl:apply-templates select="dok:NumerLokalu"/>
    <xsl:apply-templates select="dok:NazwaWytworcyOdpadow"/>
    <xsl:apply-templates select="dok:ImieNazwiskoWytworcyOdpadow"/>
    <xsl:apply-templates select="dok:PodmiotZobowiazanyDoZlozeniaDeklaracja"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeDotyczaceLokali/dok:LokaleUzytkowe/dok:LokaleUzytkoweWTym/dok:LiczbaPorzadkowa">
    <tr>
                <td class="label">LP.</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeDotyczaceLokali/dok:LokaleUzytkowe/dok:LokaleUzytkoweWTym/dok:NumerLokalu">
    <tr>
                <td class="label">NR LOKALU</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeDotyczaceLokali/dok:LokaleUzytkowe/dok:LokaleUzytkoweWTym/dok:NazwaWytworcyOdpadow">
    <tr>
                <td class="label">NAZWA
    															WYTWÓRCY
    															ODPADÓW
    															KOMUNALNYCH</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeDotyczaceLokali/dok:LokaleUzytkowe/dok:LokaleUzytkoweWTym/dok:ImieNazwiskoWytworcyOdpadow">
    <tr>
                <td class="sublevel" colspan="2">IMIĘ I
    															NAZWISKO
    															WYTWÓRCY
    															ODPADÓW
    															KOMUNALNYCH<br/>
    <table>
    <xsl:apply-templates select="dok:ImieWytworcy"/>
    <xsl:apply-templates select="dok:NazwiskoWytworcy"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeDotyczaceLokali/dok:LokaleUzytkowe/dok:LokaleUzytkoweWTym/dok:ImieNazwiskoWytworcyOdpadow/dok:ImieWytworcy">
    <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:InformacjeDotyczaceLokali/dok:LokaleUzytkowe/dok:LokaleUzytkoweWTym/dok:ImieNazwiskoWytworcyOdpadow/dok:NazwiskoWytworcy">
    <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:InformacjeDotyczaceLokali/dok:LokaleUzytkowe/dok:LokaleUzytkoweWTym/dok:PodmiotZobowiazanyDoZlozeniaDeklaracja">
    <tr>
                <td class="sublevel" colspan="2">PODMIOT
    														ZOBOWIĄZANY DO
    														ZŁOŻENIA
    														DEKLARACJI<br/>
    <table>
    <xsl:apply-templates select="dok:Zarzadca"/>
    <xsl:apply-templates select="dok:Zarzad"/>
    <xsl:apply-templates select="dok:InnyPodmiot"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeDotyczaceLokali/dok:LokaleUzytkowe/dok:LokaleUzytkoweWTym/dok:PodmiotZobowiazanyDoZlozeniaDeklaracja/dok:Zarzadca">
    <tr>
                <td class="label">zarządca</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeDotyczaceLokali/dok:LokaleUzytkowe/dok:LokaleUzytkoweWTym/dok:PodmiotZobowiazanyDoZlozeniaDeklaracja/dok:Zarzad">
    <tr>
                <td class="label">zarząd</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeDotyczaceLokali/dok:LokaleUzytkowe/dok:LokaleUzytkoweWTym/dok:PodmiotZobowiazanyDoZlozeniaDeklaracja/dok:InnyPodmiot">
    <tr>
                <td class="sublevel" colspan="2">inny<br/>
    <table>
    <xsl:apply-templates select="dok:InnyPodmiotBol"/>
    <xsl:apply-templates select="dok:InnyPodmiotNazwa"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeDotyczaceLokali/dok:LokaleUzytkowe/dok:LokaleUzytkoweWTym/dok:PodmiotZobowiazanyDoZlozeniaDeklaracja/dok:InnyPodmiot/dok:InnyPodmiotBol">
    <tr>
                <td class="label">inny</td>
                <td class="value">
                    <xsl:call-template name="xsd_boolean"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:InformacjeDotyczaceLokali/dok:LokaleUzytkowe/dok:LokaleUzytkoweWTym/dok:PodmiotZobowiazanyDoZlozeniaDeklaracja/dok:InnyPodmiot/dok:InnyPodmiotNazwa">
    <tr>
                <td class="label"> </td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:OplataZaGospodarowanieOdpadamiKomunalnymi">
    <tr>
                <td class="sublevel" colspan="2">VI. OPŁATA ZA GOSPODAROWANIE ODPADAMI KOMUNALNYMI<br/>
    <table>
    <xsl:apply-templates select="dok:WysokoscMiesiecznejOplaty"/>
    <xsl:apply-templates select="dok:LokaleZamieszkale"/>
    <xsl:apply-templates select="dok:LokaleMieszane"/>
    <xsl:apply-templates select="dok:WysokoscMiesiecznejOplatySuma"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:OplataZaGospodarowanieOdpadamiKomunalnymi/dok:WysokoscMiesiecznejOplaty">
    <tr>
                <td class="label">69. WYSOKOŚĆ MIESIĘCZNEJ
    											OPŁATY ZA GOSPODAROWANIE
    											ODPADAMI KOMUNALNYMI</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:OplataZaGospodarowanieOdpadamiKomunalnymi/dok:LokaleZamieszkale">
    <tr>
                <td class="sublevel" colspan="2">LOKALE ZAMIESZKAŁE<br/>
    <table>
    <xsl:apply-templates select="dok:RodzajGospodartwaDomowegoZamieszkale"/>
    <xsl:apply-templates select="dok:LiczbaGospodarstwWBudynkuZamieszkale"/>
    <xsl:apply-templates select="dok:StawkaOplatyZamieszkale"/>
    <xsl:apply-templates select="dok:RazemZamieszkale"/>
    <xsl:apply-templates select="dok:SumaZamieszkale"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:OplataZaGospodarowanieOdpadamiKomunalnymi/dok:LokaleZamieszkale/dok:RodzajGospodartwaDomowegoZamieszkale">
    <tr>
                <td class="label">GOSPODARSTWO
    																DOMOWE</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:OplataZaGospodarowanieOdpadamiKomunalnymi/dok:LokaleZamieszkale/dok:LiczbaGospodarstwWBudynkuZamieszkale">
    <tr>
                <td class="label">A.
    																LICZBA
    																GOSPODARSTW
    																W
    																BUDYNKU</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:OplataZaGospodarowanieOdpadamiKomunalnymi/dok:LokaleZamieszkale/dok:StawkaOplatyZamieszkale">
    <tr>
                <td class="label">B.
    																STAWKA
    																OPŁATY
    																[W ZŁ]</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:OplataZaGospodarowanieOdpadamiKomunalnymi/dok:LokaleZamieszkale/dok:RazemZamieszkale">
    <tr>
                <td class="label">C. RAZEM
    																(AxB)</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:OplataZaGospodarowanieOdpadamiKomunalnymi/dok:LokaleZamieszkale/dok:SumaZamieszkale">
    <tr>
                <td class="label">SUMA (C)</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:OplataZaGospodarowanieOdpadamiKomunalnymi/dok:LokaleMieszane">
    <tr>
                <td class="sublevel" colspan="2">LOKALE MIESZANE<br/>
    <table>
    <xsl:apply-templates select="dok:RodzajGospodartwaDomowegoMieszane"/>
    <xsl:apply-templates select="dok:LiczbaGospodarstwWBudynkuMieszane"/>
    <xsl:apply-templates select="dok:StawkaOplatyMieszane"/>
    <xsl:apply-templates select="dok:RazemMieszane"/>
    <xsl:apply-templates select="dok:SumaMieszane"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:OplataZaGospodarowanieOdpadamiKomunalnymi/dok:LokaleMieszane/dok:RodzajGospodartwaDomowegoMieszane">
    <tr>
                <td class="label">GOSPODARSTWO
    																DOMOWE</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:OplataZaGospodarowanieOdpadamiKomunalnymi/dok:LokaleMieszane/dok:LiczbaGospodarstwWBudynkuMieszane">
    <tr>
                <td class="label">D.
    																LICZBA
    																GOSPODARSTW
    																W
    																BUDYNKU</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:OplataZaGospodarowanieOdpadamiKomunalnymi/dok:LokaleMieszane/dok:StawkaOplatyMieszane">
    <tr>
                <td class="label">E.
    																STAWKA
    																OPŁATY
    																[W ZŁ]</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:OplataZaGospodarowanieOdpadamiKomunalnymi/dok:LokaleMieszane/dok:RazemMieszane">
    <tr>
                <td class="label">F. RAZEM
    																(DxE)</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:OplataZaGospodarowanieOdpadamiKomunalnymi/dok:LokaleMieszane/dok:SumaMieszane">
    <tr>
                <td class="label">SUMA (F)</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:OplataZaGospodarowanieOdpadamiKomunalnymi/dok:WysokoscMiesiecznejOplatySuma">
    <tr>
                <td class="label">WYSOKOŚĆ MIESIĘCZNEJ OPŁATY
    											ZA GOSPODAROWANIE ODPADAMI
    											KOMUNALNYMI SUMA (C + F)</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Oswiadczenie">
    <tr>
                <td class="sublevel" colspan="2">VII. OŚWIADCZENIE/A I PODPIS/Y SKŁADAJĄCEGO/YCH DEKLARACJĘ<br/>
    <table>
    <xsl:apply-templates select="dok:Oswiadczam"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Oswiadczenie/dok:Oswiadczam">
    <tr>
                <td class="sublevel" colspan="2">70. Oświadczam, że dane
    											zawarte w deklaracji są
    											zgodne z rzeczywistością<br/>
    <table>
    <xsl:apply-templates select="dok:OsobyPodpisujaceDeklaracje"/>
    <xsl:apply-templates select="dok:Miejscowosc"/>
    <xsl:apply-templates select="dok:DataPodpisania"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Oswiadczenie/dok:Oswiadczam/dok:OsobyPodpisujaceDeklaracje">
    <tr>
                <td class="sublevel" colspan="2">IMIĘ I NAZWISKO OSOBY
    											SKŁADAJĄCEJ I PODPISUJĄCEJ
    											DEKLARACJĘ<br/>
    <table>
    <xsl:apply-templates select="dok:ImieOsobyPodpisujacejDeklaracje"/>
    <xsl:apply-templates select="dok:NazwiskoOsobyPodpisujacejDeklaracje"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Oswiadczenie/dok:Oswiadczam/dok:OsobyPodpisujaceDeklaracje/dok:ImieOsobyPodpisujacejDeklaracje">
    <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:Oswiadczenie/dok:Oswiadczam/dok:OsobyPodpisujaceDeklaracje/dok:NazwiskoOsobyPodpisujacejDeklaracje">
    <tr>
                <td class="label">Nazwisko</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Oswiadczenie/dok:Oswiadczam/dok:Miejscowosc">
    <tr>
                <td class="label">miejscowość</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:Oswiadczenie/dok:Oswiadczam/dok:DataPodpisania">
    <tr>
                <td class="label">data</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:AdnotacjeUrzedowe">
    <tr>
                <td class="sublevel" colspan="2">VIII. ADNOTACJE URZĘDOWE<br/>
    <table>
    <xsl:apply-templates select="dok:Adnotacje"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="dok:Dokument/dok:TrescDokumentu/dok:AdnotacjeUrzedowe/dok:Adnotacje">
    <tr>
                <td class="label"> </td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:DataWszczeciaEgzekucji">
    <tr>
                <td class="label">Data wszczęcia egzekucji</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:Rok">
    <tr>
                <td class="label">Rok</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:NumerSystemowyOsoby">
    <tr>
                <td class="label">Numer systemowy osoby</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:RodzajDecyzji">
    <tr>
                <td class="label">Rodzaj decyzji</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:NumerDecyzji">
    <tr>
                <td class="label">Numer decyzji</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:OznaczenieWaluty">
    <tr>
                <td class="label">Waluta</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:NumerSystemowyWniosku">
    <tr>
                <td class="label">Numer systemowy wniosku</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:OdbiorDecyzji">
    <tr>
                <td class="sublevel" colspan="2">Osoba odbierająca decyzję<br/>
    <table>
    <xsl:apply-templates select="typy:Data"/>
    <xsl:apply-templates select="typy:Potwierdzajacy"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:OdbiorDecyzji/typy:Data">
    <tr>
                <td class="label">Data</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:OdbiorDecyzji/typy:Potwierdzajacy">
    <tr>
                <td class="sublevel" colspan="2">Podpisujący<br/>
    <table>
    <xsl:apply-templates select="oso:IdOsoby"/>
    <xsl:apply-templates select="oso:Imie"/>
    <xsl:apply-templates select="oso:Nazwisko"/>
    <xsl:apply-templates select="adr:Kontakt"/>
    <xsl:apply-templates select="inst:Funkcja"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:OkresZlozenia">
    <tr>
                <td class="label">Okres złożenia</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:DataWniosku">
    <tr>
                <td class="label">Data</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:Decyzja">
    <tr>
                <td class="sublevel" colspan="2">Decyzja<br/>
    <table>
    <xsl:apply-templates select="typy:RodzajDecyzji"/>
    <xsl:apply-templates select="typy:DataWydaniaDecyzji"/>
    <xsl:apply-templates select="typy:NumerDecyzji"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:NumerTytuluWykonawczego">
    <tr>
                <td class="label">Numer tytułu wykonawczego</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:SeriaNumerDokumentu">
    <tr>
                <td class="label">Seria i numer dokumentu</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:SygnaturaSprawy">
    <tr>
                <td class="label">Sygnatura sprawy</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:OsobyObjeteDecyzjaLiczba">
    <tr>
                <td class="label">Liczba osób objętych decyzją</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:DataWydaniaDecyzji">
    <tr>
                <td class="label">Data wydania decyzji</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:PodpisWnioskodawcy">
    <tr>
                <td class="sublevel" colspan="2">Podpis  wnioskodawcy<br/>
    <table>
    <xsl:apply-templates select="typy:Data"/>
    <xsl:apply-templates select="typy:Potwierdzajacy"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:PodpisWnioskodawcy/typy:Data">
    <tr>
                <td class="label">Data</td>
                <td class="value">
                    <xsl:value-of select="text()"/>
                </td>
            </tr>
    </xsl:template>
    <xsl:template match="typy:PodpisWnioskodawcy/typy:Potwierdzajacy">
    <tr>
                <td class="sublevel" colspan="2">Podpisujący<br/>
    <table>
    <xsl:apply-templates select="oso:IdOsoby"/>
    <xsl:apply-templates select="oso:Imie"/>
    <xsl:apply-templates select="oso:Nazwisko"/>
    <xsl:apply-templates select="adr:Kontakt"/>
    <xsl:apply-templates select="inst:Funkcja"/>
    </table>
                </td>
            </tr>
    </xsl:template>
    </xsl:stylesheet>