9531
ID | 9531 |
Data | 2020-06-09 |
Symbol | 2020/06/09/9531 |
Instytucja | Wojewódzki Urząd Ochrony Zabytków w Krakowie |
Nazwa | Wniosek o wydanie pozwolenia na prowadzenie prac konserwatorskich, restauratorskich, w tym wykonania prac pielęgnacyjnych przy zabytkach będących parkami albo innego rodzaju zorganizowanej zieleni na terenie nieruchomości wpisanej do rejestru zabytkó... |
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: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/2020/06/09/9531/" version="1.0">
<xsl:template match="/">
<xsl:for-each select="wnio:Dokument">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Dokument elektroniczny</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<style type="text/css">
up
.body,
p
{
font-size: 12px;
font-family: Verdana;
line-height: 20px;
}
.mainTxt
{
text-align: justify;
font-size: 12px;
font-family: Verdana;
line-height: 20px;
white-space: pre-wrap;
word-wrap: break-word;
}
.mainTxtContainer
{
}
.acc{
position: absolute;
left: -9999px;
}
.osw{
list-style-type: none;
padding: 0px;
}
.oswli{
}
table,
table td,
td{
vertical-align: top;
}</style>
</head>
<body>
<h2 align="right" style="text-align: right; break-after: auto; margin: 2pt 0cm 0.0001pt; font-size: 14pt; font-family: Calibri, sans-serif; font-weight: normal;">
<span style="font-size: 11.0pt;"> <span><label><span/></label><xsl:if test="true()"><span type="text"><xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID0"/></span></xsl:if></span></span>
<span style="font-size: 12.0pt;">, <xsl:if test="true()"><xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID1"/></xsl:if><br/><em>(miejscowość, data)</em></span>
</h2>
<p align="right" style="break-after: auto; text-align: right; font-size: 11pt; font-family: Calibri, sans-serif;font-weight:bold">
<span style="font-size: 13.0pt;width:300px">
<xsl:value-of select="wnio:DaneDokumentu/str:Adresaci/meta:Podmiot/inst:Instytucja/inst:NazwaInstytucji"/>
<br/>
<xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:a1"/>
<br/>
<xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID6 != 'nie dotyczy' and wnio:TrescDokumentu/wnio:Wartosc/wnio:ID6 != ''">
<xsl:value-of select="concat('Delegatura ', wnio:TrescDokumentu/wnio:Wartosc/wnio:ID6)"/>
<br/>
</xsl:if>
</span>
</p>
<pre style="text-align: center; margin: 0cm 0cm 0.0001pt; font-size: 10pt; font-family: 'Courier New';"><span style="font-family: 'times new roman', times; font-size: medium;"><strong>WNIOSEK</strong></span></pre>
<p align="center" style="text-align: center; margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-family: 'times new roman', times; font-size: medium;">
<strong>o wydanie pozwolenia <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Konserwator"/>
Wojewódzkiego Konserwatora Zabytków</strong>
</span>
</p>
<p align="center" style="text-align: center; margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-family: 'times new roman', times; font-size: medium;">
<strong> na prowadzenie prac konserwatorskich, restauratorskich, w tym wykonania prac pielęgnacyjnych przy zabytkach będących parkami albo innego rodzaju zorganizowanej zieleni na terenie nieruchomości wpisanej do rejestru zabytków</strong>
</span>
</p>
<p style="line-height: 150%; margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-size: medium; line-height: 150%; font-family: 'times new roman', times;"> </span>
</p>
<p>Wnioskodawca:</p>
<p>
<strong>
<xsl:for-each select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot[@typPodmiotu = '' or not(@typPodmiotu)]">
<xsl:if test="oso:Osoba">
<xsl:call-template name="PodmiotOsoba">
<xsl:with-param name="osoba" select="oso:Osoba"/>
<xsl:with-param name="inline" select="'false'"/>
</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="'false'"/>
</xsl:call-template>
</xsl:if>
</xsl:for-each>
</strong>
</p>
<p>Pełnomocnik:</p>
<p>
<strong>
<xsl:for-each select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot[@typPodmiotu]">
<xsl:if test="count(oso:Osoba) > 0">
<xsl:call-template name="PodmiotOsoba">
<xsl:with-param name="osoba" select="oso:Osoba"/>
<xsl:with-param name="inline" select="'false'"/>
</xsl:call-template>
</xsl:if>
<xsl:if test="count(inst:Instytucja) > 0">
<xsl:call-template name="PodmiotInstytucja">
<xsl:with-param name="instytucja" select="inst:Instytucja"/>
<xsl:with-param name="inline" select="'false'"/>
</xsl:call-template>
</xsl:if>
</xsl:for-each>
</strong>
</p>
<br/>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-family: 'times new roman', times; font-size: medium;">Wnoszę o wydanie pozwolenia na prowadzenie działania polegającego na:
</span>
</p>
<p style="line-height: 115%; margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-family: 'times new roman', times; font-size: medium;">
<xsl:call-template name="substitute">
<xsl:with-param name="string" select="wnio:TrescDokumentu/wnio:Wartosc/ID22"/>
</xsl:call-template>
</span>
</p>
<p style="line-height: 115%; margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-family: 'times new roman', times; font-size: medium;">
<strong>Dane ewidencyjno - adresowe nieruchomości:</strong>
</span>
</p>
<p style="text-align: justify; line-height: 115%; margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-family: 'times new roman', times; font-size: medium;">nieruchomość: <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/ID5"/>
</span>
</p>
<p style="text-align: justify; line-height: 115%; margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-family: 'times new roman', times; font-size: medium;">miejscowość: <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/ID7"/>
</span>
</p>
<p style="text-align: justify; line-height: 115%; margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-family: 'times new roman', times; font-size: medium;">nr decyzji o wpisaniu do rej. zabytków: <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/ID4"/>
</span>
</p>
<p style="text-align: justify; line-height: 115%; margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-family: 'times new roman', times; font-size: medium;">gmina: <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/ID8"/>
</span>
</p>
<p style="text-align: justify; line-height: 115%; margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-family: 'times new roman', times; font-size: medium;">ulica: <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/ID9"/>
</span>
</p>
<p style="text-align: justify; line-height: 115%; margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-family: 'times new roman', times; font-size: medium;">nr: <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/ID10"/>
</span>
</p>
<p style="text-align: justify; line-height: 115%; margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-family: 'times new roman', times; font-size: medium;">nr ewidencyjny działki/działek: <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/ID11"/>
</span>
</p>
<p style="text-align: justify; line-height: 115%; margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-family: 'times new roman', times; font-size: medium;">obręb: <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/ID12"/>
</span>
</p>
<p style="text-align: justify; line-height: 115%; margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-family: 'times new roman', times; font-size: medium;">nr Księgi wieczystej, o ile jest/ są założone: <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/ID13"/>
</span>
</p>
<p style="text-align: justify; line-height: 115%; margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-family: 'times new roman', times; font-size: medium;">
<br/>
</span>
</p>
<p style="margin: 0cm 0cm 0.0001pt -0.75pt; text-align: justify; text-indent: 0.75pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-family: 'times new roman', times; font-size: medium;">Przewidywany zakres prac:
</span>
</p>
<table border="0" cellpadding="4" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse;">
<tbody>
<tr>
<td style="border: solid black 1.0pt; border-right: none; padding: 0cm 5.4pt 0cm 5.4pt;" valign="top">
<p align="center" style="text-align: center; margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-family: 'times new roman', times; font-size: medium;">L.p.
</span>
</p>
</td>
<td style="border: solid black 1.0pt; border-right: none; padding: 0cm 5.4pt 0cm 5.4pt;" valign="top">
<p align="center" style="text-align: center; margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-family: 'times new roman', times; font-size: medium;">Nazwa gatunkowa drzewa
</span>
</p>
</td>
<td style="border: solid black 1.0pt; border-right: none; padding: 0cm 5.4pt 0cm 5.4pt;" valign="top">
<p align="center" style="text-align: center; margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-family: 'times new roman', times; font-size: medium;">
Obwód pnia drzewa (mierzony na wysokości 130 cm)
</span>
</p>
</td>
<td style="border: solid black 1.0pt; padding: 0cm 5.4pt 0cm 5.4pt;" valign="top">
<p align="center" style="text-align: center; margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-family: 'times new roman', times; font-size: medium;">
Rodzaj i zakres planowanych prac
</span>
</p>
</td>
</tr>
<xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Zakres/wnio:Z">
<tr>
<td style="border: solid black 1.0pt; border-right: none; padding: 0cm 5.4pt 0cm 5.4pt;" valign="top">
<p align="center" style="text-align: center; margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-family: 'times new roman', times; font-size: medium;"><xsl:value-of select="count(preceding-sibling::wnio:Z)+1"/>.
</span>
</p>
</td>
<td style="border: solid black 1.0pt; border-right: none; padding: 0cm 5.4pt 0cm 5.4pt;" valign="top">
<p align="center" style="text-align: center; margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-family: 'times new roman', times; font-size: medium;"><xsl:value-of select="wnio:N"/>
</span>
</p>
</td>
<td style="border: solid black 1.0pt; border-right: none; padding: 0cm 5.4pt 0cm 5.4pt;" valign="top">
<p align="center" style="text-align: center; margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-family: 'times new roman', times; font-size: medium;">
<xsl:value-of select="wnio:O"/>
</span>
</p>
</td>
<td style="border: solid black 1.0pt; border-top: none; padding: 0cm 5.4pt 0cm 5.4pt;" valign="top">
<p align="center" style="text-align: center; margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-family: 'times new roman', times; font-size: medium;">
<xsl:call-template name="substitute">
<xsl:with-param name="string" select="wnio:P"/>
</xsl:call-template>
</span>
</p>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
<p style="line-height: 125%; margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-family: 'times new roman', times; font-size: medium;">wykaz drzew i krzewów może być złożony jako załącznik do wniosku:
wniosku
</span>
</p>
<p style="text-align: justify; line-height: 115%; margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-family: 'times new roman', times; font-size: medium;">Przewidywany termin rozpoczęcia prac: <xsl:call-template name="substitute">
<xsl:with-param name="string" select="wnio:TrescDokumentu/wnio:Wartosc/ID17"/>
</xsl:call-template>
</span>
</p>
<p style="text-align: justify; line-height: 115%; margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-family: 'times new roman', times; font-size: medium;">Przewidywany termin zakończenia prac: <xsl:call-template name="substitute">
<xsl:with-param name="string" select="wnio:TrescDokumentu/wnio:Wartosc/ID18"/>
</xsl:call-template>
</span>
</p>
<p style="text-align: justify; margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-family: 'times new roman', times; font-size: medium;">
<br/>
</span>
</p>
<p style="text-align: justify; margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-family: 'times new roman', times; font-size: medium;">
<span style="text-decoration: underline;">Załączniki</span>:
</span>
</p>
<p style="text-align: justify; margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-family: 'times new roman', times; font-size: medium;"> </span>
</p>
<ol start="1" style="margin-top: 0cm; margin-bottom: 0cm;" type="1">
<li style="text-align: justify; margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-size: medium; font-family: 'times new roman', times;">Aktualny dokument stwierdzającego tytuł prawny wnioskodawcy do władania nieruchomością zgodnie z art. 36 ust. 5 ustawy o ochronie zabytków i opiece nad zabytkami, lub oświadczenie wnioskodawcy o posiadaniu tego tytułu, pod rygorem odpowiedzialności karnej za składanie fałszywych zeznań.
</span>
</li>
</ol>
<p style="margin: 0cm 0cm 0.0001pt 36pt; text-align: justify; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-size: medium; font-family: 'times new roman', times;">
<xsl:call-template name="Zalaczniki">
<xsl:with-param name="zalaczniki" select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID29"/>
</xsl:call-template>
</span>
</p>
<ol start="2" style="margin-top: 0cm; margin-bottom: 0cm;" type="1">
<li style="text-align: justify; margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-size: medium; font-family: 'times new roman', times;">Harmonogram prac pielęgnacyjnych, sporządzony przez wykonawcę prac, spełniającego wymogi na podstawie art. 37 b ustawy z dnia 23 lipca 2003 roku o ochronie zabytków i opiece nad zabytkami.
</span>
</li>
</ol>
<p style="margin: 0cm 0cm 0.0001pt 36pt; text-align: justify; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-size: medium; font-family: 'times new roman', times;">
<xsl:call-template name="Zalaczniki">
<xsl:with-param name="zalaczniki" select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID30"/>
</xsl:call-template>
</span>
</p>
<p style="margin: 0cm 0cm 0.0001pt 36pt; text-align: justify; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-size: medium; font-family: 'times new roman', times;"> </span>
</p>
<ol start="3" style="margin-top: 0cm; margin-bottom: 0cm;" type="1">
<li style="text-align: justify; margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-size: medium; font-family: 'times new roman', times;">Mapa (wyrys geodezyjny) terenu z zaznaczoną lokalizacją drzew/krzewów, odpowiadającą w/w wykazowi, albo rysunek wykonany przez osobę sporządzającą harmonogram prac.
</span>
</li>
</ol>
<p style="margin: 0cm 0cm 0.0001pt 36pt; text-align: justify; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-size: medium; font-family: 'times new roman', times;">
<xsl:call-template name="Zalaczniki">
<xsl:with-param name="zalaczniki" select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID31"/>
</xsl:call-template>
</span>
</p>
<ol start="4" style="margin-top: 0cm; margin-bottom: 0cm;" type="1">
<li style="text-align: justify; margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-size: medium; font-family: 'times new roman', times;">Dokumentacja fotograficzna drzew/krzewów wnioskowanych do pielęgnacji.
</span>
</li>
</ol>
<p style="margin: 0cm 0cm 0.0001pt 36pt; text-align: justify; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-size: medium; font-family: 'times new roman', times;">
<xsl:call-template name="Zalaczniki">
<xsl:with-param name="zalaczniki" select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID32"/>
</xsl:call-template>
</span>
</p>
<ol start="5" style="margin-top: 0cm; margin-bottom: 0cm;" type="1">
<li style="text-align: justify; margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-size: medium; font-family: 'times new roman', times;">Dowód uiszczenia opłaty skarbowej w wysokości 82,00
złotych za wydanie pozwolenia
<xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:OplatyDodatkowe/@op='true'">
</xsl:if>
</span>
</li>
</ol>
<p style="margin: 0cm 0cm 0.0001pt 36pt; text-align: justify; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-size: medium; font-family: 'times new roman', times;">
<xsl:call-template name="Zalaczniki">
<xsl:with-param name="zalaczniki" select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID33"/>
</xsl:call-template>
</span>
</p>
<ol start="6" style="margin-top: 0cm; margin-bottom: 0cm;" type="1">
<li style="text-align: justify; margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-size: medium; font-family: 'times new roman', times;">Dowód uiszczenia opłaty skarbowej w wysokości 82,00
złotych za wydanie pozwolenia
<xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:OplatyDodatkowe/@op='true'">
<br/><strong>[X] </strong> Zaznacz
jeżeli opłatę skarbową za pełnomocnitwo należy doliczyć do opłaty online
</xsl:if>
</span>
</li>
</ol>
<p style="margin: 0cm 0cm 0.0001pt 36pt; text-align: justify; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-size: medium; font-family: 'times new roman', times;">
<xsl:call-template name="Zalaczniki">
<xsl:with-param name="zalaczniki" select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID34"/>
</xsl:call-template>
</span>
</p>
<p style="text-align: justify; margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="text-decoration: underline; font-family: 'times new roman', times; font-size: medium;">Informacje dodatkowe:</span>
</p>
<ol>
<xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Informacje/wnio:Informacja">
<li>
<p>
<xsl:value-of select="."/>
</p>
</li>
</xsl:for-each>
</ol>
<xsl:call-template name="Podpis"/>
</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="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:if test="string-length($id/inst:InnyIdentyfikator/inst:WartoscIdentyfikatora) > 0">
<xsl:if test="string-length($id/inst:InnyIdentyfikator/inst:TypIdentyfikatora) > 0">
<xsl:value-of select="$id/inst:InnyIdentyfikator/inst:TypIdentyfikatora"/>
<xsl:value-of select="': '"/>
</xsl:if>
<xsl:value-of select="$id/inst:InnyIdentyfikator/inst:WartoscIdentyfikatora"/>
<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="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="$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"/>
<xsl:param name="inline" select="'false'"/>
<xsl:for-each select="$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="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="Adres">
<xsl:param name="adres"/>
<xsl:param name="inline" select="'false'"/>
<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 test="string-length($adres/adr:Ulica) = 0">
<xsl:value-of select="' '"/>
<xsl:value-of select="$adres/adr:Budynek"/>
<xsl:if test="string-length($adres/adr:Budynek) > 0">
<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:if>
</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: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: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="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="Podpis">
<span class="du-col-12 du-right">
<xsl:choose>
<xsl:when test="string-length(//wnio:Dokument/ds:Signature/ds:SignatureValue) > 0">
<br/>
<span>Dokument został podpisany, aby go zweryfikować należy użyć oprogramowania
do weryfikacji podpisu. </span>
<xsl:choose>
<xsl:when test="count(//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']) > 1">
<xsl:text>Daty złożenia podpisu: </xsl:text>
<br/>
<xsl:for-each select="//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']">
<span class="du-margin-left du-italic">
<xsl:value-of select="."/>
</span>
<br/>
</xsl:for-each>
</xsl:when>
<xsl:when test="count(//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']) = 1">
<xsl:text>Data złożenia podpisu: </xsl:text>
<br/>
<span class="du-margin-left du-italic">
<xsl:for-each select="//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']">
<xsl:value-of select="."/>
</xsl:for-each>
</span>
</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>
<br/>
<div class="du-bold du-margin-left du-italic">
<xsl:text>Dokument nie zawiera podpisu</xsl:text>
</div>
<br/>
</xsl:otherwise>
</xsl:choose>
</span>
</xsl:template>
<xsl:template name="Zalaczniki">
<xsl:param name="zalaczniki" select="wnio:TrescDokumentu/wnio:Wartosc/str:Zalaczniki"/>
<xsl:if test="count($zalaczniki/str:Zalacznik) > 0">
<xsl:for-each select="$zalaczniki/str:Zalacznik[@nazwaPliku != '']">
<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"> - </xsl:if>
<xsl:if test="string-length(str:OpisZalacznika) > 0">
<xsl:value-of select="str:OpisZalacznika"/>
</xsl:if>
</xsl:if>
</xsl:for-each>
</xsl:if>
</xsl:template>
</xsl:stylesheet>