810
ID | 810 |
Data | 2012-03-29 |
Symbol | 2012/03/29/810 |
Instytucja | Urząd Miasta Krakowa |
Nazwa | Wniosek o zmianę danych wpisanych do rejestru przedsiębiorców prowadzących ośrodki szkolenia kierowców (niepowodującą rozszerzenia zakresu działalności regulowanej) |
Czy Aktualny | 1 |
---|
Ustawy (1)
URI://Dziennik_Ustaw/2011/206/1216/27/2 | Par. 27 ust. 2 rozporządzenia Prezesa Rady Ministrów z dnia 14 września 2011r. w sprawie sporządzania pism w postaci dokumentów elektronicznych, doręczania dokumentów elektronicznych oraz udostępniania formularzy, wzorów i kopii dokumentów elektronic... |
---|
Pliki
Styl
<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:meta="http://crd.gov.pl/xml/schematy/meta/2009/03/06/" xmlns:str="http://crd.gov.pl/xml/schematy/struktura/2009/03/06/" xmlns:wnio="http://crd.gov.pl/wzor/2012/03/29/810/" version="1.0">
<xsl:output xmlns:ds="http://www.w3.org/2000/09/xmldsig#" encoding="UTF-8" indent="yes" method="html" version="4.0"/>
<xsl:decimal-format xmlns:ds="http://www.w3.org/2000/09/xmldsig#" grouping-separator="." decimal-separator="," name="Polish"/>
<xsl:template xmlns:ds="http://www.w3.org/2000/09/xmldsig#" match="/">
<html>
<head>
<title>
<xsl:value-of select="wnio:Dokument/wnio:Wniosek/wnio:Naglowek/wnio:Nazwa"/>
</title>
<style type="text/css"> body { font-family: Arial; font-size: 10pt; color: #000000; text-align: left}</style>
<style type="text/css"> .gridTable {; border-width: 1px; border-style: solid; border-collapse: collapse; font-size: 8pt; border-color: black}</style>
<style type="text/css"> td { font-family: Arial; font-size: 10pt; color: #000000; text-align: left}</style>
<style type="text/css"> .sectionHeader {font-size: 11pt; font-weight: bold;}</style>
<style type="text/css"> .wniosekHeader {font-size: 12pt; font-weight: bold;}</style>
<style type="text/css"> .section {width:4px; background: #aaaaaa}</style>
<style type="text/css"> .label {background: #eeeeee}</style>
<style type="text/css"> .tableHeader {font-weight: bold;text-align:center; background: #aaaaaa}</style>
</head>
<body>
<xsl:for-each select="wnio:Dokument">
<div style="text-align:right">
<xsl:value-of select="wnio:Wniosek/wnio:Naglowek/wnio:Miejscowosc"/>
<xsl:text>, </xsl:text>
<xsl:value-of select="wnio:Wniosek/wnio:Naglowek/wnio:DataWniosku"/>
</div>
<br/>
<xsl:if test="count(wnio:Wniosek/wnio:Naglowek/wnio:Wnioskodawcy/wnio:Wnioskodawca) = 1">
<span class="sectionHeader">Wnioskodawca</span>
<br/>
<br/>
</xsl:if>
<xsl:if test="count(wnio:Wniosek/wnio:Naglowek/wnio:Wnioskodawcy/wnio:Wnioskodawca) > 1">
<span class="sectionHeader">Wnioskodawcy</span>
<br/>
<br/>
</xsl:if>
<xsl:for-each select="wnio:Wniosek/wnio:Naglowek/wnio:Wnioskodawcy/wnio:Wnioskodawca">
<table>
<tr>
<td class="section"/>
<td>
<xsl:for-each select="wnio:Podmiot[@typ='Osoba']">
<xsl:call-template name="Osoba">
<xsl:with-param select="wnio:Osoba/wnio:Adres" name="adres"/>
<xsl:with-param select="wnio:Osoba" name="osoba"/>
</xsl:call-template>
</xsl:for-each>
<xsl:for-each select="wnio:Podmiot[@typ='Instytucja']">
<xsl:call-template name="Instytucja">
<xsl:with-param select="wnio:Instytucja/wnio:Adres" name="adres"/>
<xsl:with-param select="wnio:Instytucja" name="instytucja"/>
</xsl:call-template>
</xsl:for-each>
<xsl:for-each select="wnio:Reprezentacja/wnio:Reprezentant">
<br/>
<xsl:if test="@typ!='osobiscie'">
<xsl:choose>
<xsl:when test="@typ='przedstawiciel'">Przedstawiciel<br/>
</xsl:when>
<xsl:when test="@typ='pelnomocnik'">Pełnomocnik<br/>
</xsl:when>
</xsl:choose>
<xsl:call-template name="Osoba">
<xsl:with-param select="wnio:Osoba" name="osoba"/>
<xsl:with-param select="wnio:Osoba/wnio:Adres" name="adres"/>
</xsl:call-template>
<br/>
</xsl:if>
<xsl:if test="wnio:DoreczenieZwrotne/@typ!='elektroniczne'">
Doręczenie zwrotne:
<xsl:choose>
<xsl:when test="wnio:DoreczenieZwrotne/@typ='brak'">Brak</xsl:when>
<xsl:when test="wnio:DoreczenieZwrotne/@typ='listowne'">Listowne</xsl:when>
<xsl:when test="wnio:DoreczenieZwrotne/@typ='elektroniczne-listowne'">Elektroniczne i listowne</xsl:when>
<xsl:when test="wnio:DoreczenieZwrotne/@typ='osobiscie'">Odbiór osobisty</xsl:when>
</xsl:choose>
<br/>
<br/>
</xsl:if>
Adres do korespondencji:<br/>
<xsl:if test="wnio:DoreczenieZwrotne/wnio:AdresZwrotny/@typ='inny'">
<xsl:apply-templates select="wnio:DoreczenieZwrotne/wnio:AdresZwrotny/wnio:Adres"/>
<br/>
</xsl:if>
<xsl:if test="wnio:DoreczenieZwrotne/wnio:AdresZwrotny/@typ='wnioskodawcy'">
<xsl:apply-templates select="../../wnio:Podmiot/*/wnio:Adres"/>
<br/>
</xsl:if>
<xsl:if test="wnio:DoreczenieZwrotne/wnio:AdresZwrotny/@typ='pelnomocnika'">
<xsl:apply-templates select="wnio:Osoba/wnio:Adres"/>
<br/>
</xsl:if>
</xsl:for-each>
</td>
</tr>
</table>
<br/>
</xsl:for-each>
<table width="100%">
<tbody>
<tr>
<td/>
<td style="width:300px">
<span class="sectionHeader">Adresat</span>
<br/>
<br/>
<xsl:call-template name="Instytucja">
<xsl:with-param select="wnio:Wniosek/wnio:Naglowek/wnio:Adresat/wnio:Adres" name="adres"/>
<xsl:with-param select="wnio:Wniosek/wnio:Naglowek/wnio:Adresat" name="instytucja"/>
</xsl:call-template>
</td>
</tr>
</tbody>
</table>
<br/>
<br/>
<br/>
<p style="text-align:center">
<span style=";font-size:11pt">
<b>WNIOSEK<br/>
o zmianę danych wpisanych do rejestru przedsiębiorców prowadzących ośrodki szkolenia kierowców<br/>
</b>
</span>
(niepowodującą rozszerzenia zakresu działalności regulowanej)<br/>
podstawa prawna: art. 103 ustawy z dnia 20 czerwca 1997r. - Prawo o ruchu drogowym<br/>
(t.j. Dz. U. z 2005r. Nr 108, poz. 908, z późn. zm.)
</p>
<br/>
<table>
<tr>
<td width="200px" class="label">
<b>Numer w rejestrze działalności regulowanej: </b>
</td>
<td>
<xsl:value-of select="wnio:Wniosek/wnio:Tresc/wnio:NumerWRejestrze"/>
</td>
</tr>
<tr>
<td width="200px" class="label">
<b>Nazwa ośrodka: </b>
</td>
<td>
<xsl:value-of select="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:Nazwa"/>
</td>
</tr>
<tr>
<td width="200px" class="label">
<b>Adres ośrodka: </b>
</td>
<td>
<xsl:for-each select="wnio:Wniosek/wnio:Tresc/wnio:Osrodek">
<xsl:call-template name="AdresOneLine"/>
</xsl:for-each>
</td>
</tr>
<tr>
<td width="200px" class="label">
<b>E-mail ośrodka: </b>
</td>
<td>
<xsl:value-of select="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:Kontakt/wnio:Email"/>
</td>
</tr>
<tr>
<td width="200px" class="label">
<b>WWW ośrodka: </b>
</td>
<td>
<xsl:value-of select="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:Kontakt/wnio:Www"/>
</td>
</tr>
<tr>
<td width="200px" class="label">
<b>Zakres szkolenia: </b>
</td>
<td>
<table cellpadding="0" border="0">
<tr>
<td>
<xsl:call-template name="Checkbox">
<xsl:with-param name="value" select="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:ZakresSzkolenia/@prawoJazdy"/>
</xsl:call-template>
</td>
<td>prawa jazdy kat. </td>
<td style="text-align:center">A1</td>
<td style="text-align:center">A</td>
<td style="text-align:center">B1</td>
<td style="text-align:center">B</td>
<td style="text-align:center">T</td>
<td style="text-align:center">C1</td>
<td style="text-align:center">C</td>
<td style="text-align:center">D1</td>
<td style="text-align:center">D</td>
<td style="text-align:center">BE</td>
<td style="text-align:center">CIE</td>
<td style="text-align:center">CE</td>
<td style="text-align:center">DIE</td>
<td style="text-align:center">DE</td>
</tr>
<tr>
<td/>
<td/>
<td width="30" style="text-align:center">
<xsl:call-template name="Checkbox">
<xsl:with-param name="value" select="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:ZakresSzkolenia/wnio:A1"/>
</xsl:call-template>
</td>
<td width="30" style="text-align:center">
<xsl:call-template name="Checkbox">
<xsl:with-param name="value" select="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:ZakresSzkolenia/wnio:A"/>
</xsl:call-template>
</td>
<td width="30" style="text-align:center">
<xsl:call-template name="Checkbox">
<xsl:with-param name="value" select="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:ZakresSzkolenia/wnio:B1"/>
</xsl:call-template>
</td>
<td width="30" style="text-align:center">
<xsl:call-template name="Checkbox">
<xsl:with-param name="value" select="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:ZakresSzkolenia/wnio:B"/>
</xsl:call-template>
</td>
<td width="30" style="text-align:center">
<xsl:call-template name="Checkbox">
<xsl:with-param name="value" select="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:ZakresSzkolenia/wnio:T"/>
</xsl:call-template>
</td>
<td width="30" style="text-align:center">
<xsl:call-template name="Checkbox">
<xsl:with-param name="value" select="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:ZakresSzkolenia/wnio:C1"/>
</xsl:call-template>
</td>
<td width="30" style="text-align:center">
<xsl:call-template name="Checkbox">
<xsl:with-param name="value" select="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:ZakresSzkolenia/wnio:C"/>
</xsl:call-template>
</td>
<td width="30" style="text-align:center">
<xsl:call-template name="Checkbox">
<xsl:with-param name="value" select="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:ZakresSzkolenia/wnio:D1"/>
</xsl:call-template>
</td>
<td width="30" style="text-align:center">
<xsl:call-template name="Checkbox">
<xsl:with-param name="value" select="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:ZakresSzkolenia/wnio:D"/>
</xsl:call-template>
</td>
<td width="30" style="text-align:center">
<xsl:call-template name="Checkbox">
<xsl:with-param name="value" select="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:ZakresSzkolenia/wnio:BE"/>
</xsl:call-template>
</td>
<td width="30" style="text-align:center">
<xsl:call-template name="Checkbox">
<xsl:with-param name="value" select="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:ZakresSzkolenia/wnio:CIE"/>
</xsl:call-template>
</td>
<td width="30" style="text-align:center">
<xsl:call-template name="Checkbox">
<xsl:with-param name="value" select="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:ZakresSzkolenia/wnio:CE"/>
</xsl:call-template>
</td>
<td width="30" style="text-align:center">
<xsl:call-template name="Checkbox">
<xsl:with-param name="value" select="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:ZakresSzkolenia/wnio:DIE"/>
</xsl:call-template>
</td>
<td width="30" style="text-align:center">
<xsl:call-template name="Checkbox">
<xsl:with-param name="value" select="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:ZakresSzkolenia/wnio:DE"/>
</xsl:call-template>
</td>
</tr>
<tr>
<td>
<xsl:call-template name="Checkbox">
<xsl:with-param name="value" select="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:ZakresSzkolenia/@pozwolenia"/>
</xsl:call-template>
</td>
<td>pozwolenia</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="200px" class="label">
<b>Zmiana dotyczy: </b>
</td>
<td>
<table cellpadding="0" cellspacing="2">
<tr>
<td>
<xsl:call-template name="Checkbox">
<xsl:with-param name="value" select="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:Biura/@dotyczy"/>
</xsl:call-template>
</td>
<td>biur</td>
</tr>
<tr>
<td>
<xsl:call-template name="Checkbox">
<xsl:with-param name="value" select="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:Sale/@dotyczy"/>
</xsl:call-template>
</td>
<td>sal wykładowych</td>
</tr>
<tr>
<td>
<xsl:call-template name="Checkbox">
<xsl:with-param name="value" select="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:Place/@dotyczy"/>
</xsl:call-template>
</td>
<td>placów manewrowych</td>
</tr>
<tr>
<td>
<xsl:call-template name="Checkbox">
<xsl:with-param name="value" select="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:Instruktorzy/@dotyczy"/>
</xsl:call-template>
</td>
<td>instruktorów</td>
</tr>
<tr>
<td>
<xsl:call-template name="Checkbox">
<xsl:with-param name="value" select="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:Pojazdy/@dotyczy"/>
</xsl:call-template>
</td>
<td>pojazdów</td>
</tr>
</table>
</td>
</tr>
</table>
<xsl:if test="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:Biura/@dotyczy='true'">
<p style="font-weight:bold">Biura</p>
<xsl:if test="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:Biura/@jakoZalacznik='true'">
Wymagane informacje na temat biur dołączam w załączniku
</xsl:if>
<xsl:if test="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:Biura/@jakoZalacznik='false'">
<table cellpadding="4" border="1" class="gridTable">
<tr class="tableHeader" style="font-weight:bold;text-align:center">
<td>L.p.</td>
<td>Adres</td>
<td>Tytuł prawny</td>
<td>Telefon</td>
<td>Faks</td>
<td>Godziny otwarcia</td>
</tr>
<xsl:for-each select="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:Biura/wnio:Biuro">
<tr>
<td style="text-align:center">
<center>
<xsl:value-of select="position()"/>
</center>
</td>
<td>
<xsl:call-template name="AdresOneLine"/>
</td>
<td style="text-align:center">
<xsl:call-template name="TytulPrawny"/>
</td>
<td style="text-align:center">
<xsl:value-of select="wnio:Kontakt/wnio:Telefon"/>
</td>
<td style="text-align:center">
<xsl:value-of select="wnio:Kontakt/wnio:Faks"/>
</td>
<td style="text-align:center">
<xsl:value-of select="wnio:GodzinyOtwarcia"/>
</td>
</tr>
</xsl:for-each>
</table>
</xsl:if>
</xsl:if>
<xsl:if test="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:Sale/@dotyczy='true'">
<p style="font-weight:bold">Sale wykładowe</p>
<xsl:if test="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:Sale/@jakoZalacznik='true'">
Wymagane informacje na temat sal wykładowych dołączam w załączniku
</xsl:if>
<xsl:if test="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:Sale/@jakoZalacznik='false'">
<table cellpadding="4" border="1" class="gridTable">
<tr class="tableHeader" style="font-weight:bold;text-align:center">
<td>L.p.</td>
<td>Adres</td>
<td>Tytuł prawny</td>
</tr>
<xsl:for-each select="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:Sale/wnio:Sala">
<tr>
<td style="text-align:center">
<center>
<xsl:value-of select="position()"/>
</center>
</td>
<td>
<xsl:call-template name="AdresOneLine"/>
</td>
<td style="text-align:center">
<xsl:call-template name="TytulPrawny"/>
</td>
</tr>
</xsl:for-each>
</table>
</xsl:if>
</xsl:if>
<xsl:if test="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:Place/@dotyczy='true'">
<p style="font-weight:bold">Place manewrowe</p>
<xsl:if test="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:Place/@jakoZalacznik='true'">
Wymagane informacje na temat placów manewrowych dołączam w załączniku
</xsl:if>
<xsl:if test="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:Place/@jakoZalacznik='false'">
<table cellpadding="4" border="1" class="gridTable">
<tr class="tableHeader" style="font-weight:bold;text-align:center">
<td>L.p.</td>
<td>Adres</td>
<td>Numer posesji</td>
<td>Tytuł prawny</td>
</tr>
<xsl:for-each select="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:Place/wnio:Plac">
<tr>
<td style="text-align:center">
<center>
<xsl:value-of select="position()"/>
</center>
</td>
<td>
<xsl:call-template name="AdresOneLine"/>
</td>
<td style="text-align:center">
<xsl:value-of select="wnio:Posesja"/>
</td>
<td style="text-align:center">
<xsl:call-template name="TytulPrawny"/>
</td>
</tr>
</xsl:for-each>
</table>
</xsl:if>
</xsl:if>
<xsl:if test="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:Instruktorzy/@dotyczy='true'">
<p style="font-weight:bold">Instruktorzy</p>
<xsl:if test="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:Instruktorzy/@jakoZalacznik='true'">
Wymagane informacje na temat instruktorów dołączam w załączniku
</xsl:if>
<xsl:if test="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:Instruktorzy/@jakoZalacznik='false'">
<table cellpadding="4" border="1" class="gridTable">
<tr class="tableHeader" style="font-weight:bold;text-align:center">
<td>L.p.</td>
<td>Imię i Nazwisko</td>
<td>Numer uprawnienia</td>
<td>Zakres uprawnień</td>
</tr>
<xsl:for-each select="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:Instruktorzy/wnio:Instruktor">
<tr>
<td style="text-align:center">
<center>
<xsl:value-of select="position()"/>
</center>
</td>
<td>
<xsl:value-of select="wnio:Imie"/> <xsl:value-of select="wnio:Nazwisko"/>
</td>
<td>
<xsl:value-of select="wnio:NrUprawnienia"/>
</td>
<td>
<xsl:value-of select="wnio:ZakresUprawnien"/>
</td>
</tr>
</xsl:for-each>
</table>
</xsl:if>
</xsl:if>
<xsl:if test="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:Pojazdy/@dotyczy='true'">
<p style="font-weight:bold">Pojazdy </p>
<xsl:if test="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:Pojazdy/@jakoZalacznik='true'">
Wymagane informacje na temat pojazdów dołączam w załączniku
</xsl:if>
<xsl:if test="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:Pojazdy/@jakoZalacznik='false'">
<table cellpadding="4" border="1" class="gridTable">
<tr class="tableHeader" style="font-weight:bold;text-align:center">
<td>L.p.</td>
<td>Marka pojazdu</td>
<td>Nr rejestracyjny</td>
</tr>
<xsl:for-each select="wnio:Wniosek/wnio:Tresc/wnio:Osrodek/wnio:Pojazdy/wnio:Pojazd">
<tr>
<td style="text-align:center">
<center>
<xsl:value-of select="position()"/>
</center>
</td>
<td>
<xsl:value-of select="wnio:Marka"/>
</td>
<td>
<xsl:value-of select="wnio:NrRejestracyjny"/>
</td>
</tr>
</xsl:for-each>
</table>
</xsl:if>
</xsl:if>
<br/>
<xsl:if test="count(wnio:Wniosek/wnio:Stopka/str:Zalaczniki/str:Zalacznik) > 0">
<div style="width:100%; background-color:#eeeeee; font-weight:bold">
<center>ZAŁĄCZNIKI</center>
</div>
<br/>
<xsl:apply-templates select="wnio:Wniosek/wnio:Stopka/str:Zalaczniki"/>
<br/>
<table>
<tr>
<td>
<div style="foat:left; border: solid 1px black; width:13px;height: 13px">
<xsl:if test="wnio:Wniosek/wnio:Stopka/wnio:Zalaczniki/@zgodnoscZOryginalem='true'">
<b>
<center>X</center>
</b>
</xsl:if>
</div>
</td>
<td>Potwierdzenie zgodności wszystkich załączonych dokumentów z oryginałami</td>
</tr>
</table>
</xsl:if>
<br/>
<br/>
<xsl:if test="count(wnio:Wniosek/wnio:Stopka/wnio:Platnosc/*/wnio:OplataEpuap[.!='']) > 0">
<div style="width:100%; background-color:#eeeeee; font-weight:bold">
<center>PŁATNOŚĆ</center>
</div>
<xsl:if test="wnio:Wniosek/wnio:Stopka/wnio:Platnosc/wnio:Wniosek/wnio:OplataEpuap!=''">
<p>
<b>
Opłata kwoty z wniosku
</b>
</p>
<table cellspacing="1" cellpadding="2">
<tr>
<td style="background: #aaaaaa;width:120px">Przez ePUAP:</td>
<td>
<xsl:if test="wnio:Wniosek/wnio:Stopka/wnio:Platnosc/wnio:Wniosek/wnio:OplataEpuap='true'">Tak</xsl:if>
<xsl:if test="wnio:Wniosek/wnio:Stopka/wnio:Platnosc/wnio:Wniosek/wnio:OplataEpuap!='true'">Nie</xsl:if>
</td>
</tr>
<xsl:if test="wnio:Wniosek/wnio:Stopka/wnio:Platnosc/wnio:Wniosek/wnio:OplataEpuap='true'">
<tr>
<td style="background: #aaaaaa">Kwota do zapłaty:</td>
<td>
<xsl:call-template name="Number">
<xsl:with-param select="wnio:Wniosek/wnio:Stopka/wnio:Platnosc/wnio:Wniosek/wnio:Kwota" name="number"/>
</xsl:call-template> zł</td>
</tr>
<xsl:if test="wnio:Wniosek/wnio:Stopka/wnio:Platnosc/wnio:Wniosek/wnio:Tytul">
<tr>
<td style="background: #aaaaaa">Tytuł:</td>
<td>
<xsl:value-of select="wnio:Wniosek/wnio:Stopka/wnio:Platnosc/wnio:Wniosek/wnio:Tytul"/>
</td>
</tr>
</xsl:if>
</xsl:if>
</table>
</xsl:if>
<xsl:if test="wnio:Wniosek/wnio:Stopka/wnio:Platnosc/wnio:Pelnomocnictwa/wnio:OplataEpuap!=''">
<p>
<b>Opłaty z tytułu pełnomocnictw</b>
</p>
<table cellspacing="1" cellpadding="2">
<tr>
<td style="background: #aaaaaa;width:120px">Przez ePUAP:</td>
<td>
<xsl:if test="wnio:Wniosek/wnio:Stopka/wnio:Platnosc/wnio:Pelnomocnictwa/wnio:OplataEpuap='true'">Tak</xsl:if>
<xsl:if test="wnio:Wniosek/wnio:Stopka/wnio:Platnosc/wnio:Pelnomocnictwa/wnio:OplataEpuap!='true'">Nie</xsl:if>
</td>
</tr>
<xsl:if test="wnio:Wniosek/wnio:Stopka/wnio:Platnosc/wnio:Pelnomocnictwa/wnio:OplataEpuap='true'">
<tr>
<td style="background: #aaaaaa">Kwota do zapłaty:</td>
<td>
<xsl:call-template name="Number">
<xsl:with-param select="wnio:Wniosek/wnio:Stopka/wnio:Platnosc/wnio:Pelnomocnictwa/wnio:Kwota" name="number"/>
</xsl:call-template> zł</td>
</tr>
<xsl:if test="wnio:Wniosek/wnio:Stopka/wnio:Platnosc/wnio:Pelnomocnictwa/wnio:Tytul">
<tr>
<td style="background: #aaaaaa">Tytuł:</td>
<td>
<xsl:value-of select="wnio:Wniosek/wnio:Stopka/wnio:Platnosc/wnio:Pelnomocnictwa/wnio:Tytul"/>
</td>
</tr>
</xsl:if>
</xsl:if>
</table>
<br/>
<xsl:if test="wnio:Wniosek/wnio:Stopka/wnio:Platnosc/wnio:Pelnomocnictwa/wnio:OplataEpuap='true'">
<table class="gridTable" border="1" cellpadding="2">
<tr class="tableHeader">
<td style="text-align:center">L.p.</td>
<td style="text-align:center">Wnioskodawca</td>
<td style="text-align:center">Pełnomocnik</td>
<td style="text-align:center">Już dostarczone</td>
<td style="text-align:center">Zwolnienie</td>
<td style="text-align:center">Oryginał / Kopia</td>
<td style="text-align:center">Opłata za pełnomocnictwo</td>
<td style="text-align:center">Opłata za potwierdzenie zgodności kopii z oryginałem</td>
<td style="text-align:center">Kwota razem</td>
</tr>
<xsl:for-each select="wnio:Wniosek/wnio:Naglowek/wnio:Wnioskodawcy/wnio:Wnioskodawca/wnio:Reprezentacja/wnio:Reprezentant[@typ='pelnomocnik']/wnio:Oplata">
<tr>
<td style="text-align:center">
<xsl:value-of select="position()"/>
</td>
<td style="text-align:center">
<xsl:value-of select="../../../wnio:Podmiot/wnio:Instytucja/wnio:Nazwa"/>
<xsl:value-of select="../../../wnio:Podmiot/wnio:Osoba/wnio:Imie"/> <xsl:value-of select="../../../wnio:Podmiot/wnio:Osoba/wnio:Nazwisko"/>
</td>
<td style="text-align:center">
<xsl:value-of select="../wnio:Osoba/wnio:Imie"/> <xsl:value-of select="../wnio:Osoba/wnio:Nazwisko"/>
</td>
<td style="text-align:center">
<xsl:if test="@zlozone='true'">Tak</xsl:if>
<xsl:if test="@zlozone='false'">Nie</xsl:if>
</td>
<td style="text-align:center">
<xsl:if test="@zwolnienie='true'">Tak</xsl:if>
<xsl:if test="@zwolnienie='false'">Nie</xsl:if>
</td>
<td style="text-align:center">
<xsl:if test="@oryginal='true'">Oryginał</xsl:if>
<xsl:if test="@oryginal='false'">Kopia</xsl:if>
</td>
<td style="text-align:center">
<xsl:call-template name="Number">
<xsl:with-param select="wnio:Kwota" name="number"/>
</xsl:call-template> zł
</td>
<td width="100" style="text-align:center">
<xsl:call-template name="Number">
<xsl:with-param select="wnio:Potwierdzenie" name="number"/>
</xsl:call-template> zł
</td>
<td width="100" style="text-align:center">
<xsl:call-template name="Number">
<xsl:with-param select="wnio:Razem" name="number"/>
</xsl:call-template> zł
</td>
</tr>
</xsl:for-each>
<xsl:if test="count(wnio:Wniosek/wnio:Naglowek/wnio:Wnioskodawcy/wnio:Wnioskodawca/wnio:Reprezentacja/wnio:Reprezentant[@typ='pelnomocnik']/wnio:Oplata) = 0">
<tr>
<td style="text-align:center" colspan="9">Nie występują we wniosku pełnomocnicy</td>
</tr>
</xsl:if>
</table>
</xsl:if>
</xsl:if>
<xsl:if test="count(wnio:Wniosek/wnio:Stopka/wnio:Platnosc/*/wnio:OplataEpuap[.='']) = 0">
<p>
<b>Podsumowanie</b>
</p>
<table cellspacing="1" cellpadding="2">
<tr>
<td style="background: #aaaaaa;width:120px">Kwota płatności razem: </td>
<td>
<xsl:call-template name="Number">
<xsl:with-param select="wnio:Wniosek/wnio:Stopka/wnio:Platnosc/wnio:KwotaRazem" name="number"/>
</xsl:call-template> zł</td>
</tr>
<xsl:if test="wnio:Wniosek/wnio:Stopka/wnio:Platnosc/wnio:Tytul">
<tr>
<td style="background: #aaaaaa">Tytuł:</td>
<td>
<xsl:value-of select="wnio:Wniosek/wnio:Stopka/wnio:Platnosc/wnio:Tytul"/>
</td>
</tr>
</xsl:if>
</table>
<br/>
</xsl:if>
<br/>
<div style="width:100%; background-color:#eeeeee; font-weight:bold"/>
<br/>
</xsl:if>
<b>Wyrażam zgodę na wymianę korespondencji drogą elektroniczną: </b>
<xsl:choose>
<xsl:when test="wnio:Wniosek/wnio:Naglowek/wnio:Wnioskodawcy/wnio:Wnioskodawca/wnio:ZgodaNaKorespondencjeElektroniczna='true'">Tak</xsl:when>
<xsl:otherwise>Nie</xsl:otherwise>
</xsl:choose>
<br/>
<br/>
<div style="width:100%; background-color:#eeeeee; font-weight:bold">
<center>PODPIS ELEKTRONICZNY</center>
</div>
<br/>
<xsl:choose>
<xsl:when test="string-length(//wnio:Dokument/ds:Signature/ds:SignatureValue) > 0">
Dokument został podpisany, aby go zweryfikować należy użyć oprogramowania do weryfikacji podpisu<br/>
<br/>
<xsl:choose>
<xsl:when test="count(//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']) > 1">
Podpisy:<br/>
<br/>
<table class="gridTable" border="1" cellpadding="2">
<tr class="tableHeader">
<td style="text-align:center">L.p.</td>
<td style="text-align:center">Data złożenia podpisu</td>
</tr>
<xsl:for-each select="//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']">
<tr>
<td style="text-align:center">
<xsl:value-of select="position()"/>.</td>
<td>
<xsl:value-of select="."/>
</td>
</tr>
</xsl:for-each>
</table>
</xsl:when>
<xsl:when test="1 = count(//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime'])">
Daty złożenia podpisu:
<xsl:value-of select="//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>
</xsl:for-each>
</body>
</html>
</xsl:template>
<xsl:template xmlns:ds="http://www.w3.org/2000/09/xmldsig#" match="wnio:Podmiot">
<xsl:if test="@typ='Osoba'">
<xsl:call-template name="Osoba">
<xsl:with-param select="wnio:Osoba/wnio:Adres" name="adres"/>
<xsl:with-param select="wnio:Osoba" name="osoba"/>
</xsl:call-template>
</xsl:if>
<xsl:if test="@typ='Instytucja'">
<xsl:call-template name="Instytucja">
<xsl:with-param select="wnio:Instytucja/wnio:Adres" name="adres"/>
<xsl:with-param select="wnio:Instytucja" name="instytucja"/>
</xsl:call-template>
</xsl:if>
</xsl:template>
<xsl:template xmlns:ds="http://www.w3.org/2000/09/xmldsig#" name="Osoba">
<xsl:param name="adres"/>
<xsl:param name="osoba"/>
<b>
<xsl:value-of select="$osoba/wnio:Imie"/>
<xsl:text> </xsl:text>
<xsl:if test="count($osoba/wnio:Nazwisko) > 0">
<xsl:if test="count($osoba/wnio:Nazwisko) = 1">
<xsl:value-of select="$osoba/wnio:Nazwisko"/>
<br/>
</xsl:if>
<xsl:if test="count($osoba/wnio:Nazwisko) > 1">
<xsl:value-of select="$osoba/wnio:Nazwisko[@rodzajCzlonu='pierwszy']"/>
-
<xsl:value-of select="$osoba/wnio:Nazwisko[@rodzajCzlonu='drugi']"/>
<br/>
</xsl:if>
</xsl:if>
</b>
<xsl:if test="$osoba/wnio:DataUrodzenia != ''">
<xsl:text>Data ur.: </xsl:text>
<xsl:value-of select="$osoba/wnio:DataUrodzenia"/>
<br/>
</xsl:if>
<xsl:if test="$osoba/wnio:ImieOjca">
<xsl:text>Imię ojca: </xsl:text>
<xsl:value-of select="$osoba/wnio:ImieOjca"/>
<br/>
</xsl:if>
<xsl:if test="$osoba/wnio:ImieMatki">
<xsl:text>Imię matki: </xsl:text>
<xsl:value-of select="$osoba/wnio:ImieMatki"/>
<br/>
</xsl:if>
<xsl:if test="$adres">
<xsl:apply-templates select="$adres"/>
<br/>
</xsl:if>
<xsl:for-each select="$osoba/wnio:Identyfikatory/wnio:PESEL[text() != '']">
<xsl:text>PESEL: </xsl:text>
<xsl:value-of select="."/>
<br/>
</xsl:for-each>
<xsl:for-each select="$osoba/wnio:Identyfikatory/wnio:NrDowodu[. != '']">
<xsl:text>Seria i nr dowodu: </xsl:text>
<xsl:value-of select="."/>
<br/>
</xsl:for-each>
<xsl:for-each select="$osoba/wnio:Identyfikatory/wnio:REGON[text() != '']">
<xsl:text>REGON: </xsl:text>
<xsl:value-of select="."/>
<br/>
</xsl:for-each>
<xsl:for-each select="$osoba/wnio:Identyfikatory/wnio:EDG">
<xsl:if test="@centralnie='true'">
<xsl:text>Działalność gospodarcza zarejestrowana w CEIDG</xsl:text>
</xsl:if>
<xsl:if test="@centralnie='false'">
<xsl:text>Wpis numer </xsl:text>
<xsl:value-of select="wnio:Numer"/> w ewidencji działalności gospodarczej <br/>prowadzonej przez: <xsl:value-of select="wnio:Prowadzacy"/>
</xsl:if>
<br/>
</xsl:for-each>
<xsl:for-each select="$osoba/wnio:Identyfikatory/wnio:NIP[text() != '']">
<xsl:text> NIP: </xsl:text>
<xsl:value-of select="."/>
<br/>
</xsl:for-each>
<xsl:for-each select="$osoba/wnio:Kontakt[wnio:Telefon != '']">
<xsl:text>Telefon: </xsl:text>
<xsl:value-of select="wnio:Telefon"/>
<br/>
</xsl:for-each>
<xsl:for-each select="$osoba/wnio:Kontakt[wnio:Faks != '']">
<xsl:text>Faks: </xsl:text>
<xsl:value-of select="wnio:Faks"/>
<br/>
</xsl:for-each>
<xsl:for-each select="$osoba/wnio:Kontakt[wnio:Email!= '']">
<xsl:text>E-mail: </xsl:text>
<xsl:value-of select="wnio:Email"/>
<br/>
</xsl:for-each>
</xsl:template>
<xsl:template xmlns:ds="http://www.w3.org/2000/09/xmldsig#" name="Instytucja">
<xsl:param name="adres"/>
<xsl:param name="instytucja"/>
<b>
<xsl:value-of select="$instytucja/wnio:Nazwa"/>
</b>
<br/>
<xsl:if test="$instytucja/wnio:KomorkaOrg/wnio:Nazwa != ''">
<b>
<xsl:if test="$instytucja/wnio:KomorkaOrg/wnio:Kod != ''">
<xsl:value-of select="$instytucja/wnio:KomorkaOrg/wnio:Kod"/> -
</xsl:if>
<xsl:value-of select="$instytucja/wnio:KomorkaOrg/wnio:Nazwa"/>
</b>
<br/>
</xsl:if>
<xsl:apply-templates select="$adres"/>
<br/>
<xsl:for-each select="$instytucja/wnio:Identyfikatory/wnio:NIP[text() != '']">
<xsl:text> NIP: </xsl:text>
<xsl:value-of select="."/>
<br/>
</xsl:for-each>
<xsl:for-each select="$instytucja/wnio:Identyfikatory/wnio:REGON[text() != '']">
<xsl:text> REGON: </xsl:text>
<xsl:value-of select="."/>
<br/>
</xsl:for-each>
<xsl:for-each select="$instytucja/wnio:Identyfikatory/wnio:KRS[text() != '']">
<xsl:text>KRS: </xsl:text>
<xsl:value-of select="."/>
<br/>
</xsl:for-each>
<xsl:for-each select="$instytucja/wnio:Kontakt[wnio:Telefon != '']">
<xsl:text>Telefon: </xsl:text>
<xsl:value-of select="wnio:Telefon"/>
<br/>
</xsl:for-each>
</xsl:template>
<xsl:template xmlns:ds="http://www.w3.org/2000/09/xmldsig#" name="Adres" match="wnio:Adres">
<xsl:if test="not(wnio:Kraj) or wnio:Kraj='POLSKA'">
<xsl:if test="wnio:Ulica/wnio:Nazwa!=''">
<xsl:for-each select="wnio:Ulica[@rodzaj != 'inna']">
<xsl:value-of select="@rodzaj"/>
<xsl:text> </xsl:text>
</xsl:for-each>
<xsl:value-of select="wnio:Ulica/wnio:Nazwa"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:Budynek"/>
<xsl:for-each select="wnio:Lokal[text() != '']">
<xsl:text>/</xsl:text>
<xsl:value-of select="."/>
</xsl:for-each>
<br/>
<xsl:choose>
<xsl:when test="not(wnio:Poczta) or wnio:Poczta='' or (wnio:Poczta=wnio:Miejscowosc)">
<xsl:text/>
<xsl:value-of select="wnio:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:Miejscowosc"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="wnio:Miejscowosc"/>
<xsl:text>, </xsl:text>
<xsl:value-of select="wnio:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:Poczta"/>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
<xsl:if test="wnio:Ulica/wnio:Nazwa=''">
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:Miejscowosc"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:Budynek"/>
<xsl:for-each select="wnio:Lokal[text() != '']">
<xsl:text>/</xsl:text>
<xsl:value-of select="."/>
</xsl:for-each>
<br/>
<xsl:if test="wnio:KodPocztowy !=''">
<xsl:value-of select="wnio:KodPocztowy"/>
<xsl:text> </xsl:text>
</xsl:if>
<xsl:if test="wnio:Poczta!=''">
<xsl:value-of select="wnio:Poczta"/>
</xsl:if>
<xsl:if test="wnio:Poczta=''">
<xsl:value-of select="wnio:Miejscowosc"/>
</xsl:if>
</xsl:if>
<xsl:if test="@dokladny='false'">
<br/>
<xsl:value-of select="wnio:Opis"/>
</xsl:if>
<xsl:if test="wnio:Kraj='POLSKA'">
<br/>POLSKA
</xsl:if>
</xsl:if>
<xsl:if test="wnio:Kraj!='POLSKA'">
<xsl:value-of select="wnio:Zagraniczny"/>
<br/>
<xsl:value-of select="wnio:Kraj"/>
</xsl:if>
</xsl:template>
<xsl:template xmlns:ds="http://www.w3.org/2000/09/xmldsig#" name="AdresOneLine">
<xsl:for-each select="wnio:Adres">
<xsl:if test="wnio:Ulica/wnio:Nazwa!=''">
<xsl:for-each select="wnio:Ulica[@rodzaj != 'inna']">
<xsl:value-of select="@rodzaj"/>
<xsl:text> </xsl:text>
</xsl:for-each>
<xsl:value-of select="wnio:Ulica/wnio:Nazwa"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:Budynek"/>
<xsl:for-each select="wnio:Lokal[text() != '']">
<xsl:text>/</xsl:text>
<xsl:value-of select="."/>
</xsl:for-each>,
<xsl:choose>
<xsl:when test="not(wnio:Poczta) or wnio:Poczta='' or (wnio:Poczta=wnio:Miejscowosc)">
<xsl:text/>
<xsl:value-of select="wnio:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:Miejscowosc"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="wnio:Miejscowosc"/>
<xsl:text>, </xsl:text>
<xsl:value-of select="wnio:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:Poczta"/>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
<xsl:if test="wnio:Ulica/wnio:Nazwa=''">
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:Miejscowosc"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:Budynek"/>
<xsl:for-each select="wnio:Lokal[text() != '']">
<xsl:text>/</xsl:text>
<xsl:value-of select="."/>
</xsl:for-each>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:if test="wnio:Poczta!=''">
<xsl:value-of select="wnio:Poczta"/>
</xsl:if>
<xsl:if test="wnio:Poczta=''">
<xsl:value-of select="wnio:Miejscowosc"/>
</xsl:if>
</xsl:if>
<xsl:if test="@dokladny='false'">
<xsl:value-of select="wnio:Opis"/>
</xsl:if>
</xsl:for-each>
</xsl:template>
<xsl:template xmlns:ds="http://www.w3.org/2000/09/xmldsig#" name="AdresOneLineDetail">
<xsl:if test="wnio:Ulica/wnio:Nazwa!=''">
<xsl:for-each select="wnio:Ulica[@rodzaj != 'inna']">
<xsl:value-of select="@rodzaj"/>
<xsl:text> </xsl:text>
</xsl:for-each>
<xsl:value-of select="wnio:Ulica/wnio:Nazwa"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:Budynek"/>
<xsl:for-each select="wnio:Lokal[text() != '']">
<xsl:text>/</xsl:text>
<xsl:value-of select="."/>
</xsl:for-each>,
<xsl:choose>
<xsl:when test="not(wnio:Poczta) or wnio:Poczta='' or (wnio:Poczta=wnio:Miejscowosc)">
<xsl:text/>
<xsl:value-of select="wnio:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:Miejscowosc"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="wnio:Miejscowosc"/>
<xsl:text>, </xsl:text>
<xsl:value-of select="wnio:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:Poczta"/>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
<xsl:if test="wnio:Ulica/wnio:Nazwa=''">
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:Miejscowosc"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:Budynek"/>
<xsl:for-each select="wnio:Lokal[text() != '']">
<xsl:text>/</xsl:text>
<xsl:value-of select="."/>
</xsl:for-each>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:if test="wnio:Poczta!=''">
<xsl:value-of select="wnio:Poczta"/>
</xsl:if>
<xsl:if test="wnio:Poczta=''">
<xsl:value-of select="wnio:Miejscowosc"/>
</xsl:if>
</xsl:if>
<xsl:if test="@dokladny='false'">
<xsl:value-of select="wnio:Opis"/>
</xsl:if>
</xsl:template>
<xsl:template xmlns:ds="http://www.w3.org/2000/09/xmldsig#" match="str:Zalaczniki">
<br/>
<xsl:variable select="count(../wnio:Zalaczniki/wnio:Zalacznik[@aktualny='true'])" name="aktualnyCount"/>
<table cellpadding="4" cellspacing="0" border="1">
<tr>
<td class="tableHeader">L.p.</td>
<xsl:if test="$aktualnyCount > 0">
<td class="tableHeader">Potwierdzona <br/>aktualność</td>
</xsl:if>
<td class="tableHeader">Nazwa</td>
<td class="tableHeader">Opis</td>
<td class="tableHeader">Plik</td>
</tr>
<xsl:for-each select="str:Zalacznik">
<xsl:variable select="position()" name="pos"/>
<tr>
<td>
<center>
<xsl:value-of select="$pos"/>
</center>
</td>
<xsl:if test="$aktualnyCount > 0">
<td>
<center>
<xsl:if test="../../wnio:Zalaczniki/wnio:Zalacznik[$pos]/@aktualny='true'">Tak</xsl:if>
<xsl:if test="../../wnio:Zalaczniki/wnio:Zalacznik[$pos]/@aktualny='false'">Nie</xsl:if>
<xsl:if test="../../wnio:Zalaczniki/wnio:Zalacznik[$pos]/@aktualny=''">Nie dotyczy</xsl:if>
</center>
</td>
</xsl:if>
<td>
<xsl:value-of select="../../wnio:Zalaczniki/wnio:Zalacznik[$pos]/wnio:RodzajNazwa"/>
</td>
<td> <xsl:value-of select="str:OpisZalacznika"/>
</td>
<td>
<xsl:choose>
<xsl:when test="@kodowanie='URI'">
<A>
<xsl:attribute name="HREF">
<xsl:value-of select="str:DaneZalacznika"/>
</xsl:attribute>
<xsl:attribute name="TARGET">_blank</xsl:attribute>
<B>
<xsl:value-of select="@nazwaPliku"/>
</B>
</A>
</xsl:when>
<xsl:otherwise>
<xsl:if test="@nazwaPliku!= ''">
<xsl:value-of select="@nazwaPliku"/>
</xsl:if>
<xsl:if test="@nazwaPliku= ''">
<span style="color:red">Nie załączono pliku</span>
</xsl:if>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
</table>
</xsl:template>
<xsl:template xmlns:ds="http://www.w3.org/2000/09/xmldsig#" name="Number">
<xsl:param name="number"/>
<xsl:if test="$number != ''">
<xsl:if test="string(number($number)) = 'NaN'">
<span style="color:red">Błędna liczba</span>
</xsl:if>
<xsl:if test="string(number($number)) != 'NaN'">
<xsl:value-of select="format-number($number, '###.##0,00', 'Polish')"/>
</xsl:if>
</xsl:if>
</xsl:template>
<xsl:template name="Checkbox">
<xsl:param name="value"/>
<div style="foat:left; border: solid 1px black; width:13px;height: 13px">
<xsl:if test="$value='true'">
<b>
<center>X</center>
</b>
</xsl:if>
</div>
</xsl:template>
<xsl:template name="TytulPrawny">
<xsl:if test="wnio:TytulPrawny/@typ='wlasnosc'">Własność</xsl:if>
<xsl:if test="wnio:TytulPrawny/@typ='najem'">Najem, itp.
od: <xsl:value-of select="wnio:TytulPrawny/wnio:Najem/wnio:Od"/>,
<xsl:if test="wnio:TytulPrawny/wnio:Najem/wnio:Do = ''">bezterminowo</xsl:if>
<xsl:if test="wnio:TytulPrawny/wnio:Najem/wnio:Do != ''">do: <xsl:value-of select="wnio:TytulPrawny/wnio:Najem/wnio:Do"/>
</xsl:if>
</xsl:if>
</xsl:template>
</xsl:stylesheet>