<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:adr="http://crd.gov.pl/xml/schematy/adres/2009/11/09/" xmlns: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:wnio="http://crd.gov.pl/wzor/2015/12/03/2909/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="1.0">
	<xsl:template match="/">
		<xsl:for-each select="wnio:Dokument">
			<html xmlns="http://www.w3.org/1999/xhtml">
				<head>
					<style type="text/css">
						.podpis
						{
							font-size:xx-small;
							padding-bottom: 5px;
						}
						td
						{
							font-family: Arial;
							font-size: small;
							word-wrap:break-word;
						}
					</style>
				</head>
				<body>
					<table style="width: 800px; height: 53px;">
						<tbody>
							<tr>
								<td colspan="2">
									<table>
										<tbody>
											<tr>
												<td style="width:350px;word-wrap:break-word;text-transform:uppercase;">
													<xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:PierwszeImie"/>
													 
													<xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:DrugieImie"/>
													 
													<xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Nazwisko"/>
												</td>
											</tr>
											<tr>
												<td class="podpis">
													Imię i nazwisko wnioskodawcy
												 </td>
											</tr>
											<tr>
												<td style="width:250px;word-wrap:break-word;text-transform:uppercase;">
													<xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:PESEL"/>
												</td>
											</tr>
											<tr>
												<td class="podpis">
													PESEL
												</td>
											</tr>
											<tr>
												<td style="width:250px;word-wrap:break-word;text-transform:uppercase;">
													<xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ImieMatki"/>, <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ImieOjca"/>
												</td>
											</tr>
											<tr>
												<td class="podpis">
													Imiona rodziców
												</td>
											</tr>
											<tr>
												<td style="width:250px;word-wrap:break-word;text-transform:uppercase;">
													<xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:KodKontrahenta"/>
												</td>
											</tr>
											<tr>
												<td class="podpis">
													Kod kontrahenta
												</td>
											</tr>
											<xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:Telefon != ''">
												<tr>
													<td style="width:250px;word-wrap:break-word;text-transform:uppercase;">
														<xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Telefon"/>
													</td>
												</tr>
												<tr>
													<td class="podpis">
														Telefon kontaktowy
													</td>
												</tr>
											</xsl:if>
										</tbody>
									</table>
								</td>
								<td align="right" valign="top">
									<p style="text-align: right;">
										Wrocław, dnia <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:DataZlozeniaWniosku"/>
										<br/>
									</p>
								</td>
							</tr>
							<tr>
								<td colspan="2" style="width: 100%"> </td>
								<td>
									<div style="padding: 0px; white-space:nowrap;">
										<strong>URZĄD MIEJSKI WROCŁAWIA</strong>
									</div>
									<div style="text-align: right;padding: 0px; white-space:nowrap;">
											<strong>WYDZIAŁ PODATKÓW I OPŁAT</strong>
									</div>
									<div style="padding: 0px;white-space:nowrap;">
											<strong>ul. Kotlarska 41</strong>
									</div>
									<div style="padding: 0px;white-space:nowrap;">
											<strong>50-151 Wrocław</strong>
											<br/><br/><br/><br/>
									</div>
								</td>
							</tr>
							<tr>
								<td colspan="3">
									<p style="text-align: center; font-size: 21px;padding-bottom:25px;">
										<b>Zawiadomienie o zmianie adresu</b>
									</p>
									<p style="text-align: left;">
										dotyczy nieruchomości położonej we Wrocławiu przy <span style="text-transform:uppercase;"><xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:RUN"/> <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:UlicaNieruchomosci"/></span>
									</p>
								</td>
							</tr>
							<tr>
								<td colspan="3">
									<table>
										<tbody>
											<tr>
												<td style="width:250px;word-wrap:break-word;text-transform:uppercase;">
													<xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:NieruchomoscBudynek"/>
												</td>
											</tr>
											<tr>
												<td class="podpis">
													Nr budynku
												</td>
											</tr>
											<tr>
												<td style="width:250px;word-wrap:break-word;text-transform:uppercase;">
													<xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:NieruchomoscLokal"/>
												</td>
											</tr>
											<tr>
												<td class="podpis">
													Nr lokalu
												</td>
											</tr>
											<xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:NieruchomoscKodPocztowy != ''">
												<tr>
													<td style="width:250px;word-wrap:break-word;text-transform:uppercase;">
														<xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:NieruchomoscKodPocztowy"/>
													</td>
												</tr>
												<tr>
													<td class="podpis">
														Kod pocztowy
													</td>
												</tr>
											</xsl:if>
										</tbody>
									</table>
								</td>
							</tr>
							<tr>
								<td colspan="3">
									<b>Aktualny adres zamieszkania:</b>
								</td>
							</tr>
							<tr>
							
								<td colspan="3">
									<table>
										<tbody>
											<tr>
												<td style="width:250px;word-wrap:break-word;text-transform:uppercase;">
													<xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ZamMiejscowosc"/>
												</td>
											</tr>
											<tr>
												<td class="podpis">
													Miejscowość
												</td>
											</tr>
											<tr>
												<td style="width:250px;word-wrap:break-word;text-transform:uppercase;">
													<xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:RUZ"/> <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ZamUlica"/>
												</td>
											</tr>
											<tr>
												<td class="podpis">
													Ulica
												</td>
											</tr>
											<tr>
												<td style="width:250px;word-wrap:break-word;text-transform:uppercase;">
													<xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ZamBudynek"/>
												</td>
											</tr>
											<tr>
												<td class="podpis">
													Nr budynku
												</td>
											</tr>
											<tr>
												<td style="width:250px;word-wrap:break-word;text-transform:uppercase;">
													<xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ZamLokal"/>
												</td>
											</tr>
											<tr>
												<td class="podpis">
													Nr lokalu
												</td>
											</tr>
											<xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:ZamKodPocztowy =''">
												<tr>
													<td style="width:250px;word-wrap:break-word;text-transform:uppercase;">
														<xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ZamKodPocztowy"/>
													</td>
												</tr>
												<tr>
													<td class="podpis">
														Kod pocztowy
													</td>
												</tr>
											</xsl:if>
										</tbody>
									</table>
								</td>
							</tr>
							<xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:TakieSameAdresy = 1">
								<tr>
									<td colspan="3">
										<b>Aktualny adres do korespondencji:</b>
									</td>
								</tr>
								<tr>
									<td colspan="3">
										<table>
										<tbody>
											<tr>
												<td style="width:250px;word-wrap:break-word;text-transform:uppercase;">
													<xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ZamMiejscowosc"/>
												</td>
											</tr>
											<tr>
												<td class="podpis">
													Miejscowość
												</td>
											</tr>
											<tr>
												<td style="width:250px;word-wrap:break-word;text-transform:uppercase;">
													<xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:RUZ"/> <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ZamUlica"/>
												</td>
											</tr>
											<tr>
												<td class="podpis">
													Ulica
												</td>
											</tr>
											<tr>
												<td style="width:250px;word-wrap:break-word;text-transform:uppercase;">
													<xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ZamBudynek"/>
												</td>
											</tr>
											<tr>
												<td class="podpis">
													Nr budynku
												</td>
											</tr>
											<tr>
												<td style="width:250px;word-wrap:break-word;text-transform:uppercase;">
													<xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ZamLokal"/>
												</td>
											</tr>
											<tr>
												<td class="podpis">
													Nr lokalu
												</td>
											</tr>
											<xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:ZamKodPocztowy =''">
												<tr>
													<td style="width:250px;word-wrap:break-word;text-transform:uppercase;">
														<xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ZamKodPocztowy"/>
													</td>
												</tr>
												<tr>
													<td class="podpis">
														Kod pocztowy
													</td>
												</tr>
											</xsl:if>
										</tbody>
									</table>
									</td>
								</tr>
							</xsl:if>
							<xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:TakieSameAdresy != 1">
								<tr>
									<td colspan="3">
										<b>Aktualny adres do korespondencji:</b><br/>
										<xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID6/wnio:TrescDokumentu/wnio:Wartosc/wnio:SkrytkaCzyAdres = 1">
										<table>
												<tbody>
													<tr>
														<td style="width:250px;word-wrap:break-word;text-transform:uppercase;">
															<xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID6/wnio:TrescDokumentu/wnio:Wartosc/wnio:ID7/wnio:TrescDokumentu/wnio:Wartosc/wnio:KorMiejscowosc"/>
														</td>
													</tr>
													<tr>
														<td class="podpis">
															Miejscowość
														</td>
													</tr>
													<tr>
														<td style="width:250px;word-wrap:break-word;text-transform:uppercase;">
															<xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID6/wnio:TrescDokumentu/wnio:Wartosc/wnio:ID7/wnio:TrescDokumentu/wnio:Wartosc/wnio:RUK"/> <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID6/wnio:TrescDokumentu/wnio:Wartosc/wnio:ID7/wnio:TrescDokumentu/wnio:Wartosc/wnio:KorUlica"/>
														</td>
													</tr>
													<tr>
														<td class="podpis">
															Ulica
														</td>
													</tr>
													<tr>
														<td style="width:250px;word-wrap:break-word;text-transform:uppercase;">
															<xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID6/wnio:TrescDokumentu/wnio:Wartosc/wnio:ID7/wnio:TrescDokumentu/wnio:Wartosc/wnio:KorBudynek"/>
														</td>
													</tr>
													<tr>
														<td class="podpis">
															Nr budynku
														</td>
													</tr>
													<tr>
														<td style="width:250px;word-wrap:break-word;text-transform:uppercase;">
															<xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID6/wnio:TrescDokumentu/wnio:Wartosc/wnio:ID7/wnio:TrescDokumentu/wnio:Wartosc/wnio:KorLokal"/>
														</td>
													</tr>
													<tr>
														<td class="podpis">
															Nr lokalu
														</td>
													</tr>
													<xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID6/wnio:TrescDokumentu/wnio:Wartosc/wnio:ID7/wnio:TrescDokumentu/wnio:Wartosc/wnio:KorKodPocztowy =''">
														<tr>
															<td style="width:250px;word-wrap:break-word;text-transform:uppercase;">
																<xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID6/wnio:TrescDokumentu/wnio:Wartosc/wnio:ID7/wnio:TrescDokumentu/wnio:Wartosc/wnio:KorKodPocztowy"/>
															</td>
														</tr>
														<tr>
															<td class="podpis">
																Kod pocztowy
															</td>
														</tr>
													</xsl:if>
												</tbody>
											</table>
										</xsl:if>
										<xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID6/wnio:TrescDokumentu/wnio:Wartosc/wnio:SkrytkaCzyAdres = 2">
											<span>Skrytka pocztowa:</span>
											<div style="width:300px;word-wrap:break-word;text-transform:uppercase;">
											<xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID6/wnio:TrescDokumentu/wnio:Wartosc/wnio:ID8/wnio:TrescDokumentu/wnio:Wartosc/wnio:SkrytkaPocztowa"/>
											</div>
										</xsl:if>
									</td>
								</tr>
							</xsl:if>
							<tr>
								<td colspan="3">
									<br/><br/>
									<div align="right" style="text-align: right;font-size: 10px;font-family: Verdana;line-height: 20px;">
										<table style="float: right;">
											<tr>
												<td style="width: 340px;">
													<p align="center" style="text-align: center;font-size: 10px;font-family: Verdana;line-height: 20px;">
												<xsl:choose>
													<xsl:when test="string-length(//wnio:Dokument/ds:Signature/ds:SignatureValue) &gt; 0">
														<xsl:text>Dokument został podpisany, aby go zweryfikować należy użyć oprogramowania do weryfikacji podpisu
														</xsl:text>
														<xsl:choose>
															<xsl:when test="count(//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']) &gt; 1">
																<br/>
																<xsl:text>Daty złożenia podpisu: </xsl:text>
																<xsl:for-each select="//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']">
																	<xsl:value-of select="."/>
																</xsl:for-each>
															</xsl:when>
															<xsl:when test="count(//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']) = 1">
																<br/>
																<xsl:text>Data złożenia podpisu: </xsl:text>
																<xsl:for-each select="//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']">
																	<xsl:value-of select="."/>
																</xsl:for-each>
															</xsl:when>
															<xsl:when test="0 &gt;= count(//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime'])">
															</xsl:when>
														</xsl:choose>
													</xsl:when>
													<xsl:otherwise>
														<xsl:text>Dokument nie zawiera podpisu</xsl:text>
													</xsl:otherwise>
												</xsl:choose>
											  <br/>
											  <span style="font-size: 7pt;font-weight: bold;">
												Podpis elektroniczny
											  </span>
											</p>
										  </td>
										</tr>
									  </table>
									</div>
									<div style="clear: both;"/>
								</td>
							</tr>
						</tbody>
					</table>
				</body>
			</html>
		</xsl:for-each>
	</xsl:template>
</xsl:stylesheet>