13550
ID | 13550 |
Data | 2024-10-23 |
Symbol | 2024/10/23/13550 |
Instytucja | Urząd Miasta Łodzi |
Nazwa | Zgłoszenie uszkodzeń, napraw oraz utrzymanie czystości |
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:adr="http://crd.gov.pl/xml/schematy/adres/2009/11/09/" 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:meta="http://crd.gov.pl/xml/schematy/meta/2009/11/16/" xmlns:str="http://crd.gov.pl/xml/schematy/struktura/2009/11/16/" xmlns:wnio="http://crd.gov.pl/wzor/2024/10/23/13550/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns="http://www.w3.org/1999/xhtml" xmlns:schemaLocation="http://www.w3.org/1999/XSL/Transform http://www.w3.org/2005/02/schema-for-xslt20.xsd" version="1.0" xsi:schemaLocation="http://www.w3.org/1999/XSL/Transform http://www.w3.org/2005/02/schema-for-xslt20.xsd" exclude-result-prefixes="adr oso inst meta wnio ds str xsi">
<xsl:output method="xml" encoding="utf-8" indent="yes" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"/>
<xsl:template match="/">
<xsl:apply-templates select="wnio:Dokument"/>
</xsl:template>
<xsl:template match="wnio:Dokument">
<html>
<head>
<title>ZGŁOSZENIE USZKODZEŃ, NAPRAW ORAZ UTRZYMANIE CZYSTOŚCI</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<style type="text/css">.body
{
text-align: justify;
font-size: 12px;
font-family: Verdana;
line-height: 16px;
}
.body_maly
{
text-align: justify;
font-size: 10px;
font-family: Verdana;
line-height: 12px;
}
.mainTxt
{
text-align: justify;
font-size: 12px;
font-family: Verdana;
line-height: 16px;
white-space: pre-wrap;
word-wrap: break-word;
}
.mainTxtContainer
{
}
.acc {
position: absolute;
left: -9999px;
}
.osw {
list-style-type: none;
padding: 0px;
}
.oswli{
}</style>
</head>
<body class="body">
<div style="width: 100%;">
<xsl:call-template name="NaglowekStandard"/>
<p align="center" style="text-align: center;font-size: 12px;font-family: Verdana;line-height: 16px;padding-top: 10px;">
<span style="font-weight: bold;font-size: 12px;">ZGŁOSZENIE USZKODZEŃ, NAPRAW ORAZ UTRZYMANIE CZYSTOŚCI</span>
</p>
<br/>
<b>Rodzaj zdarzenia:</b>
<br/>
<xsl:if test="string-length(wnio:TrescDokumentu/wnio:RodzajZdarzenia) > 0">
<xsl:value-of select="wnio:TrescDokumentu/wnio:RodzajZdarzenia"/>
<br/>
</xsl:if>
<br/>
<b>Opis zdarzenia:</b>
<br/>
<xsl:if test="string-length(wnio:TrescDokumentu/wnio:OpisZdarzenia) > 0">
<xsl:value-of select="wnio:TrescDokumentu/wnio:OpisZdarzenia"/>
<br/>
</xsl:if>
<br/>
<b>Miejsce zdarzenia:</b>
<br/>
<xsl:if test="string-length(wnio:TrescDokumentu/wnio:MiejsceZdarzenia) > 0">
<xsl:value-of select="wnio:TrescDokumentu/wnio:MiejsceZdarzenia"/>
<br/>
</xsl:if>
<xsl:if test="string-length(wnio:TrescDokumentu/wnio:Odpowiedz) > 0">
<br/>
<b>Zgłaszający oczekuje odpowiedzi: Tak</b><br/><br/>
<xsl:call-template name="korespondencja"/>
</xsl:if>
<xsl:if test="string-length(wnio:TrescDokumentu/wnio:Odpowiedz) = 0">
<br/>
<b>Zgłaszający oczekuje odpowiedzi: Nie</b><br/>
</xsl:if>
<br/><br/>
<xsl:if test="string-length(wnio:TrescDokumentu/wnio:Sekcja/wnio:Zgoda) > 0">
<b>Zgoda na przetwarzanie danych osobowych: Tak</b><br/><br/>
Zgodnie z art. 6 ust. 1 lit a ogólnego rozporządzenia o ochronie danych osobowych z dnia 27 kwietnia 2016 r. (rozporządzenie Parlamentu Europejskiego i Rady UE 2016/679 w sprawie ochrony osób fizycznych w związku z przetwarzaniem danych i w sprawie swobodnego przepływu takich danych oraz uchylenia dyrektywy 95/46/WE) wyrażam zgodę na przetwarzanie moich danych osobowych – adresu elektronicznego oraz danych podanych w zgłoszeniu, przez Prezydenta Miasta Łodzi jako administratora danych, w celu obsługi mojego zgłoszenia, w tym przekazywania zgłoszenia do miejskich jednostek organizacyjnych lub innych służb właściwych do realizacji zgłoszonego problemu oraz przekazania odpowiedzi.
<br/><br/>
Wiem, że podanie danych jest dobrowolne oraz, że mam prawo kontroli przetwarzania swoich danych osobowych, prawo dostępu do treści tych danych, ich sprostowania, usunięcia lub ograniczenia przetwarzania oraz o prawo wniesienia sprzeciwu wobec ich przetwarzania.
<br/><br/>
Zostałam/em poinformowana/y o przysługującym mi prawie do cofnięcia zgody, w dowolnym momencie, w formie, w jakiej została ona wyrażona. Wycofanie zgody nie wpływa na zgodność z prawem przetwarzania, którego dokonano na podstawie zgody przed jej wycofaniem.
</xsl:if>
<br/>
<br/>
<xsl:call-template name="Podpis"/>
<xsl:call-template name="Zalaczniki"/>
<div class="body_maly">
</div>
</div>
</body>
</html>
</xsl:template>
<xsl:template name="adres_nieruchomosci">
<xsl:param name="adres_nieruchomosci1" select="wnio:TrescDokumentu/wnio:AdresNieruchomosci"/>
<xsl:param name="odmiana"/>
<xsl:call-template name="rodzaj_ulica">
<xsl:with-param name="rodzaj_ulica1" select="$adres_nieruchomosci1/adr:Ulica"/>
<xsl:with-param name="odmiana" select="$odmiana"/>
</xsl:call-template>
<xsl:value-of select="$adres_nieruchomosci1/adr:Ulica"/>
<xsl:value-of select="' '"/>
<xsl:value-of select="$adres_nieruchomosci1/adr:Budynek"/>
<xsl:if test="string-length($adres_nieruchomosci1/adr:Lokal) > 0">
<xsl:value-of select="' m. '"/>
<xsl:value-of select="$adres_nieruchomosci1/adr:Lokal"/>
</xsl:if>
<xsl:if test="string-length($adres_nieruchomosci1/adr:KodPocztowy) > 0">
<xsl:value-of select="', '"/>
<xsl:value-of select="$adres_nieruchomosci1/adr:KodPocztowy"/>
</xsl:if>
<xsl:if test="string-length($adres_nieruchomosci1/adr:Miejscowosc) > 0">
<xsl:value-of select="' '"/>
<xsl:value-of select="$adres_nieruchomosci1/adr:Miejscowosc"/>
</xsl:if>
</xsl:template>
<xsl:template name="Checkbox">
<xsl:param name="value"/>
<div style="border: solid 1px black; width:15px;height: 15px">
<xsl:if test="$value='1'">
<b>
<center>
<div style="vertical-align: super">X</div>
</center>
</b>
</xsl:if>
</div>
</xsl:template>
<xsl:template name="korespondencja">
<xsl:param name="korespondencja_adres1" select="wnio:TrescDokumentu/wnio:Sekcja/wnio:Sekcja2/wnio:Korespondencja"/>
<b><xsl:value-of select="'Forma korespondencji: '"/></b><br/>
<xsl:if test="wnio:TrescDokumentu/wnio:Sekcja/wnio:Zgoda = ''">
<xsl:value-of select="' ePUAP - na adres zgłaszającego'"/>
<br/><br/>
<b><xsl:value-of select="' Zgoda na przetwarzanie danych osobowych: Nie'"/></b>
</xsl:if>
<xsl:if test="$korespondencja_adres1/wnio:WyborAdres = '1'">
<xsl:value-of select="' brak wyboru formy korespondencji przez zgłaszającego'"/>
</xsl:if>
<xsl:if test="$korespondencja_adres1/wnio:WyborAdres = '2'">
<xsl:value-of select="' ePUAP - na adres zgłaszającego'"/>
</xsl:if>
<xsl:if test="$korespondencja_adres1/wnio:WyborAdres = '4'">
<xsl:value-of select="' listownie - na adres: '"/>
<xsl:if test="string-length($korespondencja_adres1/wnio:AdresKorespondencyjny/wnio:DaneOsobaFirma) > 0">
<xsl:value-of select="$korespondencja_adres1/wnio:AdresKorespondencyjny/wnio:DaneOsobaFirma"/>
<xsl:value-of select="', '"/>
</xsl:if>
<xsl:if test="string-length($korespondencja_adres1/wnio:AdresKorespondencyjny/adr:Ulica) > 0">
<xsl:value-of select="' '"/>
<xsl:call-template name="rodzaj_ulica">
<xsl:with-param name="rodzaj_ulica1" select="$korespondencja_adres1/wnio:AdresKorespondencyjny/adr:Ulica"/>
</xsl:call-template>
<xsl:value-of select="$korespondencja_adres1/wnio:AdresKorespondencyjny/adr:Ulica"/>
</xsl:if>
<xsl:if test="string-length($korespondencja_adres1/wnio:AdresKorespondencyny/adr:Budynek) > 0">
<xsl:value-of select="' '"/>
<xsl:value-of select="$korespondencja_adres1/wnio:AdresKorespondencyjny/adr:Budynek"/>
</xsl:if>
<xsl:if test="string-length($korespondencja_adres1/wnio:AdresKorespondencyjny/adr:Lokal) > 0">
<xsl:value-of select="' m. '"/>
<xsl:value-of select="$korespondencja_adres1/wnio:AdresKorespondencyjny/adr:Lokal"/>
</xsl:if>
<xsl:if test="string-length($korespondencja_adres1/wnio:AdresKorespondencyjny/adr:KodPocztowy) > 0">
<xsl:value-of select="', '"/>
<xsl:value-of select="$korespondencja_adres1/wnio:AdresKorespondencyjny/adr:KodPocztowy"/>
</xsl:if>
<xsl:if test="string-length($korespondencja_adres1/wnio:AdresKorespondencyjny/adr:Miejscowosc) > 0">
<xsl:value-of select="' '"/>
<xsl:value-of select="$korespondencja_adres1/wnio:AdresKorespondencyjny/adr:Miejscowosc"/>
</xsl:if>
</xsl:if>
<xsl:if test="$korespondencja_adres1/wnio:WyborAdres = '3'">
<xsl:value-of select="' poczta elektroniczna - na adres: '"/>
<xsl:if test="string-length($korespondencja_adres1/wnio:AdresMail/adr:Email) > 0">
<xsl:value-of select="$korespondencja_adres1/wnio:AdresMail/adr:Email"/>
</xsl:if>
</xsl:if>
</xsl:template>
<xsl:template name="naglowek_nadawca">
<xsl:param name="nadawca_wybor" select="wnio:TrescDokumentu/wnio:WyborWnioskodawca"/>
<xsl:param name="nadawca_osoba" select="wnio:TrescDokumentu/wnio:WnioskodawcaOsoba"/>
<xsl:param name="nadawca_firma" select="wnio:TrescDokumentu/wnio:WnioskodawcaFirma"/>
<xsl:param name="nadawca_inny" select="wnio:TrescDokumentu/wnio:WnioskodawcaInny"/>
<xsl:if test="$nadawca_wybor ='1'">
<xsl:value-of select="$nadawca_osoba/oso:Imie"/>
<xsl:value-of select="' '"/>
<xsl:value-of select="$nadawca_osoba/oso:Nazwisko"/>
<xsl:if test="string-length($nadawca_osoba/oso:PESEL) > 0">
<br/>
<xsl:value-of select="'PESEL: '"/>
<xsl:value-of select="$nadawca_osoba/oso:PESEL"/>
</xsl:if>
<br/>
<xsl:call-template name="rodzaj_ulica">
<xsl:with-param name="rodzaj_ulica1" select="$nadawca_osoba/adr:Ulica"/>
</xsl:call-template>
<xsl:value-of select="$nadawca_osoba/adr:Ulica"/>
<xsl:value-of select="' '"/>
<xsl:value-of select="$nadawca_osoba/adr:Budynek"/>
<xsl:if test="string-length($nadawca_osoba/adr:Lokal) > 0">
<xsl:value-of select="' m. '"/>
<xsl:value-of select="$nadawca_osoba/adr:Lokal"/>
</xsl:if>
<br/>
<xsl:if test="string-length($nadawca_osoba/adr:KodPocztowy) > 0">
<xsl:value-of select="$nadawca_osoba/adr:KodPocztowy"/>
<xsl:value-of select="' '"/>
</xsl:if>
<xsl:if test="string-length($nadawca_osoba/adr:Miejscowosc) > 0">
<xsl:value-of select="$nadawca_osoba/adr:Miejscowosc"/>
</xsl:if>
<xsl:if test="string-length($nadawca_osoba/wnio:NrTelefonu) > 0">
<br/>
<xsl:value-of select="'Tel. kontaktowy: '"/>
<xsl:value-of select="$nadawca_osoba/wnio:NrTelefonu"/>
</xsl:if>
</xsl:if>
<xsl:if test="$nadawca_wybor ='2'">
<xsl:value-of select="$nadawca_firma/wnio:NazwaFirmy"/>
<xsl:if test="string-length($nadawca_firma/wnio:NIP) > 0">
<br/>
<xsl:value-of select="'NIP: '"/>
<xsl:value-of select="$nadawca_firma/wnio:NIP"/>
</xsl:if>
<br/>
<xsl:call-template name="rodzaj_ulica">
<xsl:with-param name="rodzaj_ulica1" select="$nadawca_firma/adr:Ulica"/>
</xsl:call-template>
<xsl:value-of select="$nadawca_firma/adr:Ulica"/>
<xsl:value-of select="' '"/>
<xsl:value-of select="$nadawca_firma/adr:Budynek"/>
<xsl:if test="string-length($nadawca_firma/adr:Lokal) > 0">
<xsl:value-of select="' m. '"/>
<xsl:value-of select="$nadawca_firma/adr:Lokal"/>
</xsl:if>
<br/>
<xsl:if test="string-length($nadawca_firma/adr:KodPocztowy) > 0">
<xsl:value-of select="$nadawca_firma/adr:KodPocztowy"/>
<xsl:value-of select="' '"/>
</xsl:if>
<xsl:if test="string-length($nadawca_firma/adr:Miejscowosc) > 0">
<xsl:value-of select="$nadawca_firma/adr:Miejscowosc"/>
</xsl:if>
<xsl:if test="string-length($nadawca_firma/wnio:TelefonFirma) > 0">
<br/>
<xsl:value-of select="'Telefon kontaktowy: '"/>
<xsl:value-of select="$nadawca_firma/wnio:TelefonFirma"/>
</xsl:if>
</xsl:if>
<xsl:if test="$nadawca_wybor ='3'">
<xsl:value-of select="$nadawca_inny/wnio:NazwaInny"/>
<br/>
<xsl:call-template name="rodzaj_ulica">
<xsl:with-param name="rodzaj_ulica1" select="$nadawca_inny/adr:Ulica"/>
</xsl:call-template>
<xsl:value-of select="$nadawca_inny/adr:Ulica"/>
<xsl:value-of select="' '"/>
<xsl:value-of select="$nadawca_inny/adr:Budynek"/>
<xsl:if test="string-length($nadawca_inny/adr:Lokal) > 0">
<xsl:value-of select="' m. '"/>
<xsl:value-of select="$nadawca_inny/adr:Lokal"/>
</xsl:if>
<br/>
<xsl:if test="string-length($nadawca_inny/adr:KodPocztowy) > 0">
<xsl:value-of select="$nadawca_inny/adr:KodPocztowy"/>
<xsl:value-of select="' '"/>
</xsl:if>
<xsl:if test="string-length($nadawca_inny/adr:Miejscowosc) > 0">
<xsl:value-of select="$nadawca_inny/adr:Miejscowosc"/>
</xsl:if>
<xsl:if test="string-length($nadawca_inny/wnio:TelefonInny) > 0">
<br/>
<xsl:value-of select="'Telefon kontaktowy: '"/>
<xsl:value-of select="$nadawca_inny/wnio:TelefonInny"/>
</xsl:if>
</xsl:if>
</xsl:template>
<xsl:template name="rodzaj_ulica">
<xsl:param name="odmiana"/>
<xsl:param name="rodzaj_ulica1" select="'false'"/>
<xsl:choose>
<xsl:when test="$odmiana = 'T'">
<xsl:for-each select="$rodzaj_ulica1[@rodzajUlicy != 'inna']">
<xsl:if test="@rodzajUlicy = 'ulica'">ulicy</xsl:if>
<xsl:if test="@rodzajUlicy = 'plac'">placu</xsl:if>
<xsl:if test="@rodzajUlicy = 'rondo'">rondzie</xsl:if>
<xsl:if test="@rodzajUlicy = 'aleja'">alei</xsl:if>
<xsl:if test="@rodzajUlicy = 'skwer'">skwerze</xsl:if>
<xsl:text> </xsl:text>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="$rodzaj_ulica1[@rodzajUlicy != 'inna']">
<xsl:value-of select="@rodzajUlicy"/>
<xsl:text> </xsl:text>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
<xsl:value-of select="adr:Ulica"/>
<xsl:text> </xsl:text>
</xsl:template>
<xsl:template name="NaglowekStandard">
<p style="width: 340px;text-align: right;font-size: 12px;font-family: Verdana;line-height: 18px; float:right;">
<xsl:call-template name="MiejscowoscData"/>
</p>
<p style="width: 500px;text-align: left;font-size: 12px;font-family: Verdana;line-height: 18px;float:left;">
<xsl:call-template name="naglowek_nadawca"/>
</p>
<xsl:if test="string-length(wnio:DaneDokumentu/str:Naglowek/meta:Identyfikator/meta:Wartosc) > 0">
<p align="left" style="text-align: left;font-size: 12px;font-family: Verdana;line-height: 18px;">
<xsl:value-of select="wnio:DaneDokumentu/str:Naglowek/meta:Identyfikator/meta:Wartosc"/>
</p>
</xsl:if>
<div style="clear: both;"/>
<div align="right" style="text-align: right;font-size: 12px;font-family: Verdana;line-height: 18px;">
<table style="float: right;">
<tr>
<td style="width: auto;max-width: 420px;">
<p align="left" style="text-align: left;font-size: 12px;font-family: Verdana;line-height: 18px;max-width: 400px">
<xsl:call-template name="Podmioty">
<xsl:with-param name="podmiot" select="wnio:DaneDokumentu/str:Adresaci"/>
</xsl:call-template>
</p>
</td>
</tr>
</table>
</div>
<div style="clear: both;"/>
</xsl:template>
<xsl:template name="PodmiotOsoba">
<xsl:param name="osoba" select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba"/>
<xsl:param name="inline" select="'false'"/>
<xsl:value-of select="$osoba/oso:Imie"/>
<xsl:if test="string-length($osoba/oso:ImieDrugie) > 0">
<xsl:value-of select="' '"/>
<xsl:value-of select="$osoba/oso:ImieDrugie"/>
</xsl:if>
<xsl:for-each select="$osoba/oso:Nazwisko[string-length(.) > 0]">
<xsl:value-of select="' '"/>
<xsl:value-of select="."/>
</xsl:for-each>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
<xsl:if test="count($osoba/adr:Adres) > 0">
<xsl:call-template name="Adres">
<xsl:with-param name="adres" select="$osoba/adr:Adres"/>
<xsl:with-param name="inline" select="$inline"/>
</xsl:call-template>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
</xsl:if>
<xsl:if test="count($osoba/oso:IdOsoby) > 0">
<xsl:call-template name="PodmiotIdentyfikatory">
<xsl:with-param name="id" select="$osoba/oso:IdOsoby"/>
<xsl:with-param name="inline" select="$inline"/>
</xsl:call-template>
</xsl:if>
<xsl:if test="count($osoba/adr:Kontakt) > 0">
<xsl:call-template name="PodmiotKontakt">
<xsl:with-param name="kontakt" select="$osoba/adr:Kontakt"/>
<xsl:with-param name="inline" select="$inline"/>
</xsl:call-template>
</xsl:if>
</xsl:template>
<xsl:template name="PodmiotInstytucja">
<xsl:param name="instytucja" select="wnio:DaneDokumentu/str:Adresaci/meta:Podmiot/inst:Instytucja"/>
<xsl:param name="inline" select="'false'"/>
<xsl:if test="string-length($instytucja/inst:NazwaInstytucji) > 0">
<xsl:value-of select="$instytucja/inst:NazwaInstytucji"/>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
</xsl:if>
<xsl:if test="string-length($instytucja/inst:IdInstytucji/inst:InnyIdentyfikator/inst:TypIdentyfikatora) > 0">
<xsl:value-of select="$instytucja/inst:IdInstytucji/inst:InnyIdentyfikator/inst:TypIdentyfikatora"/>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
</xsl:if>
<xsl:if test="string-length($instytucja/inst:IdInstytucji/inst:InnyIdentyfikator/inst:WartoscIdentyfikatora) > 0">
<xsl:value-of select="$instytucja/inst:IdInstytucji/inst:InnyIdentyfikator/inst:WartoscIdentyfikatora"/>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
</xsl:if>
<xsl:if test="$instytucja/inst:Jednostka">
<xsl:call-template name="PodmiotJednostka">
<xsl:with-param name="jednostka" select="$instytucja/inst:Jednostka"/>
<xsl:with-param name="inline" select="$inline"/>
</xsl:call-template>
</xsl:if>
<xsl:if test="count($instytucja/adr:Adres) > 0">
<xsl:call-template name="Adres">
<xsl:with-param name="adres" select="$instytucja/adr:Adres"/>
<xsl:with-param name="inline" select="$inline"/>
</xsl:call-template>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
</xsl:if>
<xsl:if test="count($instytucja/inst:IdInstytucji) > 0">
<xsl:call-template name="PodmiotIdentyfikatory">
<xsl:with-param name="id" select="$instytucja/inst:IdInstytucji"/>
<xsl:with-param name="inline" select="$inline"/>
</xsl:call-template>
</xsl:if>
<xsl:if test="count($instytucja/adr:Kontakt) > 0">
<xsl:call-template name="PodmiotKontakt">
<xsl:with-param name="kontakt" select="$instytucja/adr:Kontakt"/>
<xsl:with-param name="inline" select="$inline"/>
</xsl:call-template>
</xsl:if>
</xsl:template>
<xsl:template name="Podmioty">
<xsl:param name="podmiot" select="wnio:DaneDokumentu/str:Adresaci"/>
<xsl:param name="inline" select="'false'"/>
<xsl:for-each select="$podmiot/meta:Podmiot">
<xsl:if test="oso:Osoba">
<xsl:call-template name="PodmiotOsoba">
<xsl:with-param name="osoba" select="oso:Osoba"/>
<xsl:with-param name="inline" select="$inline"/>
</xsl:call-template>
</xsl:if>
<xsl:if test="inst:Instytucja">
<xsl:call-template name="PodmiotInstytucja">
<xsl:with-param name="instytucja" select="inst:Instytucja"/>
<xsl:with-param name="inline" select="$inline"/>
</xsl:call-template>
</xsl:if>
</xsl:for-each>
</xsl:template>
<xsl:template name="InLine">
<xsl:param name="value" select="'true'"/>
<xsl:choose>
<xsl:when test="$value='false'">
<br/>
</xsl:when>
<xsl:otherwise>,</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="Adres">
<xsl:param name="adres"/>
<xsl:param name="inline" select="'false'"/>
<xsl:if test="string-length($adres/adr:Ulica) > 0">
<xsl:value-of select="$adres/adr:Ulica"/>
<xsl:value-of select="' '"/>
<xsl:value-of select="$adres/adr:Budynek"/>
<xsl:if test="string-length($adres/adr:Lokal) > 0">
<xsl:value-of select="' '"/>/<xsl:value-of select="' '"/>
<xsl:value-of select="$adres/adr:Lokal"/>
</xsl:if>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
</xsl:if>
<xsl:if test="string-length($adres/adr:KodPocztowy) > 0 or string-length($adres/adr:Miejscowosc) > 0 or string-length($adres/adr:Poczta) > 0">
<xsl:if test="string-length($adres/adr:KodPocztowy) > 0">
<xsl:value-of select="$adres/adr:KodPocztowy"/>
<xsl:value-of select="' '"/>
</xsl:if>
<xsl:if test="string-length($adres/adr:Poczta) > 0">
<xsl:value-of select="$adres/adr:Poczta"/>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
</xsl:if>
<xsl:value-of select="$adres/adr:Miejscowosc"/>
</xsl:if>
<xsl:if test="string-length($adres/adr:Wojewodztwo) > 0">
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
<xsl:value-of select="concat('Województwo: ',$adres/adr:Wojewodztwo)"/>
</xsl:if>
<xsl:if test="string-length($adres/adr:Powiat) > 0">
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
<xsl:value-of select="concat('Powiat: ',$adres/adr:Powiat)"/>
</xsl:if>
<xsl:if test="string-length($adres/adr:Gmina) > 0">
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
<xsl:value-of select="concat('Gmina: ',$adres/adr:Gmina)"/>
</xsl:if>
</xsl:template>
<xsl:template name="PodmiotIdentyfikatory">
<xsl:param name="id" select="oso:IdOsoby"/>
<xsl:param name="inline" select="'false'"/>
<xsl:if test="string-length($id/oso:PESEL) > 0">
<xsl:value-of select="concat('PESEL: ',$id/oso:PESEL)"/>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
</xsl:if>
<xsl:if test="string-length($id/oso:NIP) > 0">
<xsl:value-of select="concat('NIP: ',$id/oso:NIP)"/>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
</xsl:if>
<xsl:if test="string-length($id/oso:InnyIdentyfikator/oso:WartoscIdentyfikatora) > 0">
<xsl:if test="string-length($id/oso:InnyIdentyfikator/oso:TypIdentyfikatora) > 0">
<xsl:value-of select="$id/oso:InnyIdentyfikator/oso:TypIdentyfikatora"/>
<xsl:value-of select="': '"/>
</xsl:if>
<xsl:value-of select="$id/oso:InnyIdentyfikator/oso:WartoscIdentyfikatora"/>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
</xsl:if>
<xsl:if test="string-length($id/inst:KRS) > 0">
<xsl:value-of select="concat('KRS: ',$id/inst:KRS)"/>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
</xsl:if>
<xsl:if test="string-length($id/inst:NIP) > 0">
<xsl:value-of select="concat('NIP: ',$id/inst:NIP)"/>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
</xsl:if>
<xsl:if test="string-length($id/inst:REGON) > 0">
<xsl:value-of select="concat('REGON: ',$id/inst:REGON)"/>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
</xsl:if>
</xsl:template>
<xsl:template name="PodmiotKontakt">
<xsl:param name="kontakt" select="adr:Kontakt"/>
<xsl:param name="inline" select="'false'"/>
<xsl:for-each select="$kontakt/adr:Telefon">
<xsl:if test="string-length(.) > 0">
<xsl:value-of select="concat('Telefon: ',.)"/>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
</xsl:if>
</xsl:for-each>
<xsl:for-each select="$kontakt/adr:Faks">
<xsl:if test="string-length(.) > 0">
<xsl:value-of select="concat('Faks: ',.)"/>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
</xsl:if>
</xsl:for-each>
<xsl:for-each select="$kontakt/adr:Email">
<xsl:if test="string-length(.) > 0">
<xsl:value-of select="concat('Email: ',.)"/>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
</xsl:if>
</xsl:for-each>
<xsl:for-each select="$kontakt/adr:URIKontakt">
<xsl:if test="string-length(.) > 0">
<xsl:value-of select="concat('',.)"/>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
</xsl:if>
</xsl:for-each>
<xsl:for-each select="$kontakt/adr:InnyKontakt">
<xsl:if test="string-length(.) > 0">
<xsl:value-of select="concat('',.)"/>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
</xsl:if>
</xsl:for-each>
</xsl:template>
<xsl:template name="PodmiotJednostka">
<xsl:param name="jednostka"/>
<xsl:param name="inline"/>
<xsl:if test="string-length($jednostka/inst:NazwaInstytucji) > 0">
<xsl:value-of select="$jednostka/inst:NazwaInstytucji"/>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
</xsl:if>
<xsl:if test="$jednostka/inst:Jednostka">
<xsl:call-template name="PodmiotJednostka">
<xsl:with-param name="jednostka" select="$jednostka/inst:Jednostka"/>
<xsl:with-param name="inline" select="$inline"/>
</xsl:call-template>
</xsl:if>
</xsl:template>
<xsl:template name="MiejscowoscData">
<xsl:param name="miejscowosc" select="wnio:TrescDokumentu/wnio:MiejscowoscDokumentu"/>
<xsl:param name="data" select="wnio:DaneDokumentu/meta:Data[@typDaty='stworzony']/meta:Czas"/>
<xsl:value-of select="$miejscowosc"/>,
<xsl:value-of select="' '"/>
<xsl:value-of select="$data"/>
</xsl:template>
<xsl:template name="Podpis">
<div align="right" style="text-align: right;font-size: 10px;font-family: Verdana;line-height: 16px;">
<table style="float: right;">
<tr>
<td style="width: 340px;">
<h2 class="acc">Podpisy elektroniczne</h2>
<p align="center" style="text-align: center;font-size: 10px;font-family: Verdana;line-height: 16px;">
<xsl:choose>
<xsl:when test="string-length(//wnio:Dokument/ds:Signature/ds:SignatureValue) > 0">
<xsl:if test="string-length(//wnio:TrescDokumentu/wnio:Podpis/wnio:ImiePodpis) > 0 or string-length(//wnio:TrescDokumentu/wnio:Podpis/wnio:NazwiskoPodpis) > 0">
<xsl:text>Osoba podpisująca:</xsl:text>
<br/>
<xsl:if test="//wnio:TrescDokumentu/wnio:Podpis/wnio:ImiePodpis">
<b>
<xsl:value-of select="//wnio:TrescDokumentu/wnio:Podpis/wnio:ImiePodpis"/>
</b>
<xsl:value-of select="' '"/>
</xsl:if>
<b>
<xsl:value-of select="//wnio:TrescDokumentu/wnio:Podpis/wnio:NazwiskoPodpis"/>
</b>
<br/>
</xsl:if>
<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/>
<span style="font-size: 7pt;font-weight: bold;">Podpis elektroniczny</span>
</p>
</td>
</tr>
</table>
</div>
<div style="clear: both;"/>
</xsl:template>
<xsl:template name="Zalaczniki">
<xsl:param name="zalaczniki" select="wnio:TrescDokumentu/str:Zalaczniki"/>
<xsl:if test="($zalaczniki/str:Zalacznik[1]/str:DaneZalacznika != '') or (count($zalaczniki/str:Zalacznik) > 1)">
<div style="text-align: left;">
<h2 style="font-size: 11px;font-family: Verdana;line-height: 16px;padding: 0px;margin:0px; font-weight: normal;">Załączniki:</h2>
<ol style="padding-top: 0px;margin-top: 0px;margin-bottom: 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:stylesheet>