9811
ID | 9811 |
Data | 2020-07-27 |
Symbol | 2020/07/27/9811 |
Instytucja | Wojewódzki Urząd Ochrony Zabytków w Krakowie |
Nazwa | Wniosek o wydanie zaświadczenia, że nieruchomość jest lub nie jest wpisana do rejestru zabytków lub objęta inną formą ochrony konserwatorskiej |
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/07/27/9811/" 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>
<h1 style="margin: 0cm 0cm 12pt; break-after: auto; text-align: center; font-size: 14pt; font-family: Calibri, sans-serif;">Wniosek o wydanie zaświadczenia</h1>
<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>
<h4 align="center" style="margin: 2pt 0cm 6pt; text-align: center; break-after: auto; font-size: 11pt; font-family: Calibri, sans-serif; font-weight: normal;">
<strong>
<span style="font-size: 14.0pt;">Wniosek</span>
</strong>
</h4>
<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>
<h5 style="line-height: 150%; break-after: auto; margin: 2pt 0cm 0.0001pt; text-align: justify; font-size: 11pt; font-family: Calibri, sans-serif; font-weight: normal;">
<span style="font-size: 12.0pt; line-height: 150%;">Wnoszę o wydanie
zaświadczenia, że nieruchomość (podać dokładny adres, nr
działki):</span>
</h5>
<p>
<span style="font-size: 12.0pt; line-height: 150%;">
<xsl:call-template name="substitute">
<xsl:with-param name="string" select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID7"/>
</xsl:call-template>
</span>
</p>
<h5 style="line-height: 150%; break-after: auto; margin: 2pt 0cm 0.0001pt; text-align: justify; font-size: 11pt; font-family: Calibri, sans-serif; font-weight: normal;">
<span style="font-size: 12.0pt; line-height: 150%;"><span><label><span/></label><xsl:if test="true()"><span><xsl:choose><xsl:when test="normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID8) = normalize-space(' 1 ')"><span>[<b>X</b>]
</span></xsl:when><xsl:otherwise><span>[ ]
</span></xsl:otherwise></xsl:choose><label><span>jest
</span></label></span><span><xsl:choose><xsl:when test="normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID8) = normalize-space(' 2 ')"><span>[<b>X</b>]
</span></xsl:when><xsl:otherwise><span>[ ]
</span></xsl:otherwise></xsl:choose><label><span>nie
jest </span></label></span></xsl:if></span> wpisana
do rejestru zabytków lub objęta inną formą ochrony
konserwatorskiej.</span>
</h5>
<h5 style="line-height: 150%; break-after: auto; margin: 2pt 0cm 0.0001pt; text-align: justify; font-size: 11pt; font-family: Calibri, sans-serif; font-weight: normal;">
<strong>
<span style="font-size: 12.0pt; line-height: 150%;">Podać cel wydania
zaświadczenia:</span>
</strong>
</h5>
<p>
<span style="font-size: 12.0pt; line-height: 150%;">
<span>
<label>
<span/>
</label>
<xsl:if test="true()">
<span>
<xsl:choose>
<xsl:when test="normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID9) = normalize-space(' 1 ')">
<span>[<b>X</b>] </span>
</xsl:when>
<xsl:otherwise>
<span>[ ] </span>
</xsl:otherwise>
</xsl:choose>
<label>
<span>Do celów podatkowych </span>
</label>
</span>
<br/>
<span>
<xsl:choose>
<xsl:when test="normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID9) = normalize-space(' 2 ')">
<span>[<b>X</b>] </span>
</xsl:when>
<xsl:otherwise>
<span>[ ] </span>
</xsl:otherwise>
</xsl:choose>
<label>
<span>Do wniosku o dotację </span>
</label>
</span>
<br/>
<span>
<xsl:choose>
<xsl:when test="normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID9) = normalize-space(' 3 ')">
<span>[<b>X</b>] </span>
</xsl:when>
<xsl:otherwise>
<span>[ ] </span>
</xsl:otherwise>
</xsl:choose>
<label>
<span>Inne </span>
</label>
</span>
</xsl:if>
</span>
</span>
</p>
<xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID10[wnio:TrescDokumentu/wnio:Wartosc/wnio:ID11 != '']">
<xsl:if test="true()">
<em>(podać jakie):</em>
<br/>
<xsl:call-template name="substitute">
<xsl:with-param name="string" select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID11"/>
</xsl:call-template>
</xsl:if>
</xsl:for-each>
<p>
<strong>Załączniki: </strong>
</p>
<p>
1. Opłata skarbowa za pełnomocnictwo
<br/>
<xsl:call-template name="Zalacznik">
<xsl:with-param name="zalacznik" select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ZalacznikiFormalne/wnio:Zalacznik[1]/str:Zalacznik"/>
</xsl:call-template>
</p>
<xsl:if test="count(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID14/str:Zalaczniki/str:Zalacznik[@nazwaPliku != '']) > 0">
<p> Pozostałe załączniki: </p>
<xsl:call-template name="Zalaczniki"/>
</xsl:if>
<p>
<strong>Informacje dodatkowe:</strong>
</p>
<p>
<ol style="padding-top: 0px;margin-top: 0px;">
<xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Informacje/wnio:Informacja">
<xsl:if test="string-length(.) > 0">
<li>
<p>
<xsl:value-of select="."/>
</p>
</li>
</xsl:if>
</xsl:for-each>
</ol>
</p>
<xsl:call-template name="Podpis"/>
</body>
</html>
</xsl:for-each>
</xsl:template>
<xsl:template name="Zalacznik">
<xsl:param name="zalacznik" select="wnio:TrescDokumentu/str:Zalaczniki/str:Zalacznik"/>
<xsl:for-each select="$zalacznik[@nazwaPliku != '']">
<strong>
<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>
</strong>
</xsl:for-each>
</xsl:template>
<xsl:template name="Zalaczniki">
<xsl:param name="zalaczniki" select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID14/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="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="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="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:stylesheet>