2791
ID | 2791 |
Data | 2015-10-20 |
Symbol | 2015/10/20/2791 |
Instytucja | Ministerstwo Infrastruktury i Rozwoju |
Nazwa | Wniosek o wydanie wypisu i wyrysu ze studium uwarunkowań i kierunków zagospodarowania przestrzennego |
Czy Aktualny | 1 |
---|
Ustawy (1)
URI://Dziennik_Ustaw/2014/1114/16b/1 | Art. 16b ust. 1 ustawy z dnia 17 lutego 2005 r. o informatyzacji działalności podmiotów realizujących zadania publiczne (t. j. z 2014r. poz. 1114) |
---|
Pliki
Styl
<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" xmlns:adr="http://crd.gov.pl/xml/schematy/adres/2009/11/09/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:str="http://crd.gov.pl/xml/schematy/struktura/2009/11/16/" xmlns:wnio="http://crd.gov.pl/wzor/2015/10/20/2791/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0">
<xsl:template match="wnio:Dokument">
<html>
<head>
<style type="text/css">
.tabelka {
}
.tabelka td {
padding : 3px;
font-size : 18px;
}
.tabelka .sekcja {
color : #FFFFFF !important;
background-color : #315228;
}
.tabelka .label,
.tabelka p {
color : #101010;
font-family : verdana, arial, helvetica, sans-serif;
font-size : 18px;
font-style : normal;
font-variant : normal;
font-weight : bold;
}
.textarea {
height : 150px;
width : 98%;
}
.wt input {
width : 300px;
}
.im input {
width : 370px;
}
.im2 input {
width : 420px;
}
.im3 input {
width : 320px;
}
.im4 input {
width : 60px;
}
.sz .xforms-deselected,
.sz .xforms-selected {
margin-right : 20px;
}
.kraje select {
width : 330px;
}
.up select {
width : 232px;
}
.wyniki select {
height : 130px;
width : 880px !important;
}
.xforms-repeat-selected-item-1 {background-color: #E8E8E8;}
.xforms-invalid input[type="text"], .xforms-invalid textarea, textarea.xforms-invalid{
background-color: white;
color: #ff0000;
border: 1px solid #ff0000 !important;
border-radius: 4px;
}
.xforms-invalid select[type="text"], .xforms-invalid select, select.xforms-invalid{
background-color: transparent !important;
color: #ff0000;
border: 1px solid #ff0000 !important;
border-radius: 4px;
}
.adres select{
width: 370px;}
.krotkie input { width : 60px; }
</style>
</head>
<body style="width: 98%;color: #101010;background: #F3F6FB">
<table border="0" cellpadding="2" cellspacing="0" class="tabelka" style="width: 100%;font-family: verdana, arial, helvetica, sans-serif;font-size: 18px;">
<tr>
<td style="background: #15508C;height: 25px;text-align: center;font-weight: bold;color:#F8F9FB;font-size: 18px">
<xsl:value-of select="wnio:TrescDokumentu/wnio:NazwaDokumentu"/>
</td>
</tr>
<tr>
<td style="background: #fff;border: 1px solid #BCBCBC;border-top-width: 0px;padding-left: 20px;">
<table border="0" cellpadding="3" cellspacing="0">
<tr>
<td>
Podstawa prawna: art. 30 ust. 1 Ustawy z dnia 27 marca 2003 r. o planowaniu <br/> i zagospodarowaniu przestrzennym (Dz. U. z 2015 r. poz. 199 i 443).
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="height: 10px"/>
</tr>
<tr>
<td style="background: #DCDCDC;border: 1px solid #BCBCBC;height: 35px;text-align: left; padding-left: 20px;font-weight: bold; font-size: 18px;">ADRESAT</td>
</tr>
<tr>
<td style="background: #fff;border: 1px solid #BCBCBC;border-top-width: 0px;padding-left: 20px;">
<xsl:choose>
<xsl:when test="count(wnio:TrescDokumentu/wnio:Adresat)>0 and string-length(wnio:TrescDokumentu/wnio:Adresat)!=0">
<xsl:value-of select="wnio:TrescDokumentu/wnio:Adresat"/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td style="height: 10px"/>
</tr>
<tr>
<td style="background: #DCDCDC;border: 1px solid #BCBCBC;height: 35px;text-align: left; padding-left: 20px;font-weight: bold; font-size: 18px;">TREŚĆ WNIOSKU</td>
</tr>
<tr>
<td style="background: #fff;border: 1px solid #BCBCBC;border-top-width: 0px;padding-left: 20px;">
Na podstawie art. 30 ust. 1 Ustawy z dnia 27 marca 2003 r. o planowaniu i zagospodarowaniu przestrzennym (Dz. U. z 2015 r. poz. 199 i 443) wnoszę o wydanie poniżej zaznaczonych dokumentów
<table border="0" cellpadding="3" cellspacing="0" style="border-collapse:collapse;border-spacing:0;">
<tr>
<td colspan="2">
<table style="width: 100%;">
<tr>
<td style="width: 33%;">
<xsl:choose>
<xsl:when test="wnio:TrescDokumentu/wnio:WypisWyrys = 'WYPISU I WYRYSU'">
<input type="checkbox" checked="checked" disabled="disabled"/>
Wypis i Wyrys
</xsl:when>
<xsl:otherwise>
<input type="checkbox" disabled="disabled"/>
Wypis i Wyrys
</xsl:otherwise>
</xsl:choose>
</td>
<td style="width: 33%;">
<xsl:choose>
<xsl:when test="wnio:TrescDokumentu/wnio:WypisWyrys = 'WYPISU'">
<input type="checkbox" checked="checked" disabled="disabled"/>
Wypis
</xsl:when>
<xsl:otherwise>
<input type="checkbox" disabled="disabled"/>
Wypis
</xsl:otherwise>
</xsl:choose>
</td>
<td style="width: 33%;">
<xsl:choose>
<xsl:when test="wnio:TrescDokumentu/wnio:WypisWyrys = 'WYRYSU'">
<input type="checkbox" checked="checked" disabled="disabled"/>
Wyrys
</xsl:when>
<xsl:otherwise>
<input type="checkbox" disabled="disabled"/>
Wyrys
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2">
Nieruchomości położonej w:
</td>
</tr>
<xsl:for-each select="wnio:TrescDokumentu/wnio:Lokalizacja1">
<tr>
<td style="font-size : 18px;" colspan="2">
<b>Lokalizacja</b>
</td>
</tr>
<tr>
<td style="text-align: right; width: 185px;">
<b>Województwo</b>
</td>
<td style="padding-left: 20px">
<xsl:choose>
<xsl:when test="count(wnio:Wojewodztwo)>0 and string-length(wnio:Wojewodztwo)!=0">
<xsl:value-of select="wnio:Wojewodztwo"/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td style="text-align: right;">
<b>Powiat</b>
</td>
<td style="padding-left: 20px">
<xsl:choose>
<xsl:when test="count(wnio:Powiat)>0 and string-length(wnio:Powiat)!=0">
<xsl:value-of select="wnio:Powiat"/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td style="text-align: right;">
<b>Gmina</b>
</td>
<td style="padding-left: 20px; word-break: break-all;">
<xsl:choose>
<xsl:when test="count(wnio:Gmina)>0 and string-length(wnio:Gmina)!=0">
<xsl:value-of select="wnio:Gmina"/>
</xsl:when>
</xsl:choose>
</td>
</tr>
<tr>
<td style="text-align: right;">
<b>Miejscowość</b>
</td>
<td style="padding-left: 20px; word-break: break-all;">
<xsl:choose>
<xsl:when test="count(wnio:Miejscowosc)>0 and string-length(wnio:Miejscowosc)!=0">
<xsl:value-of select="wnio:Miejscowosc"/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td style="text-align: right;">
<b>Ulica</b>
</td>
<td style="padding-left: 20px; word-break: break-all;">
<xsl:choose>
<xsl:when test="count(wnio:Ulica)>0 and string-length(wnio:Ulica)!=0">
<xsl:value-of select="wnio:Ulica"/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td style="text-align: right;">
<b>Nr budynku</b>
</td>
<td style="padding-left: 20px">
<xsl:choose>
<xsl:when test="count(wnio:Budynek)>0 and string-length(wnio:Budynek)!=0">
<xsl:value-of select="wnio:Budynek"/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td style="text-align: left;" colspan="2">
<b>Dla nieruchomości oznaczonej numerem ewidencyjnym / numerami ewidencyjnymi lub innymi identyfikatorami określającymi lokalizację</b>
</td>
</tr>
<tr>
<td style="padding-left: 10px; word-break: break-all;" colspan="2">
<xsl:choose>
<xsl:when test="count(wnio:NrEwidencyjny)>0 and string-length(wnio:NrEwidencyjny)!=0">
<xsl:call-template name="substitute">
<xsl:with-param name="string" select="wnio:NrEwidencyjny"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
<xsl:if test="wnio:TrescDokumentu/wnio:Lokalizacja2/wnio:Warunek = 'true'">
<xsl:for-each select="wnio:TrescDokumentu/wnio:Lokalizacja2">
<tr>
<td style="padding-left: 10px" colspan="2">
<hr/>
</td>
</tr>
<tr>
<td style="font-size : 18px;" colspan="2">
<b>Lokalizacja</b>
</td>
</tr>
<tr>
<td style="text-align: right;">
<b>Miejscowość</b>
</td>
<td style="padding-left: 20px; word-break: break-all;">
<xsl:choose>
<xsl:when test="count(wnio:Miejscowosc)>0 and string-length(wnio:Miejscowosc)!=0">
<xsl:value-of select="wnio:Miejscowosc"/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td style="text-align: right;">
<b>Ulica</b>
</td>
<td style="padding-left: 20px; word-break: break-all;">
<xsl:choose>
<xsl:when test="count(wnio:Ulica)>0 and string-length(wnio:Ulica)!=0">
<xsl:value-of select="wnio:Ulica"/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td style="text-align: right;">
<b>Nr budynku</b>
</td>
<td style="padding-left: 20px">
<xsl:choose>
<xsl:when test="count(wnio:Budynek)>0 and string-length(wnio:Budynek)!=0">
<xsl:value-of select="wnio:Budynek"/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td style="text-align: left;" colspan="2">
<b>Dla nieruchomości oznaczonej numerem ewidencyjnym / numerami ewidencyjnymi lub innymi identyfikatorami określającymi lokalizację</b>
</td>
</tr>
<tr>
<td style="padding-left: 10px; word-break: break-all;" colspan="2">
<xsl:choose>
<xsl:when test="count(wnio:NrEwidencyjny)>0 and string-length(wnio:NrEwidencyjny)!=0">
<xsl:call-template name="substitute">
<xsl:with-param name="string" select="wnio:NrEwidencyjny"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
</xsl:if>
<xsl:if test="wnio:TrescDokumentu/wnio:Lokalizacja3/wnio:Warunek = 'true'">
<xsl:for-each select="wnio:TrescDokumentu/wnio:Lokalizacja3">
<tr>
<td style="padding-left: 10px" colspan="2">
<hr/>
</td>
</tr>
<tr>
<td style="font-size : 18px;" colspan="2">
<b>Lokalizacja</b>
</td>
</tr>
<tr>
<td style="text-align: right;">
<b>Miejscowość</b>
</td>
<td style="padding-left: 20px; word-break: break-all;">
<xsl:choose>
<xsl:when test="count(wnio:Miejscowosc)>0 and string-length(wnio:Miejscowosc)!=0">
<xsl:value-of select="wnio:Miejscowosc"/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td style="text-align: right;">
<b>Ulica</b>
</td>
<td style="padding-left: 20px; word-break: break-all;">
<xsl:choose>
<xsl:when test="count(wnio:Ulica)>0 and string-length(wnio:Ulica)!=0">
<xsl:value-of select="wnio:Ulica"/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td style="text-align: right;">
<b>Nr budynku</b>
</td>
<td style="padding-left: 20px">
<xsl:choose>
<xsl:when test="count(wnio:Budynek)>0 and string-length(wnio:Budynek)!=0">
<xsl:value-of select="wnio:Budynek"/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td style="text-align: left;" colspan="2">
<b>Dla nieruchomości oznaczonej numerem ewidencyjnym / numerami ewidencyjnymi lub innymi identyfikatorami określającymi lokalizację</b>
</td>
</tr>
<tr>
<td style="padding-left: 10px; word-break: break-all;" colspan="2">
<xsl:choose>
<xsl:when test="count(wnio:NrEwidencyjny)>0 and string-length(wnio:NrEwidencyjny)!=0">
<xsl:call-template name="substitute">
<xsl:with-param name="string" select="wnio:NrEwidencyjny"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
</xsl:if>
</table>
</td>
</tr>
<tr>
<td style="height: 10px"/>
</tr>
<tr>
<td style="background: #DCDCDC;border: 1px solid #BCBCBC;height: 35px;text-align: left; padding-left: 20px;font-weight: bold; font-size: 18px;">WNIOSKODAWCA</td>
</tr>
<tr>
<td style="background: #fff;border: 1px solid #BCBCBC;border-top-width: 0px;padding-left: 20px;">
<table border="0" cellpadding="3" cellspacing="0">
<xsl:if test="wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:TypWnioskodawcy = 'osoba'">
<tr>
<td style="text-align: right;">
<b>Imię</b>
</td>
<td style="padding-left: 20px">
<xsl:choose>
<xsl:when test="count(wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:Imie)>0 and string-length(wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:Imie)!=0">
<xsl:value-of select="wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:Imie"/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td style="text-align: right;">
<b>Nazwisko</b>
</td>
<td style="padding-left: 20px">
<xsl:choose>
<xsl:when test="count(wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:Nazwisko)>0 and string-length(wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:Nazwisko)!=0">
<xsl:value-of select="wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:Nazwisko"/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:if>
<xsl:if test="wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:TypWnioskodawcy = 'instytucja'">
<tr>
<td style="text-align: right;">
<b>Nazwa</b>
</td>
<td style="padding-left: 20px;">
<xsl:choose>
<xsl:when test="count(wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:Nazwa)>0 and string-length(wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:Nazwa)!=0">
<xsl:value-of select="wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:Nazwa"/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:if>
<tr>
<td colspan="2" style="padding-top: 20px;">
<p>ADRES ZAMIESZKANIA/SIEDZIBY/DO KORESPONDENCJI</p>
</td>
</tr>
<xsl:for-each select="wnio:TrescDokumentu/wnio:DaneWnioskodawcy">
<tr>
<td style="text-align: right;">
<b>Kraj</b>
</td>
<td style="padding-left: 20px">
<xsl:choose>
<xsl:when test="count(adr:Adres/adr:Kraj)>0 and string-length(adr:Adres/adr:Kraj)!=0">
<xsl:value-of select="../wnio:WnioskodawcaTeryt/wnio:Kraj"/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<xsl:if test="../../wnio:WnioskodawcaTeryt/wnio:Kraj = 'POLSKA'">
<tr>
<td style="text-align: right;">
<b>Województwo</b>
</td>
<td style="padding-left: 20px">
<xsl:choose>
<xsl:when test="count(adr:Adres/adr:Wojewodztwo)>0 and string-length(adr:Adres/adr:Wojewodztwo)!=0">
<xsl:value-of select="adr:Adres/adr:Wojewodztwo"/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td style="text-align: right;">
<b>Powiat</b>
</td>
<td style="padding-left: 20px">
<xsl:choose>
<xsl:when test="count(adr:Adres/adr:Powiat)>0 and string-length(adr:Adres/adr:Powiat)!=0">
<xsl:value-of select="adr:Adres/adr:Powiat"/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td style="text-align: right;">
<b>Gmina</b>
</td>
<td style="padding-left: 20px">
<xsl:choose>
<xsl:when test="count(adr:Adres/adr:Gmina)>0 and string-length(adr:Adres/adr:Gmina)!=0">
<xsl:value-of select="adr:Adres/adr:Gmina"/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:if>
<tr>
<td style="text-align: right;">
<b>Miejscowość</b>
</td>
<td style="padding-left: 20px; word-break: break-all;">
<xsl:choose>
<xsl:when test="count(adr:Adres/adr:Miejscowosc)>0 and string-length(adr:Adres/adr:Miejscowosc)!=0">
<xsl:value-of select="adr:Adres/adr:Miejscowosc"/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td style="text-align: right;">
<b>Ulica</b>
</td>
<td style="padding-left: 20px; word-break: break-all;">
<xsl:choose>
<xsl:when test="count(adr:Adres/adr:Ulica)>0 and string-length(adr:Adres/adr:Ulica)!=0">
<xsl:value-of select="adr:Adres/adr:Ulica"/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td style="text-align: right;">
<b>Nr budynku</b>
</td>
<td style="padding-left: 20px">
<xsl:choose>
<xsl:when test="count(adr:Adres/adr:Budynek)>0 and string-length(adr:Adres/adr:Budynek)!=0">
<xsl:value-of select="adr:Adres/adr:Budynek"/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td style="text-align: right;">
<b>Nr lokalu</b>
</td>
<td style="padding-left: 20px">
<xsl:choose>
<xsl:when test="count(adr:Adres/adr:Lokal)>0 and string-length(adr:Adres/adr:Lokal)!=0">
<xsl:value-of select="adr:Adres/adr:Lokal"/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td style="text-align: right;">
<b>Kod pocztowy</b>
</td>
<td style="padding-left: 20px">
<xsl:choose>
<xsl:when test="count(adr:Adres/adr:KodPocztowy)>0 and string-length(adr:Adres/adr:KodPocztowy)!=0">
<xsl:value-of select="adr:Adres/adr:KodPocztowy"/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td style="text-align: right;">
<b>Poczta</b>
</td>
<td style="padding-left: 20px">
<xsl:choose>
<xsl:when test="count(adr:Adres/adr:Poczta)>0 and string-length(adr:Adres/adr:Poczta)!=0">
<xsl:value-of select="adr:Adres/adr:Poczta"/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
</table>
</td>
</tr>
<tr>
<td style="height: 10px"/>
</tr>
<tr>
<td style="background: #DCDCDC;border: 1px solid #BCBCBC;height: 35px;text-align: left; padding-left: 20px;font-weight: bold; font-size: 18px;">SPOSÓB ODBIORU DOKUMENTÓW
</td>
</tr>
<tr>
<td style="background: #fff;border: 1px solid #BCBCBC;border-top-width: 0px;padding-left: 20px;">
<table border="0" cellpadding="3" cellspacing="0" style="border-collapse:collapse;border-spacing:0;">
<tr>
<td>
<xsl:choose>
<xsl:when test="wnio:TrescDokumentu/wnio:SposobOdbioruDokumentow = '1'">
<input type="checkbox" checked="checked" disabled="disabled"/>
Osobiście przez wnioskodawcę lub pełnomocnika
</xsl:when>
<xsl:otherwise>
<input type="checkbox" disabled="disabled"/>
Osobiście przez wnioskodawcę lub pełnomocnika
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td>
<xsl:choose>
<xsl:when test="wnio:TrescDokumentu/wnio:SposobOdbioruDokumentow = '2'">
<input type="checkbox" checked="checked" disabled="disabled"/>
Listownie, na adres wnioskodawcy
</xsl:when>
<xsl:otherwise>
<input type="checkbox" disabled="disabled"/>
Listownie, na adres wnioskodawcy
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td>
<xsl:choose>
<xsl:when test="wnio:TrescDokumentu/wnio:SposobOdbioruDokumentow = '4'">
<input type="checkbox" checked="checked" disabled="disabled"/>
Elektronicznie, na adres email
</xsl:when>
<xsl:otherwise>
<input type="checkbox" disabled="disabled"/>
Elektronicznie, na adres email
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<xsl:if test="wnio:TrescDokumentu/wnio:SposobOdbioruDokumentow = '4'">
<tr>
<td style="padding-left: 29px;">
<b>Email: </b>
<xsl:choose>
<xsl:when test="wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:TypWnioskodawcy = 'instytucja' and count(wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:EmailFirma)>0 and string-length(wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:EmailFirma)!=0">
<xsl:value-of select="wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:EmailFirma"/>
</xsl:when>
<xsl:when test="wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:TypWnioskodawcy = 'osoba' and count(wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:Email)>0 and string-length(wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:Email)!=0">
<xsl:value-of select="wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:Email"/>
</xsl:when>
</xsl:choose>
</td>
</tr>
</xsl:if>
<tr>
<td>
<xsl:choose>
<xsl:when test="wnio:TrescDokumentu/wnio:SposobOdbioruDokumentow = '3'">
<input type="checkbox" checked="checked" disabled="disabled"/>
Elektronicznie, na konto w ePUAP
</xsl:when>
<xsl:otherwise>
<input type="checkbox" disabled="disabled"/>
Elektronicznie, na konto w ePUAP
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td>
<xsl:choose>
<xsl:when test="wnio:TrescDokumentu/wnio:SposobOdbioruDokumentow = '5'">
<input type="checkbox" checked="checked" disabled="disabled"/>
Inny: <xsl:value-of select="wnio:TrescDokumentu/wnio:InnySposobOdbioruDokumentow"/>
</xsl:when>
<xsl:otherwise>
<input type="checkbox" disabled="disabled"/>
Inny
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="height: 10px"/>
</tr>
<tr>
<td style="background: #DCDCDC;border: 1px solid #BCBCBC;height: 35px;text-align: left; padding-left: 20px;font-weight: bold; font-size: 18px;">OŚWIADCZENIE (zgodnie z Art. 39<sup>1</sup> Kodeksu postępowania administracyjnego)</td>
</tr>
<tr>
<td style="background: #fff;border: 1px solid #BCBCBC;border-top-width: 0px;padding-left: 20px;">
<table border="0" cellpadding="3" cellspacing="0" style="border-collapse:collapse;border-spacing:0;">
<tr>
<td>
<xsl:choose>
<xsl:when test="wnio:TrescDokumentu/wnio:Oswiadczenie = 'oswiadczenie'">
<input type="checkbox" checked="checked" disabled="disabled"/>
Oświadczam, że rezygnuję z prowadzenia dalszej korespondencji w ramach procesu drogą elektroniczną.
</xsl:when>
<xsl:otherwise>
<input type="checkbox" disabled="disabled"/>
Oświadczam, że rezygnuję z prowadzenia dalszej korespondencji w ramach procesu drogą elektroniczną.
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="height: 10px"/>
</tr>
<tr>
<td style="background: #DCDCDC;border: 1px solid #BCBCBC;height: 35px;text-align: left; padding-left: 20px;font-weight: bold; font-size: 18px;">ZAŁĄCZNIKI</td>
</tr>
<tr>
<td style="background: #fff;border: 1px solid #BCBCBC;border-top-width: 0px;">
<table border="0" cellpadding="3" cellspacing="0" style="border-collapse:collapse;border-spacing:0;">
<tr>
<td>
<xsl:call-template name="Zalaczniki"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
<xsl:call-template name="Podpis"/>
</body>
</html>
</xsl:template>
<xsl:template name="Podpis">
<div align="right" style="text-align: right;font-size: 10px;font-family: Verdana;line-height: 20px;">
<table style="float: right;">
<tr>
<td style="width: 340px;">
<p align="center" style="text-align: center;font-size: 10px;font-family: Verdana;line-height: 20px;">
<xsl:choose>
<xsl:when test="string-length(//wnio:Dokument/ds:Signature/ds:SignatureValue) > 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/>
<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="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="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:stylesheet>