581
ID | 581 |
Data | 2011-05-18 |
Symbol | 2011/05/18/581 |
Instytucja | Urząd Miasta Krakowa |
Nazwa | Zgłoszenie zamiaru przystąpienia do wykonywania robót geologicznych |
Czy Aktualny | 1 |
---|
Ustawy (2)
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/2011/05/18/581/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="1.0">
<xsl:template match="/">
<xsl:for-each select="wnio:Dokument">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<body>
<table border="0" height="367" width="600">
<tbody>
<tr>
<td align="left" colspan="2" style="width: 300px">
<span>
<strong>Nadawca wniosku</strong>
<br/>
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:TrescDokumentu/wnio:NadawcaImie"/>
</span>
</xsl:if>
</span> <span>
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:TrescDokumentu/wnio:NadawcaNazwisko"/>
</span>
</xsl:if>
</span>
</td>
</tr>
<tr>
<td align="right" colspan="2">
<table border="0" height="78" width="259">
<tbody>
<tr>
<td align="right">
<xsl:for-each select="wnio:TrescDokumentu/wnio:Sekcja3/wnio:MiejscowoscOsoba">
<xsl:if test="../../wnio:RodzajWnioskodawcy = 'osoba fizyczna' or ../../wnio:RodzajWnioskodawcy = 'osoba fizyczna prowadząca działalność gospodarczą'">
<span>
<label>
<span/>
</label>
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:RodzajWniosku/wnio:MiejscowoscDokumentu"/>, dnia
</span>
</xsl:if>
</span>
</xsl:if>
</xsl:for-each>
<xsl:for-each select="wnio:TrescDokumentu/wnio:Sekcja4/wnio:MiejscowoscInstytucja">
<xsl:if test="../../wnio:RodzajWnioskodawcy = 'osoba prawna' or ../../wnio:RodzajWnioskodawcy = 'jednostka organizacyjna nie mająca osobowości prawnej'">
<span>
<label>
<span/>
</label>
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:RodzajWniosku/wnio:MiejscowoscDokumentu"/>, dnia
</span>
</xsl:if>
</span>
</xsl:if>
</xsl:for-each>
</td>
<td align="left">
<xsl:if test="true()">
<xsl:value-of select="wnio:TrescDokumentu/wnio:RodzajWniosku/wnio:DataDokumentu"/>
</xsl:if>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<!-- #### POCZĄTEK WNIOSKODAWCY #### -->
<tr>
<td colspan="2">
<strong>Wnioskodawca</strong>
<br/>
<table>
<tr>
<td style="width: 3px; background-color: #c0c0c0;"/>
<td>
<!-- #### OSOBA FIZYCZNA #### -->
<xsl:for-each select="wnio:TrescDokumentu/wnio:Sekcja1/wnio:Osoba">
<xsl:if test="../../wnio:RodzajWnioskodawcy = 'osoba fizyczna' or ../../wnio:RodzajWnioskodawcy = 'osoba fizyczna prowadząca działalność gospodarczą'">
<p/>
<table border="0" width="600">
<tbody>
<tr>
<td>
<span>
<xsl:if test="true()">
<span type="text">
<b>
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/oso:Imie"/>
</b>
</span>
</xsl:if>
</span> <span>
<xsl:if test="true()">
<span type="text">
<b>
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/oso:Nazwisko"/>
</b>
</span>
</xsl:if>
</span>
</td>
</tr>
<tr>
<td>
<xsl:choose>
<!-- #### Ulica wpisana i poczta pusta #### -->
<xsl:when test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Ulica))=0) and (string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Poczta))=0)">
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Ulica"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Budynek"/>
</span>
</xsl:if>
<xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Lokal))=0)">
<span type="text">
<xsl:text>/</xsl:text>
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Lokal"/>
</span>
</xsl:if>
<br/>
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Miejscowosc"/>
</span>
</xsl:if>
</xsl:when>
<!-- #### Ulica pusta i poczta pusta #### -->
<xsl:when test="(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Ulica))=0) and (string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Poczta))=0)">
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Miejscowosc"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Budynek"/>
</span>
</xsl:if>
<xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Lokal))=0)">
<span type="text">
<xsl:text>/</xsl:text>
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Lokal"/>
</span>
</xsl:if>
<br/>
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Miejscowosc"/>
</span>
</xsl:if>
</xsl:when>
<!-- #### Ulica wpisana i poczta wpisana #### -->
<xsl:when test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Ulica))=0) and not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Poczta))=0)">
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Ulica"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Budynek"/>
</span>
</xsl:if>
<xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Lokal))=0)">
<span type="text">
<xsl:text>/</xsl:text>
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Lokal"/>
</span>
</xsl:if>
<br/>
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Miejscowosc"/>
<xsl:text>, </xsl:text>
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Poczta"/>
</span>
</xsl:if>
</xsl:when>
<!-- #### Ulica pusta i poczta wpisana #### -->
<xsl:when test="(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Ulica))=0) and not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Poczta))=0)">
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Miejscowosc"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Budynek"/>
</span>
</xsl:if>
<xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Lokal))=0)">
<span type="text">
<xsl:text>/</xsl:text>
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Lokal"/>
</span>
</xsl:if>
<br/>
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Poczta"/>
</span>
</xsl:if>
</xsl:when>
</xsl:choose>
</td>
</tr>
<tr>
<td>
<span>
<xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Kontakt/adr:Telefon))=0)">
<span type="text">
<xsl:text>Telefon: </xsl:text>
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Kontakt/adr:Telefon"/>
</span>
</xsl:if>
</span>
</td>
</tr>
<tr>
<td>
<span>
<xsl:if test="not(string-length(normalize-space(wnio:Pesel))=0)">
<span type="text">
<xsl:text>PESEL: </xsl:text>
<xsl:value-of select="wnio:Pesel"/>
</span>
</xsl:if>
</span>
</td>
</tr>
<tr>
<td>
<span>
<xsl:if test="not(string-length(normalize-space(wnio:Nip))=0)">
<span type="text">
<xsl:text>NIP: </xsl:text>
<xsl:value-of select="wnio:Nip"/>
</span>
</xsl:if>
</span>
</td>
</tr>
</tbody>
</table>
<!-- #### PEŁNOMOCNIK OSOBY #### -->
<xsl:for-each select="wnio:Sekcja1/wnio:Przedstawiciele">
<xsl:if test="../../wnio:Przedstawiciel = '2'">
<xsl:for-each select="wnio:Sekcja1/wnio:Przedstawiciel">
<xsl:if test="true()">
<br/><br/>Pełnomocnik<br/>
<table border="0" width="600">
<tbody>
<tr>
<td>
<span>
<xsl:if test="true()">
<span type="text">
<b>
<xsl:value-of select="wnio:Imie"/>
</b>
</span>
</xsl:if>
</span> <span>
<xsl:if test="true()">
<span type="text">
<b>
<xsl:value-of select="wnio:Nazwisko"/>
</b>
</span>
</xsl:if>
</span>
</td>
</tr>
<tr>
<td>
<xsl:choose>
<!-- #### Ulica wpisana i poczta pusta #### -->
<xsl:when test="not(string-length(normalize-space(wnio:Ulica))=0) and (string-length(normalize-space(wnio:Poczta))=0)">
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:Ulica"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:NrBudynku"/>
</span>
</xsl:if>
<xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
<span type="text">
<xsl:text>/</xsl:text>
<xsl:value-of select="wnio:Lokal"/>
</span>
</xsl:if>
<br/>
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:Miejscowosc"/>
</span>
</xsl:if>
</xsl:when>
<!-- #### Ulica pusta i poczta pusta #### -->
<xsl:when test="(string-length(normalize-space(wnio:Ulica))=0) and (string-length(normalize-space(wnio:Poczta))=0)">
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:Miejscowosc"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:NrBudynku"/>
</span>
</xsl:if>
<xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
<span type="text">
<xsl:text>/</xsl:text>
<xsl:value-of select="wnio:Lokal"/>
</span>
</xsl:if>
<br/>
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:Miejscowosc"/>
</span>
</xsl:if>
</xsl:when>
<!-- #### Ulica wpisana i poczta wpisana #### -->
<xsl:when test="not(string-length(normalize-space(wnio:Ulica))=0) and not(string-length(normalize-space(wnio:Poczta))=0)">
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:Ulica"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:NrBudynku"/>
</span>
</xsl:if>
<xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
<span type="text">
<xsl:text>/</xsl:text>
<xsl:value-of select="wnio:Lokal"/>
</span>
</xsl:if>
<br/>
<xsl:if test="true()">
<span type="text">
<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"/>
</span>
</xsl:if>
</xsl:when>
<!-- #### Ulica pusta i poczta wpisana #### -->
<xsl:when test="(string-length(normalize-space(wnio:Ulica))=0) and not(string-length(normalize-space(wnio:Poczta))=0)">
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:Miejscowosc"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:NrBudynku"/>
</span>
</xsl:if>
<xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
<span type="text">
<xsl:text>/</xsl:text>
<xsl:value-of select="wnio:Lokal"/>
</span>
</xsl:if>
<br/>
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:Poczta"/>
</span>
</xsl:if>
</xsl:when>
</xsl:choose>
</td>
</tr>
<tr>
<td>
<span>
<xsl:if test="not(string-length(normalize-space(wnio:Telefon))=0)">
<span type="text">
<xsl:text>Telefon: </xsl:text>
<xsl:value-of select="wnio:Telefon"/>
</span>
</xsl:if>
</span>
</td>
</tr>
<tr>
<td>
<span>
<xsl:if test="not(string-length(normalize-space(wnio:Pesel))=0)">
<span type="text">
<xsl:text>PESEL: </xsl:text>
<xsl:value-of select="wnio:Pesel"/>
</span>
</xsl:if>
</span>
</td>
</tr>
<tr>
<td>
<span>
<xsl:if test="not(string-length(normalize-space(wnio:Nip))=0)">
<span type="text">
<xsl:text>NIP: </xsl:text>
<xsl:value-of select="wnio:Nip"/>
</span>
</xsl:if>
</span>
</td>
</tr>
</tbody>
</table>
<!-- #### ADRES DO KORESPONDENCJI PEŁNOMOCNIKA #### -->
<xsl:for-each select="wnio:Sekcja1/wnio:DodatkowyAdres">
<xsl:if test="../../wnio:AdresDoKorespondencji = '2'">
<br/>Adres do korespondencji:<br/>
<table border="0" width="514">
<tbody>
<tr>
<td>
<xsl:choose>
<!-- #### Ulica wpisana i poczta pusta #### -->
<xsl:when test="not(string-length(normalize-space(wnio:Ulica))=0) and (string-length(normalize-space(wnio:Poczta))=0)">
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:Ulica"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:NrBudynku"/>
</span>
</xsl:if>
<xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
<span type="text">
<xsl:text>/</xsl:text>
<xsl:value-of select="wnio:Lokal"/>
</span>
</xsl:if>
<br/>
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:Miejscowosc"/>
</span>
</xsl:if>
</xsl:when>
<!-- #### Ulica pusta i poczta pusta #### -->
<xsl:when test="(string-length(normalize-space(wnio:Ulica))=0) and (string-length(normalize-space(wnio:Poczta))=0)">
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:Miejscowosc"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:NrBudynku"/>
</span>
</xsl:if>
<xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
<span type="text">
<xsl:text>/</xsl:text>
<xsl:value-of select="wnio:Lokal"/>
</span>
</xsl:if>
<br/>
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:Miejscowosc"/>
</span>
</xsl:if>
</xsl:when>
<!-- #### Ulica wpisana i poczta wpisana #### -->
<xsl:when test="not(string-length(normalize-space(wnio:Ulica))=0) and not(string-length(normalize-space(wnio:Poczta))=0)">
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:Ulica"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:NrBudynku"/>
</span>
</xsl:if>
<xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
<span type="text">
<xsl:text>/</xsl:text>
<xsl:value-of select="wnio:Lokal"/>
</span>
</xsl:if>
<br/>
<xsl:if test="true()">
<span type="text">
<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"/>
</span>
</xsl:if>
</xsl:when>
<!-- #### Ulica pusta i poczta wpisana #### -->
<xsl:when test="(string-length(normalize-space(wnio:Ulica))=0) and not(string-length(normalize-space(wnio:Poczta))=0)">
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:Miejscowosc"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:NrBudynku"/>
</span>
</xsl:if>
<xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
<span type="text">
<xsl:text>/</xsl:text>
<xsl:value-of select="wnio:Lokal"/>
</span>
</xsl:if>
<br/>
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:Poczta"/>
</span>
</xsl:if>
</xsl:when>
</xsl:choose>
</td>
</tr>
</tbody>
</table>
</xsl:if>
</xsl:for-each>
</xsl:if>
</xsl:for-each>
</xsl:if>
</xsl:for-each>
<!-- #### ADRES DO KORESPONDENCJI OSOBY #### -->
<xsl:for-each select="wnio:Sekcja2/wnio:DodatkowyAdres">
<xsl:if test="../../wnio:Przedstawiciel = '1'">
<xsl:for-each select="wnio:Sekcja1/wnio:DodatkowyAdres">
<xsl:if test="../../wnio:AdresDoKorespondencji='2'">
<br/><br/>Adres do korespondencji:<br/>
<table border="0" width="514">
<tbody>
<tr>
<td>
<xsl:choose>
<!-- #### Ulica wpisana i poczta pusta #### -->
<xsl:when test="not(string-length(normalize-space(wnio:Ulica))=0) and (string-length(normalize-space(wnio:Poczta))=0)">
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:Ulica"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:NrBudynku"/>
</span>
</xsl:if>
<xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
<span type="text">
<xsl:text>/</xsl:text>
<xsl:value-of select="wnio:Lokal"/>
</span>
</xsl:if>
<br/>
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:Miejscowosc"/>
</span>
</xsl:if>
</xsl:when>
<!-- #### Ulica pusta i poczta pusta #### -->
<xsl:when test="(string-length(normalize-space(wnio:Ulica))=0) and (string-length(normalize-space(wnio:Poczta))=0)">
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:Miejscowosc"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:NrBudynku"/>
</span>
</xsl:if>
<xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
<span type="text">
<xsl:text>/</xsl:text>
<xsl:value-of select="wnio:Lokal"/>
</span>
</xsl:if>
<br/>
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:Miejscowosc"/>
</span>
</xsl:if>
</xsl:when>
<!-- #### Ulica wpisana i poczta wpisana #### -->
<xsl:when test="not(string-length(normalize-space(wnio:Ulica))=0) and not(string-length(normalize-space(wnio:Poczta))=0)">
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:Ulica"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:NrBudynku"/>
</span>
</xsl:if>
<xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
<span type="text">
<xsl:text>/</xsl:text>
<xsl:value-of select="wnio:Lokal"/>
</span>
</xsl:if>
<br/>
<xsl:if test="true()">
<span type="text">
<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"/>
</span>
</xsl:if>
</xsl:when>
<!-- #### Ulica pusta i poczta wpisana #### -->
<xsl:when test="(string-length(normalize-space(wnio:Ulica))=0) and not(string-length(normalize-space(wnio:Poczta))=0)">
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:Miejscowosc"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:NrBudynku"/>
</span>
</xsl:if>
<xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
<span type="text">
<xsl:text>/</xsl:text>
<xsl:value-of select="wnio:Lokal"/>
</span>
</xsl:if>
<br/>
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:Poczta"/>
</span>
</xsl:if>
</xsl:when>
</xsl:choose>
</td>
</tr>
</tbody>
</table>
</xsl:if>
</xsl:for-each>
</xsl:if>
</xsl:for-each>
</xsl:if>
</xsl:for-each>
<!-- #### INSTYTUCJA #### -->
<xsl:for-each select="wnio:TrescDokumentu/wnio:Sekcja2/wnio:Instytucja">
<xsl:if test="../../wnio:RodzajWnioskodawcy = 'osoba prawna' or ../../wnio:RodzajWnioskodawcy = 'jednostka organizacyjna nie mająca osobowości prawnej'">
<table border="0" width="600">
<tbody>
<tr>
<td>
<span>
<xsl:if test="true()">
<span type="text">
<b>
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/inst:NazwaInstytucji"/>
</b>
</span>
</xsl:if>
</span>
</td>
</tr>
<tr>
<td>
<xsl:choose>
<!-- #### Ulica wpisana i poczta pusta #### -->
<xsl:when test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Ulica))=0) and (string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Poczta))=0)">
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Ulica"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Budynek"/>
</span>
</xsl:if>
<xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal))=0)">
<span type="text">
<xsl:text>/</xsl:text>
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal"/>
</span>
</xsl:if>
<br/>
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Miejscowosc"/>
</span>
</xsl:if>
</xsl:when>
<!-- #### Ulica pusta i poczta pusta #### -->
<xsl:when test="(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Ulica))=0) and (string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Poczta))=0)">
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Miejscowosc"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Budynek"/>
</span>
</xsl:if>
<xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal))=0)">
<span type="text">
<xsl:text>/</xsl:text>
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal"/>
</span>
</xsl:if>
<br/>
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Miejscowosc"/>
</span>
</xsl:if>
</xsl:when>
<!-- #### Ulica wpisana i poczta wpisana #### -->
<xsl:when test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Ulica))=0) and not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Poczta))=0)">
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Ulica"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Budynek"/>
</span>
</xsl:if>
<xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal))=0)">
<span type="text">
<xsl:text>/</xsl:text>
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal"/>
</span>
</xsl:if>
<br/>
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Miejscowosc"/>
<xsl:text>, </xsl:text>
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Poczta"/>
</span>
</xsl:if>
</xsl:when>
<!-- #### Ulica pusta i poczta wpisana #### -->
<xsl:when test="(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Ulica))=0) and not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Poczta))=0)">
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Miejscowosc"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Budynek"/>
</span>
</xsl:if>
<xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal))=0)">
<span type="text">
<xsl:text>/</xsl:text>
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal"/>
</span>
</xsl:if>
<br/>
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Poczta"/>
</span>
</xsl:if>
</xsl:when>
</xsl:choose>
</td>
</tr>
<tr>
<td>
<span>
<xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Kontakt/adr:Telefon))=0)">
<span type="text">
<xsl:text>Telefon: </xsl:text>
<xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Kontakt/adr:Telefon"/>
</span>
</xsl:if>
</span>
</td>
</tr>
<tr>
<td>
<span>
<xsl:if test="not(string-length(normalize-space(wnio:Regon))=0)">
<span type="text">
<xsl:text>REGON: </xsl:text>
<xsl:value-of select="wnio:Regon"/>
</span>
</xsl:if>
</span>
</td>
</tr>
<tr>
<td>
<span>
<xsl:if test="not(string-length(normalize-space(wnio:Nip))=0)">
<span type="text">
<xsl:text>NIP: </xsl:text>
<xsl:value-of select="wnio:Nip"/>
</span>
</xsl:if>
</span>
</td>
</tr>
<tr>
<td>
<span>
<xsl:if test="not(string-length(normalize-space(wnio:Krs))=0)">
<span type="text">
<xsl:text>KRS: </xsl:text>
<xsl:value-of select="wnio:Krs"/>
</span>
</xsl:if>
</span>
</td>
</tr>
</tbody>
</table>
<!-- #### PRZEDSTAWICIEL INSTYTUCJI #### -->
<xsl:for-each select="wnio:Sekcja1/wnio:Przedstawiciel">
<xsl:if test="../../wnio:Reprezentant='1' or ../../wnio:Reprezentant='1 2' or ../../wnio:Reprezentant='2 1'">
<br/>Przedstawiciel<br/>
<table border="0" width="600">
<tbody>
<tr>
<td>
<span>
<xsl:if test="true()">
<span type="text">
<b>
<xsl:value-of select="wnio:Imie"/>
</b>
</span>
</xsl:if>
</span> <span>
<xsl:if test="true()">
<span type="text">
<b>
<xsl:value-of select="wnio:Nazwisko"/>
</b>
</span>
</xsl:if>
</span>
</td>
</tr>
<tr>
<td>
<span>
<xsl:if test="not(string-length(normalize-space(wnio:Pesel))=0)">
<span type="text">
<xsl:text>PESEL: </xsl:text>
<xsl:value-of select="wnio:Pesel"/>
</span>
</xsl:if>
</span>
</td>
</tr>
<tr>
<td>
<span>
<xsl:if test="not(string-length(normalize-space(wnio:Telefon))=0)">
<span type="text">
<xsl:text>Telefon: </xsl:text>
<xsl:value-of select="wnio:Telefon"/>
</span>
</xsl:if>
</span>
</td>
</tr>
</tbody>
</table>
<!-- #### ADRES DO KORESPONDENCJI PRZEDSTAWICIELA INSTYTUCJI #### -->
<xsl:for-each select="wnio:Sekcja1/wnio:DodatkowyAdres">
<xsl:if test="../../wnio:AdresDoKorespondencji = '2'">
<br/>Adres do korespondencji:<br/>
<table border="0" width="514">
<tbody>
<tr>
<td>
<xsl:choose>
<!-- #### Ulica wpisana i poczta pusta #### -->
<xsl:when test="not(string-length(normalize-space(wnio:Ulica))=0) and (string-length(normalize-space(wnio:Poczta))=0)">
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:Ulica"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:NrBudynku"/>
</span>
</xsl:if>
<xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
<span type="text">
<xsl:text>/</xsl:text>
<xsl:value-of select="wnio:Lokal"/>
</span>
</xsl:if>
<br/>
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:Miejscowosc"/>
</span>
</xsl:if>
</xsl:when>
<!-- #### Ulica pusta i poczta pusta #### -->
<xsl:when test="(string-length(normalize-space(wnio:Ulica))=0) and (string-length(normalize-space(wnio:Poczta))=0)">
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:Miejscowosc"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:NrBudynku"/>
</span>
</xsl:if>
<xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
<span type="text">
<xsl:text>/</xsl:text>
<xsl:value-of select="wnio:Lokal"/>
</span>
</xsl:if>
<br/>
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:Miejscowosc"/>
</span>
</xsl:if>
</xsl:when>
<!-- #### Ulica wpisana i poczta wpisana #### -->
<xsl:when test="not(string-length(normalize-space(wnio:Ulica))=0) and not(string-length(normalize-space(wnio:Poczta))=0)">
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:Ulica"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:NrBudynku"/>
</span>
</xsl:if>
<xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
<span type="text">
<xsl:text>/</xsl:text>
<xsl:value-of select="wnio:Lokal"/>
</span>
</xsl:if>
<br/>
<xsl:if test="true()">
<span type="text">
<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"/>
</span>
</xsl:if>
</xsl:when>
<!-- #### Ulica pusta i poczta wpisana #### -->
<xsl:when test="(string-length(normalize-space(wnio:Ulica))=0) and not(string-length(normalize-space(wnio:Poczta))=0)">
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:Miejscowosc"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:NrBudynku"/>
</span>
</xsl:if>
<xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
<span type="text">
<xsl:text>/</xsl:text>
<xsl:value-of select="wnio:Lokal"/>
</span>
</xsl:if>
<br/>
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:Poczta"/>
</span>
</xsl:if>
</xsl:when>
</xsl:choose>
</td>
</tr>
</tbody>
</table>
</xsl:if>
</xsl:for-each>
</xsl:if>
</xsl:for-each>
<!-- #### PEŁNOMOCNIK INSTYTUCJI ##### -->
<xsl:for-each select="wnio:Sekcja2/wnio:Pelnomocnicy">
<xsl:if test="../../wnio:Reprezentant='2' or ../../wnio:Reprezentant='1 2' or ../../wnio:Reprezentant='2 1'">
<p/>
<xsl:for-each select="wnio:Sekcja1/wnio:Pelnomomocnik">
<xsl:if test="true()">
<br/>Pełnomocnik<br/>
<table border="0" width="600">
<tbody>
<tr>
<td>
<span>
<xsl:if test="true()">
<span type="text">
<b>
<xsl:value-of select="wnio:Imie"/>
</b>
</span>
</xsl:if>
</span>
<span>
<label>
<span> </span>
</label>
<xsl:if test="true()">
<span type="text">
<b>
<xsl:value-of select="wnio:Nazwisko"/>
</b>
</span>
</xsl:if>
</span>
</td>
</tr>
<tr>
<td>
<xsl:choose>
<!-- #### Ulica wpisana i poczta pusta #### -->
<xsl:when test="not(string-length(normalize-space(wnio:Ulica))=0) and (string-length(normalize-space(wnio:Poczta))=0)">
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:Ulica"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:NrBudynku"/>
</span>
</xsl:if>
<xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
<span type="text">
<xsl:text>/</xsl:text>
<xsl:value-of select="wnio:Lokal"/>
</span>
</xsl:if>
<br/>
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:Miejscowosc"/>
</span>
</xsl:if>
</xsl:when>
<!-- #### Ulica pusta i poczta pusta #### -->
<xsl:when test="(string-length(normalize-space(wnio:Ulica))=0) and (string-length(normalize-space(wnio:Poczta))=0)">
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:Miejscowosc"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:NrBudynku"/>
</span>
</xsl:if>
<xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
<span type="text">
<xsl:text>/</xsl:text>
<xsl:value-of select="wnio:Lokal"/>
</span>
</xsl:if>
<br/>
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:Miejscowosc"/>
</span>
</xsl:if>
</xsl:when>
<!-- #### Ulica wpisana i poczta wpisana #### -->
<xsl:when test="not(string-length(normalize-space(wnio:Ulica))=0) and not(string-length(normalize-space(wnio:Poczta))=0)">
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:Ulica"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:NrBudynku"/>
</span>
</xsl:if>
<xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
<span type="text">
<xsl:text>/</xsl:text>
<xsl:value-of select="wnio:Lokal"/>
</span>
</xsl:if>
<br/>
<xsl:if test="true()">
<span type="text">
<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"/>
</span>
</xsl:if>
</xsl:when>
<!-- #### Ulica pusta i poczta wpisana #### -->
<xsl:when test="(string-length(normalize-space(wnio:Ulica))=0) and not(string-length(normalize-space(wnio:Poczta))=0)">
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:Miejscowosc"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:NrBudynku"/>
</span>
</xsl:if>
<xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
<span type="text">
<xsl:text>/</xsl:text>
<xsl:value-of select="wnio:Lokal"/>
</span>
</xsl:if>
<br/>
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:Poczta"/>
</span>
</xsl:if>
</xsl:when>
</xsl:choose>
</td>
</tr>
<tr>
<td>
<span>
<xsl:if test="not(string-length(normalize-space(wnio:Telefon))=0)">
<span type="text">
<xsl:text>Telefon: </xsl:text>
<xsl:value-of select="wnio:Telefon"/>
</span>
</xsl:if>
</span>
</td>
</tr>
<tr>
<td>
<span>
<xsl:if test="not(string-length(normalize-space(wnio:Pesel))=0)">
<span type="text">
<xsl:text>PESEL: </xsl:text>
<xsl:value-of select="wnio:Pesel"/>
</span>
</xsl:if>
</span>
</td>
</tr>
<tr>
<td>
<span>
<xsl:if test="not(string-length(normalize-space(wnio:Nip))=0)">
<span type="text">
<xsl:text>NIP: </xsl:text>
<xsl:value-of select="wnio:Nip"/>
</span>
</xsl:if>
</span>
</td>
</tr>
</tbody>
</table>
<!-- #### ADRES DO KORESPONDENCJI PEŁNOMOCNIKA INSTYTUCJI #### -->
<xsl:for-each select="wnio:Sekcja1/wnio:DodatkowyAdres">
<xsl:if test="../../wnio:AdresDoKorespondencji='2'">
<br/>Adres do korespondencji:<br/>
<table border="0" width="600">
<tbody>
<tr>
<td>
<xsl:choose>
<!-- #### Ulica wpisana i poczta pusta #### -->
<xsl:when test="not(string-length(normalize-space(wnio:Ulica))=0) and (string-length(normalize-space(wnio:Poczta))=0)">
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:Ulica"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:NrBudynku"/>
</span>
</xsl:if>
<xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
<span type="text">
<xsl:text>/</xsl:text>
<xsl:value-of select="wnio:Lokal"/>
</span>
</xsl:if>
<br/>
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:Miejscowosc"/>
</span>
</xsl:if>
</xsl:when>
<!-- #### Ulica pusta i poczta pusta #### -->
<xsl:when test="(string-length(normalize-space(wnio:Ulica))=0) and (string-length(normalize-space(wnio:Poczta))=0)">
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:Miejscowosc"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:NrBudynku"/>
</span>
</xsl:if>
<xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
<span type="text">
<xsl:text>/</xsl:text>
<xsl:value-of select="wnio:Lokal"/>
</span>
</xsl:if>
<br/>
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:Miejscowosc"/>
</span>
</xsl:if>
</xsl:when>
<!-- #### Ulica wpisana i poczta wpisana #### -->
<xsl:when test="not(string-length(normalize-space(wnio:Ulica))=0) and not(string-length(normalize-space(wnio:Poczta))=0)">
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:Ulica"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:NrBudynku"/>
</span>
</xsl:if>
<xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
<span type="text">
<xsl:text>/</xsl:text>
<xsl:value-of select="wnio:Lokal"/>
</span>
</xsl:if>
<br/>
<xsl:if test="true()">
<span type="text">
<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"/>
</span>
</xsl:if>
</xsl:when>
<!-- #### Ulica pusta i poczta wpisana #### -->
<xsl:when test="(string-length(normalize-space(wnio:Ulica))=0) and not(string-length(normalize-space(wnio:Poczta))=0)">
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:Miejscowosc"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:NrBudynku"/>
</span>
</xsl:if>
<xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
<span type="text">
<xsl:text>/</xsl:text>
<xsl:value-of select="wnio:Lokal"/>
</span>
</xsl:if>
<br/>
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:KodPocztowy"/>
<xsl:text> </xsl:text>
<xsl:value-of select="wnio:Poczta"/>
</span>
</xsl:if>
</xsl:when>
</xsl:choose>
</td>
</tr>
</tbody>
</table>
</xsl:if>
</xsl:for-each>
</xsl:if>
</xsl:for-each>
</xsl:if>
</xsl:for-each>
</xsl:if>
</xsl:for-each>
</td>
</tr>
</table>
</td>
</tr>
<!-- #### KONIEC WNIOSKODAWCY #### -->
<tr>
<td style="width: 350px"/>
<td align="left" style="width: 250px">
<p> </p>
<strong>Adresat</strong>
<p align="left">
<strong>
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:TrescDokumentu/wnio:Urzad"/>
<br/>
<xsl:value-of select="wnio:TrescDokumentu/wnio:Wydzial"/>
</span>
</xsl:if>
</strong>
<br/>
<xsl:if test="true()">
<span type="text">
<xsl:value-of select="wnio:TrescDokumentu/wnio:AdresUrzedu"/>
</span>
</xsl:if>
</p>
<br/>
</td>
</tr>
<tr align="center">
<td colspan="2">
<strong>ZGŁOSZENIE ZAMIARU PRZYSTĄPIENIA DO WYKONANIA ROBÓT GEOLOGICZNYCH</strong>
<br/>
Na podstawie: Art. 35 ustawy z dnia 4 lutego 1994 r. – Prawo geologiczne i górnicze (Dz. U. z 2005 r. Nr 228, poz. 1947, z późn. zm.)
<br/><br/><br/>
</td>
</tr>
<!-- ################### POCZĄTEK FORMULARZA ################### -->
<tr>
<td colspan="2">
<p>
<strong>Zamierzone terminy:</strong>
<blockquote>
<p>
– rozpoczęcia robót: <xsl:if test="true()">
<xsl:value-of select="wnio:TrescDokumentu/wnio:RozpoczecieRobot"/>
</xsl:if>
</p>
<p>
– zakończenia robót: <xsl:if test="true()">
<xsl:value-of select="wnio:TrescDokumentu/wnio:ZakonczenieRobot"/>
</xsl:if>
</p>
</blockquote>
<p>
<strong>Określenie rodzaju robót:</strong>
</p>
<p>
<span>
<xsl:if test="true()">
<span>
<xsl:value-of select="wnio:TrescDokumentu/wnio:RodzajRobot"/>
</span>
</xsl:if>
</span>
</p>
<p>
<strong>Podstawowe dane dotyczące prac geologicznych:</strong>
</p>
<p>
<span>
<xsl:if test="true()">
<span>
<xsl:value-of select="wnio:TrescDokumentu/wnio:DanePrac"/>
</span>
</xsl:if>
</span>
</p>
<p>
<strong>Dane dotyczące osób sprawujących dozór i kierownictwo prac:</strong>
</p>
<p>
<span>
<xsl:if test="true()">
<span>
<xsl:value-of select="wnio:TrescDokumentu/wnio:DaneOsob"/>
</span>
</xsl:if>
</span>
</p>
</p>
</td>
</tr>
<!-- ################### KONIEC FORMULARZA ################### -->
<!-- ################### TUTAJ ZAŁĄCZNIKI POCZĄTEK ################### -->
<!-- ################### TUTAJ ZAŁĄCZNIKI KONIEC ################### -->
<tr>
<td align="left" colspan="2" style="width: 300px">
<br/>
<br/>
<span>
<b>Wyrażam zgodę na wymianę korespondencji drogą elektroniczną.: </b>
</span>
<xsl:choose>
<!-- #### TUTAJ ZMIENIć REFERENCJĘ-->
<xsl:when test="contains(concat(concat(' ', normalize-space(wnio:TrescDokumentu/wnio:ZgodaNaKorespondencje)),' '), ' 1 ' )">
<span>Tak</span>
</xsl:when>
<xsl:otherwise>
<span>Nie</span>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</tbody>
</table>
</body>
</html>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>