10461
ID | 10461 |
Data | 2021-03-02 |
Symbol | 2021/03/02/10461 |
Instytucja | Urząd Miasta Oleśnicy |
Nazwa | Wniosek o wydanie zaświadczenia z rejestru mieszkańców o zameldowaniu/wymeldowaniu |
Czy Aktualny | 1 |
---|
Ustawy (1)
Pliki
Styl
<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wnio="http://crd.gov.pl/wzor/2021/03/02/10461/" xmlns:meta="http://crd.gov.pl/xml/schematy/meta/2009/11/16/" xmlns:str="http://crd.gov.pl/xml/schematy/struktura/2009/11/16/" xmlns:oso="http://crd.gov.pl/xml/schematy/osoba/2009/11/16/" xmlns:inst="http://crd.gov.pl/xml/schematy/instytucja/2009/11/16/" xmlns:adr="http://crd.gov.pl/xml/schematy/adres/2009/11/09/" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0">
<xsl:template match="/">
<xsl:for-each select="wnio:Dokument">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Wniosek o wydanie zaświadczenia meldunkowego</title>
</head>
<body>
<div align="center">
<table style="width: 800px; font-family: Arial; font-size: 12px;">
<tbody>
<tr>
<td>
<div style="margin: 0 0 15px 0;">
<table border="0" cellpadding="0" cellspacing="0" style="margin: 0px 0px 3px; padding: 0px; width: 100%; border-collapse: collapse;">
<tbody>
<tr>
<td style="border-right: none; font-weight: normal; text-align: left;" width="55%">
<table border="0" cellpadding="0" cellspacing="0" style="margin: 20px 0px 3px; padding: 0px; width: 100%; border-collapse: collapse; font-size: 12px;">
<tbody>
<tr>
<td colspan="4" style="font-weight: normal; padding: 5px; text-align: left;">Imię i nazwisko wnioskodawcy: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:Imie"/>
</span>
</xsl:if>
</span>
<span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:Nazwisko"/>
</span>
</xsl:if>
</span>
</td>
</tr>
<tr>
<td colspan="4" style="font-weight: normal; padding: 5px; text-align: left;">PESEL: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:Pesel"/>
</span>
</xsl:if>
</span>
</td>
</tr>
<tr>
<td colspan="2" style="font-weight: normal; padding: 5px; text-align: left;">Ulica: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:Ulica"/>
</span>
</xsl:if>
</span>
</td>
<td style="font-weight: normal; padding: 5px; text-align: justify;">Nr domu: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:NumerDomu"/>
</span>
</xsl:if>
</span>
</td>
<td style="font-weight: normal; padding: 5px; text-align: justify;">Nr lokalu: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:NumerLokalu"/>
</span>
</xsl:if>
</span>
</td>
</tr>
<tr>
<td colspan="2" style="font-weight: normal; padding: 5px; text-align: left;" width="50%">Miejscowość: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:Miejscowosc"/>
</span>
</xsl:if>
</span>
</td>
<td colspan="2" style="font-weight: normal; padding: 5px; text-align: justify;">Kod pocztowy: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:KodPocztowy"/>
</span>
</xsl:if>
</span>
</td>
</tr>
</tbody>
</table>
<div style="padding-top: 20px; font-size:12px;">
<span>
<xsl:if test="true()">
<span>
<xsl:choose>
<xsl:when test="contains(concat(concat(' ', normalize-space(wnio:TrescDokumentu/wnio:AdresKorespondencyjny/wnio:CzyJest)),' '), ' 1 ' )">
<span>[<b>X</b>]</span>
</xsl:when>
<xsl:otherwise>
<span>[ ]</span>
</xsl:otherwise>
</xsl:choose>
<label>
<span> adres korespondencyjny (jeśli jest inny niż adres zamieszkania) </span>
</label>
</span>
</xsl:if>
</span>
</div>
<xsl:for-each select="wnio:TrescDokumentu/wnio:AdresKorespondencyjny/wnio:Sekcja">
<xsl:if test="(../wnio:CzyJest="1")">
<table border="0" cellpadding="0" cellspacing="0" style="padding: 0px; width: 100%; border-collapse: collapse; background-color: #ffffff; font-size: 12px;">
<tbody>
<tr>
<td colspan="2" style="font-weight: normal; padding: 5px; text-align: left;">Ulica: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:DanePelnomocnika/wnio:ulica"/>
</span>
</xsl:if>
</span>
</td>
<td style="font-weight: normal; padding: 5px; text-align: justify;">Nr domu: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:DanePelnomocnika/wnio:NumerDomu"/>
</span>
</xsl:if>
</span>
</td>
<td style="font-weight: normal; padding: 5px; text-align: justify;">Nr lokalu: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:DanePelnomocnika/wnio:NumerLokalu"/>
</span>
</xsl:if>
</span>
</td>
</tr>
<tr>
<td colspan="2" style="ont-weight: normal; padding: 5px; text-align: left;" width="50%">Miejscowość: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:Miejscowosc"/>
</span>
</xsl:if>
</span>
</td>
<td colspan="2" style="font-weight: normal; padding: 5px; text-align: justify;">Kod pocztowy: <span>
<label>
<span/>
</label>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:DanePelnomocnika/wnio:KodPocztowy"/>
</span>
</xsl:if>
</span>
</td>
</tr>
</tbody>
</table>
</xsl:if>
</xsl:for-each>
</td>
<td style="font-weight: normal; padding: 10px; text-align: left; font-size: 12px;">
<p align="right">Oleśnica, dnia <xsl:if test="true()">
<xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wniosek/wnio:deklaracjaZDnia"/>
</xsl:if>
</p>
<br/>
<br/>
<br/>
<br/>
<br/>
<div align="right" style="font-weight: normal; font-size: 20px;">
<strong>
<span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:DaneDokumentu/str:Adresaci/meta:Podmiot/inst:Instytucja/inst:NazwaInstytucji"/>
</span>
</xsl:if>
</span>
</strong>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div style="font-size: 18px; font-weight: bold; text-align: center; margin: 30px 0px 30px 0px;">WNIOSEK O WYDANIE ZAŚWIADCZENIA</div>
<table cellpadding="0" cellspacing="0" style="margin: 0px 0px 3px; padding: 0; width: 100%; border-collapse: collapse; margin-top: 30px;">
<tbody>
<tr>
<td colspan="2" style="text-align: justify; background-color: #ffffff; font-size: 12px;">
<div style="font-weight: normal;">Proszę o wydanie zaświadczenia o:</div>
<div>
<span>
<xsl:if test="true()">
<span>
<xsl:choose>
<xsl:when test="normalize-space(wnio:TrescDokumentu/wnio:Wniosek/wnio:RodzajZaswiadczenia) = normalize-space(' 1 ')">
<span>[<b>X</b>]</span>
</xsl:when>
<xsl:otherwise>
<span>[ ]</span>
</xsl:otherwise>
</xsl:choose>
<label>
<span> zameldowaniu </span>
</label>
</span>
<br/>
<span>
<xsl:choose>
<xsl:when test="normalize-space(wnio:TrescDokumentu/wnio:Wniosek/wnio:RodzajZaswiadczenia) = normalize-space(' 2 ')">
<span>[<b>X</b>]</span>
</xsl:when>
<xsl:otherwise>
<span>[ ]</span>
</xsl:otherwise>
</xsl:choose>
<label>
<span> wymeldowaniu </span>
</label>
</span>
<br/>
<span>
<xsl:choose>
<xsl:when test="normalize-space(wnio:TrescDokumentu/wnio:Wniosek/wnio:RodzajZaswiadczenia) = normalize-space(' 3 ')">
<span>[<b>X</b>]</span>
</xsl:when>
<xsl:otherwise>
<span>[ ]</span>
</xsl:otherwise>
</xsl:choose>
<label>
<span> braku osób zameldowanych* </span>
</label>
</span>
<br/>
<span>
<xsl:choose>
<xsl:when test="normalize-space(wnio:TrescDokumentu/wnio:Wniosek/wnio:RodzajZaswiadczenia) = normalize-space(' 4 ')">
<span>[<b>X</b>]</span>
</xsl:when>
<xsl:otherwise>
<span>[ ]</span>
</xsl:otherwise>
</xsl:choose>
<label>
<span> ilości osób zameldowanych* </span>
</label>
</span>
</xsl:if>
</span>
<br/>
<br/>
</div>
<div>pod adresem:</div>
<div style="font-weight:bold;">
<table style="width: 80%;">
<tbody>
<tr>
<td class="editorInputCell">
<table border="0" cellpadding="0" cellspacing="0" style="padding: 0px; width: 100%; border-collapse: collapse; background-color: #ffffff; font-size: 12px;">
<tbody>
<tr>
<td colspan="2" style="font-weight: normal; padding: 3px; text-align: left;">Ulica: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:Wniosek/wnio:PodAdresem/wnio:Ulica"/>
</span>
</xsl:if>
</span>
</td>
<td style="font-weight: normal; padding: 3px; text-align: justify;">Nr domu: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:Wniosek/wnio:PodAdresem/wnio:NumerDomu"/>
</span>
</xsl:if>
</span>
</td>
<td style="font-weight: normal; padding: 3px; text-align: justify;">Nr lokalu: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:Wniosek/wnio:PodAdresem/wnio:NumerLokalu"/>
</span>
</xsl:if>
</span>
</td>
</tr>
<tr>
<td colspan="2" style="ont-weight: normal; padding: 3px; text-align: left;" width="50%">Miejscowość: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:Wniosek/wnio:PodAdresem/wnio:Miejscowosc"/>
</span>
</xsl:if>
</span>
</td>
<td colspan="2" style="font-weight: normal; padding: 3px; text-align: justify;">Kod pocztowy: <span>
<label>
<span/>
</label>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:TrescDokumentu/wnio:Wniosek/wnio:PodAdresem/wnio:KodPocztowy"/>
</span>
</xsl:if>
</span>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<br/>
<div>niżej wymienionych osób:<br/>
<xsl:for-each select="wnio:TrescDokumentu/wnio:Wniosek/wnio:DotyczyOsob">
<xsl:if test="true()">
<div style="padding: 3px;">Imię: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:Imie"/>
</span>
</xsl:if>
</span>, nazwisko: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:Nazwisko"/>
</span>
</xsl:if>
</span>, stopień pokrewieństwa: <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:value-of select="wnio:StopenPokrewienstwa"/>
</span>
</xsl:if>
</span>
</div>
</xsl:if>
</xsl:for-each>
<br/>
<br/>
</div>
<br/>
<div>W zaświadczeniu proszę o potwierdzenie następujących danych:</div>
<div>
<span>
<xsl:if test="true()">
<span>
<xsl:choose>
<xsl:when test="contains(concat(concat(' ', normalize-space(wnio:TrescDokumentu/wnio:Wniosek/wnio:PotwierdzenieDanych)),' '), ' 1 ' )">
<span>[<b>X</b>]</span>
</xsl:when>
<xsl:otherwise>
<span>[ ]</span>
</xsl:otherwise>
</xsl:choose>
<label>
<span> nazwisko </span>
</label>
</span>
<br/>
<span>
<xsl:choose>
<xsl:when test="contains(concat(concat(' ', normalize-space(wnio:TrescDokumentu/wnio:Wniosek/wnio:PotwierdzenieDanych)),' '), ' 2 ' )">
<span>[<b>X</b>]</span>
</xsl:when>
<xsl:otherwise>
<span>[ ]</span>
</xsl:otherwise>
</xsl:choose>
<label>
<span> imię </span>
</label>
</span>
<br/>
<span>
<xsl:choose>
<xsl:when test="contains(concat(concat(' ', normalize-space(wnio:TrescDokumentu/wnio:Wniosek/wnio:PotwierdzenieDanych)),' '), ' 3 ' )">
<span>[<b>X</b>]</span>
</xsl:when>
<xsl:otherwise>
<span>[ ]</span>
</xsl:otherwise>
</xsl:choose>
<label>
<span> PESEL </span>
</label>
</span>
<br/>
<span>
<xsl:choose>
<xsl:when test="contains(concat(concat(' ', normalize-space(wnio:TrescDokumentu/wnio:Wniosek/wnio:PotwierdzenieDanych)),' '), ' 4 ' )">
<span>[<b>X</b>]</span>
</xsl:when>
<xsl:otherwise>
<span>[ ]</span>
</xsl:otherwise>
</xsl:choose>
<label>
<span> data i miejsce urodzenia </span>
</label>
</span>
<br/>
<span>
<xsl:choose>
<xsl:when test="contains(concat(concat(' ', normalize-space(wnio:TrescDokumentu/wnio:Wniosek/wnio:PotwierdzenieDanych)),' '), ' 5 ' )">
<span>[<b>X</b>]</span>
</xsl:when>
<xsl:otherwise>
<span>[ ]</span>
</xsl:otherwise>
</xsl:choose>
<label>
<span> imiona rodziców </span>
</label>
</span>
<br/>
<span>
<xsl:choose>
<xsl:when test="contains(concat(concat(' ', normalize-space(wnio:TrescDokumentu/wnio:Wniosek/wnio:PotwierdzenieDanych)),' '), ' 6 ' )">
<span>[<b>X</b>]</span>
</xsl:when>
<xsl:otherwise>
<span>[ ]</span>
</xsl:otherwise>
</xsl:choose>
<label>
<span> nr i seria dowodu osobistego </span>
</label>
</span>
<br/>
<span>
<xsl:choose>
<xsl:when test="contains(concat(concat(' ', normalize-space(wnio:TrescDokumentu/wnio:Wniosek/wnio:PotwierdzenieDanych)),' '), ' 7 ' )">
<span>[<b>X</b>]</span>
</xsl:when>
<xsl:otherwise>
<span>[ ]</span>
</xsl:otherwise>
</xsl:choose>
<label>
<span> adres zameldowania </span>
</label>
</span>
<br/>
<span>
<xsl:choose>
<xsl:when test="contains(concat(concat(' ', normalize-space(wnio:TrescDokumentu/wnio:Wniosek/wnio:PotwierdzenieDanych)),' '), ' 8 ' )">
<span>[<b>X</b>]</span>
</xsl:when>
<xsl:otherwise>
<span>[ ]</span>
</xsl:otherwise>
</xsl:choose>
<label>
<span> data zameldowania </span>
</label>
</span>
<br/>
<span>
<xsl:choose>
<xsl:when test="contains(concat(concat(' ', normalize-space(wnio:TrescDokumentu/wnio:Wniosek/wnio:PotwierdzenieDanych)),' '), ' 9 ' )">
<span>[<b>X</b>]</span>
</xsl:when>
<xsl:otherwise>
<span>[ ]</span>
</xsl:otherwise>
</xsl:choose>
<label>
<span>adres wymeldowania </span>
</label>
</span>
<br/>
<span>
<xsl:choose>
<xsl:when test="contains(concat(concat(' ', normalize-space(wnio:TrescDokumentu/wnio:Wniosek/wnio:PotwierdzenieDanych)),' '), ' 10 ' )">
<span>[<b>X</b>]</span>
</xsl:when>
<xsl:otherwise>
<span>[ ]</span>
</xsl:otherwise>
</xsl:choose>
<label>
<span> data wymeldowania </span>
</label>
</span>
</xsl:if>
</span>
<div>
<span>
<xsl:if test="true()">
<span>
<xsl:choose>
<xsl:when test="contains(concat(concat(' ', normalize-space(wnio:TrescDokumentu/wnio:Wniosek/wnio:PotwierdzenieDanychInne)),' '), ' 1 ' )">
<span>[<b>X</b>]</span>
</xsl:when>
<xsl:otherwise>
<span>[ ]</span>
</xsl:otherwise>
</xsl:choose>
<label>
<span> inne </span>
</label>
</span>
</xsl:if>
</span>
</div>
<xsl:for-each select="wnio:TrescDokumentu/wnio:Wniosek/wnio:SekcjaInne">
<xsl:if test="(../wnio:PotwierdzenieDanychInne="1")"> <span>
<xsl:if test="true()">
<span type="text" style="font-weight: bold;">
<xsl:call-template name="substitute">
<xsl:with-param name="string" select="wnio:InneDane"/>
</xsl:call-template>
</span>
</xsl:if>
</span>
</xsl:if>
</xsl:for-each>
</div>
<br/>
<div>Zaświadczenie jest mi potrzebne do przedłożenia w sprawie:</div>
<div>
<span type="text" style="font-weight: bold;">
<xsl:call-template name="substitute">
<xsl:with-param name="string" select="wnio:TrescDokumentu/wnio:Wniosek/wnio:WSprawie"/>
</xsl:call-template>
</span>
</div>
</td>
</tr>
<tr>
<td style="padding: 50px 0px 50px 0px; text-align: justify; background-color: #ffffff; font-size: 12px;" width="50%">
<div style="text-align: right; font-weight: normal;">Informacja o podpisie elektronicznym:</div>
</td>
<td>
<table align="center">
<tr>
<td style="width: 340px;font-family: Arial; font-size: 12px;">
<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) > 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']) > 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 >= 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/>
</p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" style="text-align: justify; background-color: #ffffff; font-size: 12px;">
<span type="text" style="font-weight: normal;">
<xsl:call-template name="substitute">
<xsl:with-param name="string" select="wnio:TrescDokumentu/wnio:Wniosek/wnio:InformacjeDodatkowe/wnio:Oplata"/>
</xsl:call-template>
</span>
<div style="padding: 20px 0 10px 0;">
<strong>Informujemy, że przysługuje Państwu prawo do:</strong>
<ol>
<li>żądania od administratora dostępu do dotyczących Państwa danych osobowych,</li>
<li>żądania sprostowania Państwa danych osobowych,</li>
<li>żądania usunięcia Państwa danych,</li>
<li>żądania ograniczenia przetwarzania tych danych,</li>
<li>wniesienia sprzeciwu wobec przetwarzania Państwa danych,</li>
<li>żądania przenoszenia danych,</li>
<li>cofnięcia wyrażonej zgody w dowolnym momencie (przy czym cofnięcie zgody pozostaje bez wpływu na zgodność z prawem przetwarzania, którego dokonano na podstawie zgody przed jej cofnięciem)</li>
<li>niesienia skargi do organu nadzorczego.</li>
</ol>
</div>
<div>
<xsl:if test="wnio:TrescDokumentu/wnio:Zalaczniki/wnio:ZalacznikiDodatkowe/str:Zalaczniki/str:Zalacznik/str:DaneZalacznika != ''">
<span style="font-weight: bold;">
<h2 style="font-size: 12px;font-family:Arial;line-height: 20px;padding: 0px;margin:0px; font-weight: bold;">Załączniki nie wymagane przepisami:</h2>
</span>
</xsl:if>
</div>
<div>
<xsl:call-template name="Zalaczniki"/>
</div>
<p>*Do pobrania zaświadczenia o braku osób zameldowanych pod wskazanym adresem oraz o ilości osób zameldowanych pod wskazanym adresem, należy przedłożyć skan tytułu prawnego do lokalu – lub inny dokument, z którego wywodzi się uprawnienie do otrzymania zaświadczenia – nr księgi wieczystej, akt notarialny, przydział lokalu, umowa najmu, decyzja. W przypadku przekazania scanów zastrzega się możliwość żądania dostarczenia do wglądu oryginałów dokumentów</p>
</td>
</tr>
<tr>
<td colspan="2" style="padding: 20 0 0 0; text-align: justify; background-color: #ffffff; font-size: 12px;">
<div style="text-align: left; font-weight: bold; margin-top: 5px;">Klauzula informacyjna:</div>
<div style="text-align: left; font-weight: normal; margin-top: 10px;text-align: justify">
<xsl:call-template name="replace">
<xsl:with-param name="string" select="wnio:TrescDokumentu/wnio:Klauzula"/>
</xsl:call-template>
</div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>
</xsl:for-each>
</xsl:template>
<xsl:template name="substitute">
<xsl:param name="string"/>
<xsl:param name="from" select="'
'"/>
<xsl:param name="to">
<br/>
</xsl:param>
<xsl:choose>
<xsl:when test="contains($string, $from)">
<xsl:value-of select="substring-before($string, $from)"/>
<xsl:copy-of select="$to"/>
<xsl:call-template name="substitute">
<xsl:with-param name="string" select="substring-after($string, $from)"/>
<xsl:with-param name="from" select="$from"/>
<xsl:with-param name="to" select="$to"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$string"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="Zalaczniki">
<xsl:param name="zalaczniki" select="wnio:TrescDokumentu/wnio:Zalaczniki/wnio:ZalacznikiDodatkowe/str:Zalaczniki"/>
<xsl:if test="count($zalaczniki/str:Zalacznik) > 0">
<div style="text-align: left;">
<ol style="padding-top: 0px;margin-top: 0px;">
<xsl:for-each select="$zalaczniki/str:Zalacznik[@nazwaPliku != '']">
<li>
<xsl:if test="@kodowanie='base64'">
<xsl:value-of select="@nazwaPliku"/>
<xsl:if test="string-length(str:OpisZalacznika) > 0"> - </xsl:if>
<xsl:if test="string-length(str:OpisZalacznika) > 0">
<xsl:value-of select="str:OpisZalacznika"/>
</xsl:if>
</xsl:if>
<xsl:if test="@kodowanie='URI'">
<a href="{str:DaneZalacznika}">
<xsl:value-of select="@nazwaPliku"/>
</a>
<xsl:if test="string-length(str:OpisZalacznika) > 0">
(wartość skrótu w chwili załączania:
<xsl:value-of select="str:OpisZalacznika"/>)
</xsl:if>
</xsl:if>
</li>
</xsl:for-each>
</ol>
</div>
</xsl:if>
</xsl:template>
<xsl:template name="replace">
<xsl:param name="string"/>
<xsl:if test="contains($string, '^')">
<xsl:value-of select="substring-before($string,'^')"/>
<ol>
<xsl:call-template name="replace">
<xsl:with-param name="string" select="substring-after($string,'^')"/>
</xsl:call-template>
</ol>
</xsl:if>
<xsl:if test="contains($string, '_')">
<xsl:value-of select="substring-before($string,'_')"/>
<ul>
<xsl:call-template name="replace">
<xsl:with-param name="string" select="substring-after($string,'_')"/>
</xsl:call-template>
</ul>
</xsl:if>
<xsl:if test="(string-length(substring-before($string, '$')) < string-length(substring-before($string, '|')) and contains($string, '$') and not(contains($string, '^')) and not(contains($string, '_')))">
<li>
<xsl:value-of select="substring-before($string,'$')"/>
</li>
<xsl:call-template name="replace">
<xsl:with-param name="string" select="substring-after($string,'$')"/>
</xsl:call-template>
</xsl:if>
<xsl:if test="string-length(substring-before($string, '$')) > string-length(substring-before($string, '|')) and contains($string, '|') and not(contains($string, '^')) and not(contains($string, '_'))">
<xsl:choose>
<xsl:when test="string-length(substring-before($string, '|')) > string-length(substring-before($string, '!!'))">
<div style="padding-left:450px;">
<xsl:value-of select="substring-before($string,'!!')"/>
</div>
<xsl:call-template name="replace">
<xsl:with-param name="string" select="substring-after($string,'!!')"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="substring-before($string,'|')"/>
<br/>
<xsl:call-template name="replace">
<xsl:with-param name="string" select="substring-after($string,'|')"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
</xsl:template>
</xsl:stylesheet>