1205

ID1205
Data2013-06-14
Symbol2013/06/14/1205
InstytucjaUrząd Miasta Częstochowy
NazwaZgłoszenie umieszczenia szyldu lub ogłoszenia
Czy Aktualny1

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: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/2013/06/14/1205/" 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="100%">
                <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:DaneDokumentu/wnio:Nadawca/wnio:Imie"/>
                          </span>
                        </xsl:if>
                      </span> <span>
                        <xsl:if test="true()">
                          <span type="text">
                            <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Nadawca/wnio:Nazwisko"/>
                          </span>
                        </xsl:if>
                      </span>
                    </td>
                  </tr>
                  <tr>
                    <td align="right" colspan="2">
                      <table border="0" height="78" style="margin-right:10px">
                        <tbody>
                          <tr>
                            <td align="right">
                               <span>
                                 <label>
                                   <span/>
                                 </label>
                                   <span type="text">
                                     <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:MiejscowoscWniosku"/>, dnia
                                   </span>
                               </span>
                            </td>
                            <td align="left">
                              <xsl:if test="true()">
                                <xsl:value-of select="substring(wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:DataWniosku,1,10)"/>
                              </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:if test="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/@typWnioskodawcy = 'osoba-fizyczna' or wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/@typWnioskodawcy = 'osoba-fizyczna-prow-dzial-gosp'">
                                <p/>
                                <table border="0" width="600">
                                  <tbody>
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="true()">
                                            <span type="text">
                                              <b>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/oso:Imie"/>
                                              </b>
                                            </span>
                                          </xsl:if>
                                        </span> <span>
                                          <xsl:if test="true()">
                                            <span type="text">
                                              <b>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/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:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Adres/adr:Ulica))=0) and (string-length(normalize-space(wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Adres/adr:Poczta))=0)">
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Adres/adr:Ulica"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Adres/adr:Budynek"/>
                                              </span>
                                            </xsl:if>
                                            <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Adres/adr:Lokal))=0)">
                                              <span type="text">
                                                <xsl:text>/</xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Adres/adr:Lokal"/>
                                              </span>
                                            </xsl:if>
                                            <br/>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Adres/adr:KodPocztowy"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Adres/adr:Miejscowosc"/>
                                              </span>
                                            </xsl:if>
                                          </xsl:when>
    
                                          <!-- #### Ulica pusta i poczta pusta #### -->
                                          <xsl:when test="(string-length(normalize-space(wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Adres/adr:Ulica))=0) and (string-length(normalize-space(wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Adres/adr:Poczta))=0)">
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Adres/adr:Miejscowosc"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Adres/adr:Budynek"/>
                                              </span>
                                            </xsl:if>
                                            <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Adres/adr:Lokal))=0)">
                                              <span type="text">
                                                <xsl:text>/</xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Adres/adr:Lokal"/>
                                              </span>
                                            </xsl:if>
                                            <br/>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Adres/adr:KodPocztowy"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/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:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Adres/adr:Ulica))=0) and not(string-length(normalize-space(wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Adres/adr:Poczta))=0)">
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Adres/adr:Ulica"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Adres/adr:Budynek"/>
                                              </span>
                                            </xsl:if>
                                            <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Adres/adr:Lokal))=0)">
                                              <span type="text">
                                                <xsl:text>/</xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Adres/adr:Lokal"/>
                                              </span>
                                            </xsl:if>
                                            <br/>
                                            <xsl:if test="true()">
                                              <span type="text">
                                               <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Adres/adr:KodPocztowy"/>
                                                <xsl:text>, </xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Adres/adr:Miejscowosc"/>
                                                <br/><xsl:text>Poczta </xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Adres/adr:Poczta"/>
                                              </span>
                                            </xsl:if>
                                          </xsl:when>
    
                                          <!-- #### Ulica pusta i poczta wpisana #### -->
                                          <xsl:when test="(string-length(normalize-space(wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Adres/adr:Ulica))=0) and not(string-length(normalize-space(wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Adres/adr:Poczta))=0)">
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Adres/adr:Miejscowosc"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Adres/adr:Budynek"/>
                                              </span>
                                            </xsl:if>
                                            <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Adres/adr:Lokal))=0)">
                                              <span type="text">
                                                <xsl:text>/</xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Adres/adr:Lokal"/>
                                              </span>
                                            </xsl:if>
                                            <br/>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Adres/adr:KodPocztowy"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/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:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Kontakt/adr:Telefon))=0)">
                                            <span type="text">
                                              <xsl:text>Telefon:  </xsl:text>
                                              <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Kontakt/adr:Telefon"/>
                                            </span>
                                          </xsl:if>
                                        </span>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Kontakt/adr:Email))=0)">
                                            <span type="text">
                                              <xsl:text>Email:  </xsl:text>
                                              <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/adr:Kontakt/adr:Email"/>
                                            </span>
                                          </xsl:if>
                                        </span>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/oso:IdOsoby/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:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/oso:Osoba/oso:IdOsoby/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>
                                <br/>
    
                                <!-- #### PEŁNOMOCNIK OSOBY #### -->
    
                                  <xsl:if test="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/@reprezentowany = 'przez-pełnomocnika'">
                                      <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:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Imie"/>
                                                      </b>
                                                    </span>
                                                  </xsl:if>
                                                </span> <span>
                                                  <xsl:if test="true()">
                                                    <span type="text">
                                                      <b>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/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:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Adres/wnio:Ulica))=0) and (string-length(normalize-space(wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Adres/wnio:Poczta))=0)">
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Adres/wnio:Ulica"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:Budynek"/>
                                                      </span>
                                                    </xsl:if>
                                                    <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Adres/wnio:Lokal))=0)">
                                                      <span type="text">
                                                        <xsl:text>/</xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Adres/wnio:Lokal"/>
                                                      </span>
                                                    </xsl:if>
                                                    <br/>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Adres/wnio:KodPocztowy"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Adres/wnio:Miejscowosc"/>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:when>
    
                                                  <!-- #### Ulica pusta i poczta pusta #### -->
                                                  <xsl:when test="(string-length(normalize-space(wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Adres/wnio:Ulica))=0) and (string-length(normalize-space(wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Adres/wnio:Poczta))=0)">
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Adres/wnio:Miejscowosc"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Adres/wnio:Budynek"/>
                                                      </span>
                                                    </xsl:if>
                                                    <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Adres/wnio:Lokal))=0)">
                                                      <span type="text">
                                                        <xsl:text>/</xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Adres/wnio:Lokal"/>
                                                      </span>
                                                    </xsl:if>
                                                    <br/>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Adres/wnio:KodPocztowy"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Adres/wnio:Miejscowosc"/>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:when>
    
                                                  <!-- #### Ulica wpisana i poczta wpisana #### -->
                                                  <xsl:when test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Adres/wnio:Ulica))=0) and not(string-length(normalize-space(wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Adres/wnio:Poczta))=0)">
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Adres/wnio:Ulica"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Adres/wnio:Budynek"/>
                                                      </span>
                                                    </xsl:if>
                                                    <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Adres/wnio:Lokal))=0)">
                                                      <span type="text">
                                                        <xsl:text>/</xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Adres/wnio:Lokal"/>
                                                      </span>
                                                    </xsl:if>
                                                    <br/>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Adres/wnio:KodPocztowy"/>
                                                        <xsl:text>, </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Adres/wnio:Miejscowosc"/>
                                                        <br/><xsl:text>Poczta </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Adres/wnio:Poczta"/>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:when>
    
                                                  <!-- #### Ulica pusta i poczta wpisana #### -->
                                                  <xsl:when test="(string-length(normalize-space(wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Adres/wnio:Ulica))=0) and not(string-length(normalize-space(wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Adres/wnio:Poczta))=0)">
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Adres/wnio:Miejscowosc"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Adres/wnio:Budynek"/>
                                                      </span>
                                                    </xsl:if>
                                                    <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Adres/wnio:Lokal))=0)">
                                                      <span type="text">
                                                        <xsl:text>/</xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Adres/wnio:Lokal"/>
                                                      </span>
                                                    </xsl:if>
                                                    <br/>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Adres/wnio:KodPocztowy"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Adres/wnio:Poczta"/>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:when>
                                                </xsl:choose>
                                              </td>
                                            </tr>
    
                                            <tr>
                                              <td>
                                                <span>
                                                  <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Kontakt/wnio:Telefon))=0)">
                                                    <span type="text">
                                                      <xsl:text>Telefon: </xsl:text>
                                                      <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Kontakt/wnio:Telefon"/>
                                                    </span>
                                                  </xsl:if>
                                                </span>
                                              </td>
                                            </tr>
                                            <tr>
                                              <td>
                                                <span>
                                                  <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Kontakt/wnio:Email))=0)">
                                                    <span type="text">
                                                      <xsl:text>Email: </xsl:text>
                                                      <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:Kontakt/wnio:Email"/>
                                                    </span>
                                                  </xsl:if>
                                                </span>
                                              </td>
                                            </tr>
                                            <tr>
                                              <td>
                                                <span>
                                                  <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:IdOsoby/wnio:PESEL))=0)">
                                                    <span type="text">
                                                      <xsl:text>PESEL: </xsl:text>
                                                      <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:IdOsoby/wnio:PESEL"/>
                                                    </span>
                                                  </xsl:if>
                                                </span>
                                              </td>
                                            </tr>
                                            <tr>
                                              <td>
                                                <span>
                                                  <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:IdOsoby/wnio:NIP))=0)">
                                                    <span type="text">
                                                      <xsl:text>NIP: </xsl:text>
                                                      <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:DanePelnomocnika/wnio:IdOsoby/wnio:NIP"/>
                                                    </span>
                                                  </xsl:if>
                                                </span>
                                              </td>
                                            </tr>
                                          </tbody>
                                        </table>
    
                                        <!-- #### ADRES DO KORESPONDENCJI PEŁNOMOCNIKA #### -->
    
    
                                        <xsl:for-each select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Pełnomocnik/wnio:AdresKorespondencyjny">
                                          <xsl:if test="../@adresKorespondencyjny = 'inny'">
                                            <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:Budynek"/>
                                                          </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:Budynek"/>
                                                          </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:Budynek"/>
                                                          </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"/>
                                                            <br/><xsl:text>Poczta </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:Budynek"/>
                                                          </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:if>
                               
                                <!-- #### ADRES DO KORESPONDENCJI OSOBY #### -->
    
                                  <xsl:if test="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/@reprezentowany = 'osobiście'">
                                    <xsl:for-each select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/wnio:AdresKorespondencyjny">
                                      <xsl:if test="../@adresKorespondencyjny ='inny'">
                                        <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:Budynek"/>
                                                      </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:Budynek"/>
                                                      </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:Budynek"/>
                                                      </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"/>
                                                        <br/><xsl:text>Poczta </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:Budynek"/>
                                                      </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:if>
                            
                            <!-- #### INSTYTUCJA #### -->
    
                            <xsl:for-each select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Wnioskodawca/inst:Instytucja">
                              <xsl:if test="../@typWnioskodawcy = 'osoba-prawna' or  ../@typWnioskodawcy =  'organizacja-nie-posiadajaca-osobowosci-prawnej'">
                                <table border="0" width="100%">
                                  <tbody>
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="true()">
                                            <span type="text">
                                              <b>
                                                <xsl:value-of select="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(adr:Adres/adr:Ulica))=0) and (string-length(normalize-space(adr:Adres/adr:Poczta))=0)">
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="adr:Adres/adr:Ulica"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="adr:Adres/adr:Budynek"/>
                                              </span>
                                            </xsl:if>
                                            <xsl:if test="not(string-length(normalize-space(adr:Adres/adr:Lokal))=0)">
                                              <span type="text">
                                                <xsl:text>/</xsl:text>
                                                <xsl:value-of select="adr:Adres/adr:Lokal"/>
                                              </span>
                                            </xsl:if>
                                            <br/>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="adr:Adres/adr:KodPocztowy"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="adr:Adres/adr:Miejscowosc"/>
                                              </span>
                                            </xsl:if>
                                          </xsl:when>
    
                                          <!-- #### Ulica pusta i poczta pusta #### -->
                                          <xsl:when test="(string-length(normalize-space(adr:Adres/adr:Ulica))=0) and (string-length(normalize-space(adr:Adres/adr:Poczta))=0)">
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="adr:Adres/adr:Miejscowosc"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="adr:Adres/adr:Budynek"/>
                                              </span>
                                            </xsl:if>
                                            <xsl:if test="not(string-length(normalize-space(adr:Adres/adr:Lokal))=0)">
                                              <span type="text">
                                                <xsl:text>/</xsl:text>
                                                <xsl:value-of select="adr:Adres/adr:Lokal"/>
                                              </span>
                                            </xsl:if>
                                            <br/>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="adr:Adres/adr:KodPocztowy"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="adr:Adres/adr:Miejscowosc"/>
                                              </span>
                                            </xsl:if>
                                          </xsl:when>
    
                                          <!-- #### Ulica wpisana i poczta wpisana #### -->
                                          <xsl:when test="not(string-length(normalize-space(adr:Adres/adr:Ulica))=0) and not(string-length(normalize-space(adr:Adres/adr:Poczta))=0)">
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="adr:Adres/adr:Ulica"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="adr:Adres/adr:Budynek"/>
                                              </span>
                                            </xsl:if>
                                            <xsl:if test="not(string-length(normalize-space(adr:Adres/adr:Lokal))=0)">
                                              <span type="text">
                                                <xsl:text>/</xsl:text>
                                                <xsl:value-of select="adr:Adres/adr:Lokal"/>
                                              </span>
                                            </xsl:if>
                                            <br/>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="adr:Adres/adr:KodPocztowy"/>
                                                <xsl:text>, </xsl:text>
                                                <xsl:value-of select="adr:Adres/adr:Miejscowosc"/>
                                                <br/><xsl:text>Poczta </xsl:text>
                                                <xsl:value-of select="adr:Adres/adr:Poczta"/>
                                              </span>
                                            </xsl:if>
                                          </xsl:when>
    
                                          <!-- #### Ulica pusta i poczta wpisana #### -->
                                          <xsl:when test="(string-length(normalize-space(adr:Adres/adr:Ulica))=0) and not(string-length(normalize-space(adr:Adres/adr:Poczta))=0)">
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="adr:Adres/adr:Miejscowosc"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="adr:Adres/adr:Budynek"/>
                                              </span>
                                            </xsl:if>
                                            <xsl:if test="not(string-length(normalize-space(adr:Adres/adr:Lokal))=0)">
                                              <span type="text">
                                                <xsl:text>/</xsl:text>
                                                <xsl:value-of select="adr:Adres/adr:Lokal"/>
                                              </span>
                                            </xsl:if>
                                            <br/>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="adr:Adres/adr:KodPocztowy"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="adr:Adres/adr:Poczta"/>
                                              </span>
                                            </xsl:if>
                                          </xsl:when>
                                        </xsl:choose>
                                      </td>
                                    </tr>
    
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="not(string-length(normalize-space(adr:Kontakt/adr:Telefon))=0)">
                                            <span type="text">
                                              <xsl:text>Telefon: </xsl:text>
                                              <xsl:value-of select="adr:Kontakt/adr:Telefon"/>
                                            </span>
                                          </xsl:if>
                                        </span>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="not(string-length(normalize-space(adr:Kontakt/adr:Email))=0)">
                                            <span type="text">
                                              <xsl:text>Email: </xsl:text>
                                              <xsl:value-of select="adr:Kontakt/adr:Email"/>
                                            </span>
                                          </xsl:if>
                                        </span>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="not(string-length(normalize-space(inst:IdInstytucji/inst:REGON))=0)">
                                            <span type="text">
                                              <xsl:text>REGON: </xsl:text>
                                              <xsl:value-of select="inst:IdInstytucji/inst:REGON"/>
                                            </span>
                                          </xsl:if>
                                        </span>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="not(string-length(normalize-space(inst:IdInstytucji/inst:NIP))=0)">
                                            <span type="text">
                                              <xsl:text>NIP: </xsl:text>
                                              <xsl:value-of select="inst:IdInstytucji/inst:NIP"/>
                                            </span>
                                          </xsl:if>
                                        </span>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="not(string-length(normalize-space(inst:IdInstytucji/inst:KRS))=0)">
                                            <span type="text">
                                              <xsl:text>KRS: </xsl:text>
                                              <xsl:value-of select="inst:IdInstytucji/inst:KRS"/>
                                            </span>
                                          </xsl:if>
                                        </span>
                                      </td>
                                    </tr>
                                  </tbody>
                                </table>
    
                                <!-- #### PRZEDSTAWICIEL INSTYTUCJI #### -->
                               
                                  <xsl:if test="../@reprezentowany = 'przez-przedstawiciela'">
                                    <xsl:for-each select="../../wnio:Przedstawiciel/wnio:DanePrzedstawiciela">
                                      <xsl:if test="true()">
                                        <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>
                                            <tr>
                                              <td>
                                                <span>
                                                  <xsl:if test="not(string-length(normalize-space(wnio:Email))=0)">
                                                    <span type="text">
                                                      <xsl:text>Email: </xsl:text>
                                                      <xsl:value-of select="wnio:Email"/>
                                                    </span>
                                                  </xsl:if>
                                                </span>
                                              </td>
                                            </tr>
                                          </tbody>
                                        </table>
    
    
                                        <!-- #### ADRES DO KORESPONDENCJI PRZEDSTAWICIELA INSTYTUCJI #### -->
    
                                        <xsl:for-each select="../wnio:AdresKorespondencyjny">
                                          <xsl:if test="../@adresKorespondencyjny = 'inny'">
                                            <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:Budynek"/>
                                                          </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:Budynek"/>
                                                          </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:Budynek"/>
                                                          </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"/>
                                                            <br/><xsl:text>Poczta </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:Budynek"/>
                                                          </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>
                                    <br/>
                                  </xsl:if>
                               
    
                                <!-- #### PEŁNOMOCNIK INSTYTUCJI  ##### -->
    
                                  <xsl:if test="../@reprezentowany = 'przez-pełnomocnika'">
                                    <xsl:for-each select="../../wnio:Pełnomocnik/wnio:DanePelnomocnika">
                                      <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>
    										
    										<xsl:for-each select="wnio:Adres">
    	                                        <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:Budynek"/>
    	                                                  </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:Budynek"/>
    	                                                  </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:Budynek"/>
    	                                                  </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"/>
    	                                                    <br/><xsl:text>Poczta </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:Budynek"/>
    	                                                  </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>
    										</xsl:for-each>
    										
                                            <tr>
                                              <td>
                                                <span>
                                                  <xsl:if test="not(string-length(normalize-space(wnio:Kontakt/wnio:Telefon))=0)">
                                                    <span type="text">
                                                      <xsl:text>Telefon: </xsl:text>
                                                      <xsl:value-of select="wnio:Kontakt/wnio:Telefon"/>
                                                    </span>
                                                  </xsl:if>
                                                </span>
                                              </td>
                                            </tr>
                                            <tr>
                                              <td>
                                                <span>
                                                  <xsl:if test="not(string-length(normalize-space(wnio:Kontakt/wnio:Email))=0)">
                                                    <span type="text">
                                                      <xsl:text>Email: </xsl:text>
                                                      <xsl:value-of select="wnio:Kontakt/wnio:Email"/>
                                                    </span>
                                                  </xsl:if>
                                                </span>
                                              </td>
                                            </tr>
                                            <tr>
                                              <td>
                                                <span>
                                                  <xsl:if test="not(string-length(normalize-space(wnio:IdOsoby/wnio:PESEL))=0)">
                                                    <span type="text">
                                                      <xsl:text>PESEL: </xsl:text>
                                                      <xsl:value-of select="wnio:IdOsoby/wnio:PESEL"/>
                                                    </span>
                                                  </xsl:if>
                                                </span>
                                              </td>
                                            </tr>
                                            <tr>
                                              <td>
                                                <span>
                                                  <xsl:if test="not(string-length(normalize-space(wnio:IdOsoby/wnio:NIP))=0)">
                                                    <span type="text">
                                                      <xsl:text>NIP: </xsl:text>
                                                      <xsl:value-of select="wnio:IdOsoby/wnio:NIP"/>
                                                    </span>
                                                  </xsl:if>
                                                </span>
                                              </td>
                                            </tr>
                                          </tbody>
                                        </table>
    
                                        <!-- #### ADRES DO KORESPONDENCJI PEŁNOMOCNIKA INSTYTUCJI #### -->
    
                                        <xsl:for-each select="../wnio:AdresKorespondencyjny">
                                          <xsl:if test="../@adresKorespondencyjny='inny'">
                                            <br/>Adres do korespondencji:<br/>
                                            <table border="0">
                                              <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:Budynek"/>
                                                          </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:Budynek"/>
                                                          </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:Budynek"/>
                                                          </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"/>
                                                            <br/><xsl:text>Poczta </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:Budynek"/>
                                                          </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"/>
                                                            <br/><xsl:text>Poczta </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: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:DaneDokumentu/wnio:Adresat/wnio:Urzad"/>
                              <br/>
                              <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Adresat/wnio:Wydzial"/>
                              <br/>
                              <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Adresat/wnio:Osrodek"/>
                            </span>
                          </xsl:if>
                        </strong>
                        <br/>
                        <xsl:if test="true()">
                          <span type="text">
                            <xsl:value-of select="wnio:TrescDokumentu/wnio:DaneDokumentu/wnio:Adresat/wnio:AdresUrzedu"/>
                          </span>
                        </xsl:if>
                      </p>
                      <br/>
                    </td>
                  </tr>
                  <tr align="center">
                    <td colspan="2">
                      <br/>
                      <p>
                        <b>ZGŁOSZENIE UMIESZCZENIA SZYLDU LUB URZĄDZENIA REKLAMOWEGO</b>
                      </p>
                      <br/>
                      <br/>
                    </td>
                  </tr>
    
                  <!-- ################### POCZĄTEK FORMULARZA ################### -->
    
                  <tr>
                    <td colspan="2">
                      
                     <b>
                     Zgłaszam zamiar umieszczenia: 
                     </b>
                        <span>
                          <xsl:if test="true()">
                            <span>
                              <xsl:choose>
                                <xsl:when test="wnio:TrescDokumentu/wnio:Zgloszenia/wnio:ZgloszenieZamiaruUmieszczeniaSzylduNaObiekcieBudowlanym">
                                  <span>
                                    szyldu (czarne litery na białym tle). 
                                  </span>
                                
                          <table border="0" cellspacing="0" cellpadding="3" style="height: 10px; border: 0pt solid #000000">
                           <br/>   <tr> 
                            <td valign="top" style="valign: top; text-align: left; width:150px; height: 25px; border: 0pt solid #000000">
                             <b>Adres nieruchomości: </b>
                            </td>
                               <xsl:for-each select="//wnio:AdresNieruchomosci">
                                    <xsl:if test="true()">
                                      <td style="text-align: left;width:200px; height: 25px; border: 0pt solid #000000">
                                        <xsl:if test="true()">
                                          <span type="text">
                                              Miejscowość: <xsl:value-of select="wnio:Miejscowosc"/>
                                          </span>
                                          <span type="text">
                                             <br/> Ulica: <xsl:value-of select="wnio:Ulica"/>
                                          </span>
                                          <span type="text">
                                          	<br/> Budynek: <xsl:value-of select="wnio:Budynek"/>
                                          </span>
                                          <span type="text">
                                          	<br/> Lokal: <xsl:value-of select="wnio:Lokal"/>
                                          </span> 	
                                        </xsl:if>
                                      </td>
                                    </xsl:if>
                               </xsl:for-each>
                           </tr>
                        </table>
                         
    					<table border="0" cellspacing="0" cellpadding="3" style="height: 10px; border: 0pt solid #000000">
                         <br/><tr>
                            <td valign="top" style="valign: top; text-align: left; width:150px; height: 25px; border: 0pt solid #000000">
                              <b>Oznaczenie nieruchomości:</b>
                            </td>
                               <xsl:for-each select="//wnio:OznaczenieNieruchomosci">
                                    <xsl:if test="true()">
                                      <td style="text-align: left; height: 25px; border: 0pt solid #000000">
                                        <xsl:if test="true()">
                                          <span type="text">
                                            Obręb: <xsl:value-of select="wnio:Obreb"/>
                                          </span>
                                          <span type="text">
                                            <br/> Działka: <xsl:value-of select="wnio:Dzialka"/>
                                          </span>
                                          <span type="text">
                                          	<br/> Karta mapy: <xsl:value-of select="wnio:KartaMapy"/>
                                          </span> 	
                                        </xsl:if>
                                      </td>
                                    </xsl:if>
                               </xsl:for-each>
                           </tr>
                        </table>
                        
                         <br/>
    	                    <xsl:if test="//wnio:CharakterystykaSzyldu">
                          <strong>Charakterystyka szyldu</strong>
                          <div style="margin:0px;  margin-right:0px;">
                               <br/>
                              <table border="0" cellspacing="1" cellpadding="3" style="width: 100%; height: 10px; border: 1pt solid #000000">
                                  <tr>
                                    <td style="text-align: center; background-color: #c0c0c0; width: 1%; height: 10px; border: 1pt solid #000000">
                                      <b>L.p.</b>
                                    </td>
                                    <td style="text-align: center; background-color: #c0c0c0; width: 12%; height: 25px; border: 1pt solid #000000">
                                      <b>Treść szyldu</b>
                                    </td>
                                    <td style="text-align: center; background-color: #c0c0c0; width: 4%; height: 25px; border: 1pt solid #000000">
                                      <b>Wymiary szyldu</b>
                                    </td>
                                  </tr>
                                  
                            <xsl:for-each select="//wnio:ZgloszenieZamiaruUmieszczeniaSzylduNaObiekcieBudowlanym">
                                  <tr>
                                  	<td style="text-align: center; border: 1pt solid #000000">
                                        <xsl:value-of select="position()"/>
                                    </td>
                                  <xsl:for-each select="wnio:CharakterystykaSzyldu">
                                    <xsl:if test="true()">
                                      <td style="text-align: center; border: 1pt solid #000000">
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="//wnio:CharakterystykaSzyldu/wnio:TrescSzyldu"/>
                                          </span>
                                        </xsl:if>
                                      </td>
                                      <td style="text-align: center; border: 1pt solid #000000">
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:WymiarySzyldu"/>
                                          </span>
                                        </xsl:if>
                                      </td>
                                    </xsl:if>
                                  </xsl:for-each>
                                </tr>
                                </xsl:for-each>
                                </table>
    	                      </div>
    	                    </xsl:if>
    					  
    				<br/>  
    			   <tr>
                    <td colspan="2">
                                    
    				<b>Termin rozpoczęcia robot budowlanych (min 30 dni przed zamiarem jego umieszczenia): </b>
    					<xsl:for-each select="//wnio:TerminRozpoczeciaRobotBudowlanych">
                        	<xsl:if test="true()">
                        	  <span>
                          		<xsl:value-of select="."/>
                          	  </span>		
                          	</xsl:if>
                        </xsl:for-each>  
                        
                    </td>
                   </tr>     
                   
                   <tr align="center">
                    <td colspan="2">
                      <br/>
                      <p>
                        <b>OŚWIADCZENIE O POSIADANYM PRAWIE DO DO DYSPONOWANIA NIERUCHOMOŚCIĄ NA CELE BUDOWLANE</b>
                      </p>
                      <br/>
                    </td>
                  </tr>
                   
                  <table border="0" cellspacing="0" cellpadding="3" style="height: 10px; border: 0pt solid #000000">
                         <br/><tr>
                            <td valign="top" style="valign: top; text-align: left; width:150px; height: 25px; border: 0pt solid #000000">
                              <b>Dokument tożsamości:</b>
                            </td>
                               <xsl:for-each select="//wnio:DokumentTozsamosci">
                                    <xsl:if test="true()">
                                      <td style="text-align: left; height: 25px; border: 0pt solid #000000">
                                        <xsl:if test="true()">
                                          <span type="text">
                                            Nazwa: <xsl:value-of select="wnio:Nazwa"/>
                                          </span>
                                          <span type="text">
                                            <br/> Seria: <xsl:value-of select="wnio:Seria"/>
                                          </span>
                                          <span type="text">
                                          	<br/> Numer: <xsl:value-of select="wnio:Numer"/>
                                          </span>
                                          <span type="text">
                                          	<br/> Organ wydający: <xsl:value-of select="wnio:OrganWydajacy"/>
                                          </span> 	
                                        </xsl:if>
                                      </td>
                                    </xsl:if>
                               </xsl:for-each>
                           </tr>
                        </table> 
                        
                     <table border="0" cellspacing="0" cellpadding="3" style="height: 10px; border: 0pt solid #000000">
                         <br/><tr>
                            <td valign="top" style="valign: top; text-align: left; width:150px; height: 25px; border: 0pt solid #000000">
                              <b>Data i miejsce urodzenia:</b>
                            </td>
                               <xsl:for-each select="//wnio:DataMiejsceUrodzenia">
                                    <xsl:if test="true()">
                                      <td style="text-align: left; height: 25px; border: 0pt solid #000000">
                                        <xsl:if test="true()">
                                          <span type="text">
                                           <xsl:value-of select="wnio:DataUrodzenia"/>
                                          </span>
                                          <span type="text">
                                            <br/>  <xsl:value-of select="wnio:MiejsceUrodzenia"/>
                                          </span>	
                                        </xsl:if>
                                      </td>
                                    </xsl:if>
                               </xsl:for-each>
                           </tr>
                        </table> 
                   
    	               <tr>
    	                <td colspan="2">
    	                  
    	                 <b>
    	                 Tytuł prawny użytkowanej nieruchomości: 
    	                 </b>
    	                 
    	                    <span>
    	                      <xsl:if test="true()">
    	                        <span>
    	                          <xsl:choose>
    	                            <xsl:when test="wnio:TrescDokumentu/wnio:Zgloszenia/wnio:ZgloszenieZamiaruUmieszczeniaSzylduNaObiekcieBudowlanym/wnio:OswiadczenieOPosiadanymPrawieDoDysponowaniaNieruchomoscia/wnio:TytulPrawnyUzytkowanejNieruchomosci/wnio:Wlasnosc">
    	                              <span>
    	                                Własność
    	                              </span>
    	                            </xsl:when>
    	                            
    	                            <xsl:when test="wnio:TrescDokumentu/wnio:Zgloszenia/wnio:ZgloszenieZamiaruUmieszczeniaSzylduNaObiekcieBudowlanym/wnio:OswiadczenieOPosiadanymPrawieDoDysponowaniaNieruchomoscia/wnio:TytulPrawnyUzytkowanejNieruchomosci/wnio:Wspolwlasnosc">
    	                              <span>
    	                                Współwłasność:
    	                              </span>
    	                              
    	                              <table border="0" cellspacing="0" cellpadding="3" style="height: 10px; border: 0pt solid #000000">
    			                             <br/><tr>
    			                        <td valign="top" style="valign: top; text-align: left; width:150px; height: 25px; border: 0pt solid #000000">
    			                          <b>Wspołwłaściciele: </b>
    			                        </td>
    			                           <xsl:for-each select="//wnio:Wspolwlasciciele">
    			                                <xsl:if test="true()">
    			                                  <td style="text-align: left; height: 25px; border: 0pt solid #000000">
    			                                    <xsl:if test="true()">
    			                                      <span type="text">
    			                                       <xsl:value-of select="wnio:ImieNazwisko"/>
    			                                      </span>
    			                                      <span type="text">
    			                                        <br/>  <xsl:value-of select="wnio:NazwaIAdres"/>
    			                                      </span>	
    			                                    </xsl:if>
    			                                  </td>
    			                                </xsl:if>
    			                           </xsl:for-each>
    			                         </tr>
    			                      </table> 
    	 
    	                            </xsl:when>
    	                            
    	                            <xsl:when test="wnio:TrescDokumentu/wnio:Zgloszenia/wnio:ZgloszenieZamiaruUmieszczeniaSzylduNaObiekcieBudowlanym/wnio:OswiadczenieOPosiadanymPrawieDoDysponowaniaNieruchomoscia/wnio:TytulPrawnyUzytkowanejNieruchomosci/wnio:UzytkowanieWieczyste">
    	                              <span>
    	                                Uzytkowanie wieczyste
    	                              </span> 
    	                            </xsl:when>
                   
                                    <xsl:when test="wnio:TrescDokumentu/wnio:Zgloszenia/wnio:ZgloszenieZamiaruUmieszczeniaSzylduNaObiekcieBudowlanym/wnio:OswiadczenieOPosiadanymPrawieDoDysponowaniaNieruchomoscia/wnio:TytulPrawnyUzytkowanejNieruchomosci/wnio:TrwalyZarzad">
    	                              <span>
    	                                Trwaly zarzad:
    	                              </span>
    	                              
    	                              <tr>
    					                <td colspan="2">
    					                                
    									<b>Właściciel nieruchomości: </b>
    										<xsl:for-each select="//wnio:TrwalyZarzad/wnio:WlascicielNieruchomosci">
    					                    	<xsl:if test="true()">
    					                    	  <span>
    					                      		<xsl:value-of select="."/>
    					                      	  </span>		
    					                      	</xsl:if>
    					                    </xsl:for-each>  
    					                    
    					                </td>
    					              </tr>                  
    	      
    	                            </xsl:when>
                   
                                    <xsl:when test="wnio:TrescDokumentu/wnio:Zgloszenia/wnio:ZgloszenieZamiaruUmieszczeniaSzylduNaObiekcieBudowlanym/wnio:OswiadczenieOPosiadanymPrawieDoDysponowaniaNieruchomoscia/wnio:TytulPrawnyUzytkowanejNieruchomosci/wnio:OgraniczonePrawoRzeczowe">
    	                              <span>
    	                                Ograniczone prawo rzeczowe
    	                              </span> 
    	                              
    	                              <tr>
    					                <td colspan="2">
    					                                
    									<b>Właściciel nieruchomości: </b>
    										<xsl:for-each select="//wnio:OgraniczonePrawoRzeczowe/wnio:WlascicielNieruchomosci">
    					                    	<xsl:if test="true()">
    					                    	  <span>
    					                      		<xsl:value-of select="."/>
    					                      	  </span>		
    					                      	</xsl:if>
    					                    </xsl:for-each>  
    					                    
    					                </td>
    					              </tr>    
    	                            </xsl:when>
                   
                                    <xsl:when test="wnio:TrescDokumentu/wnio:Zgloszenia/wnio:ZgloszenieZamiaruUmieszczeniaSzylduNaObiekcieBudowlanym/wnio:OswiadczenieOPosiadanymPrawieDoDysponowaniaNieruchomoscia/wnio:TytulPrawnyUzytkowanejNieruchomosci/wnio:StosunekZobowiazaniowy">
    	                              <span>
    	                                Stosunek zobowiazaniowy
    	                              </span> 
    	                            </xsl:when>
                     
                                    <xsl:otherwise>
                                      <span> 
                                         Inne 
                                      </span>
                                      
                                      <tr>
    					                <td colspan="2">
    					                                
    									<b>Inne: </b>
    										<xsl:for-each select="//wnio:Inny/wnio:RodzajDokumentu">
    					                    	<xsl:if test="true()">
    					                    	  <span>
    					                      		<xsl:value-of select="."/>
    					                      	  </span>		
    					                      	</xsl:if>
    					                    </xsl:for-each>  
    					                    
    					                </td>
    					              </tr>
    					                  
                                    </xsl:otherwise>
    		                   </xsl:choose>
    		                 </span>
    		               </xsl:if>
    		             </span>
    		             </td>
    		             </tr>
    		             </xsl:when> 
                     
                       <!--  ================= Formularz część dla urządzenia reklamowego ====================-->
                       
                         <xsl:otherwise>
                           <span> 
                             urządzenia reklamowego na obiekcie (nie dotyczy obiektów wpisanych do rejestru zabytków).
                           </span>
                         
                         <table border="0" cellspacing="0" cellpadding="3" style="height: 10px; border: 0pt solid #000000">
                           <br/>   <tr> 
                            <td valign="top" style="valign: top; text-align: left; width:150px; height: 25px; border: 0pt solid #000000">
                             <b>Adres nieruchomości: </b>
                            </td>
                               <xsl:for-each select="//wnio:AdresNieruchomosci">
                                    <xsl:if test="true()">
                                      <td style="text-align: left;width:200px; height: 25px; border: 0pt solid #000000">
                                        <xsl:if test="true()">
                                          <span type="text">
                                              Miejscowość: <xsl:value-of select="wnio:Miejscowosc"/>
                                          </span>
                                          <span type="text">
                                             <br/> Ulica: <xsl:value-of select="wnio:Ulica"/>
                                          </span>
                                          <span type="text">
                                          	<br/> Budynek: <xsl:value-of select="wnio:Budynek"/>
                                          </span>
                                          <span type="text">
                                          	<br/> Lokal: <xsl:value-of select="wnio:Lokal"/>
                                          </span> 	
                                        </xsl:if>
                                      </td>
                                    </xsl:if>
                               </xsl:for-each>
                           </tr>
                        </table>
                         
    					<table border="0" cellspacing="0" cellpadding="3" style="height: 10px; border: 0pt solid #000000">
                         <br/><tr>
                            <td valign="top" style="valign: top; text-align: left; width:150px; height: 25px; border: 0pt solid #000000">
                              <b>Oznaczenie nieruchomości:</b>
                            </td>
                               <xsl:for-each select="//wnio:OznaczenieNieruchomosci">
                                    <xsl:if test="true()">
                                      <td style="text-align: left; height: 25px; border: 0pt solid #000000">
                                        <xsl:if test="true()">
                                          <span type="text">
                                            Obręb: <xsl:value-of select="wnio:Obreb"/>
                                          </span>
                                          <span type="text">
                                            <br/> Działka: <xsl:value-of select="wnio:Dzialka"/>
                                          </span>
                                          <span type="text">
                                          	<br/> Karta mapy: <xsl:value-of select="wnio:KartaMapy"/>
                                          </span> 	
                                        </xsl:if>
                                      </td>
                                    </xsl:if>
                               </xsl:for-each>
                           </tr>
                        </table>
                        
                         <br/>
    	                    <xsl:if test="//wnio:CharakterystykaUrzadzeniaReklamowego">
                          <strong>Charakterystyka urządzenia reklamowego: </strong>
                          <div style="margin:0px;  margin-right:0px;">
                               <br/>
                              <table border="0" cellspacing="1" cellpadding="3" style="width: 100%; height: 10px; border: 1pt solid #000000">
                                  <tr>
                                    <td style="text-align: center; background-color: #c0c0c0; width: 1%; height: 10px; border: 1pt solid #000000">
                                      <b>L.p.</b>
                                    </td>
                                    <td style="text-align: center; background-color: #c0c0c0; width: 12%; height: 25px; border: 1pt solid #000000">
                                      <b>Rodzaj urządzenia</b>
                                    </td>
                                    <td style="text-align: center; background-color: #c0c0c0; width: 4%; height: 25px; border: 1pt solid #000000">
                                      <b>Ilość</b>
                                    </td>
                                    <td style="text-align: center; background-color: #c0c0c0; width: 12%; height: 25px; border: 1pt solid #000000">
                                      <b>Długość</b>
                                    </td>
                                    <td style="text-align: center; background-color: #c0c0c0; width: 4%; height: 25px; border: 1pt solid #000000">
                                      <b>Szerokość</b>
                                    </td>
                                  </tr>
                                  
                            <xsl:for-each select="//wnio:ZgloszenieZamiaruUrzadzeniaReklamowegoNaObiekcieBudowlanym">
                                  <tr>
                                  	<td style="text-align: center; border: 1pt solid #000000">
                                        <xsl:value-of select="position()"/>
                                    </td>
                                  <xsl:for-each select="wnio:CharakterystykaUrzadzeniaReklamowego">
                                    <xsl:if test="true()">
                                      <td style="text-align: center; border: 1pt solid #000000">
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="//wnio:CharakterystykaUrzadzeniaReklamowego/wnio:RodzajUrzadzenia"/>
                                          </span>
                                        </xsl:if>
                                      </td>
                                      <td style="text-align: center; border: 1pt solid #000000">
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:Ilosc"/>
                                          </span>
                                        </xsl:if>
                                      </td>
                                      <td style="text-align: center; border: 1pt solid #000000">
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:Dlugosc"/>
                                          </span>
                                        </xsl:if>
                                      </td>
                                      <td style="text-align: center; border: 1pt solid #000000">
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:Szerokosc"/>
                                          </span>
                                        </xsl:if>
                                      </td>
                                    </xsl:if>
                                  </xsl:for-each>
                                </tr>
                                </xsl:for-each>
                                </table>
    	                      </div>
    	                    </xsl:if>
    					  
    				<br/>  
    			   <tr>
                    <td colspan="2">
                                    
    				<b>Termin rozpoczęcia robot budowlanych (min 30 dni przed zamiarem jego umieszczenia): </b>
    					<xsl:for-each select="//wnio:TerminRozpoczeciaRobotBudowlanych">
                        	<xsl:if test="true()">
                        	  <span>
                          		<xsl:value-of select="."/>
                          	  </span>		
                          	</xsl:if>
                        </xsl:for-each>  
                        
                    </td>
                   </tr>     
                   
                   <tr align="center">
                    <td colspan="2">
                      <br/>
                      <p>
                        <b>OŚWIADCZENIE O POSIADANYM PRAWIE DO DO DYSPONOWANIA NIERUCHOMOŚCIĄ NA CELE BUDOWLANE</b>
                      </p>
                      <br/>
                    </td>
                  </tr>
                   
                  <table border="0" cellspacing="0" cellpadding="3" style="height: 10px; border: 0pt solid #000000">
                         <br/><tr>
                            <td valign="top" style="valign: top; text-align: left; width:150px; height: 25px; border: 0pt solid #000000">
                              <b>Dokument tożsamości:</b>
                            </td>
                               <xsl:for-each select="//wnio:DokumentTozsamosci">
                                    <xsl:if test="true()">
                                      <td style="text-align: left; height: 25px; border: 0pt solid #000000">
                                        <xsl:if test="true()">
                                          <span type="text">
                                            Nazwa: <xsl:value-of select="wnio:Nazwa"/>
                                          </span>
                                          <span type="text">
                                            <br/> Seria: <xsl:value-of select="wnio:Seria"/>
                                          </span>
                                          <span type="text">
                                          	<br/> Numer: <xsl:value-of select="wnio:Numer"/>
                                          </span>
                                          <span type="text">
                                          	<br/> Organ wydający: <xsl:value-of select="wnio:OrganWydajacy"/>
                                          </span> 	
                                        </xsl:if>
                                      </td>
                                    </xsl:if>
                               </xsl:for-each>
                           </tr>
                        </table> 
                        
                     <table border="0" cellspacing="0" cellpadding="3" style="height: 10px; border: 0pt solid #000000">
                         <br/><tr>
                            <td valign="top" style="valign: top; text-align: left; width:150px; height: 25px; border: 0pt solid #000000">
                              <b>Data i miejsce urodzenia:</b>
                            </td>
                               <xsl:for-each select="//wnio:DataMiejsceUrodzenia">
                                    <xsl:if test="true()">
                                      <td style="text-align: left; height: 25px; border: 0pt solid #000000">
                                        <xsl:if test="true()">
                                          <span type="text">
                                           <xsl:value-of select="wnio:DataUrodzenia"/>
                                          </span>
                                          <span type="text">
                                            <br/>  <xsl:value-of select="wnio:MiejsceUrodzenia"/>
                                          </span>	
                                        </xsl:if>
                                      </td>
                                    </xsl:if>
                               </xsl:for-each>
                           </tr>
                        </table> 
                   
    	               <tr>
    	                <td colspan="2">
    	                  
    	                 <b>
    	                 Tytuł prawny użytkowanej nieruchomości: 
    	                 </b>
    	                    <span>
    	                      <xsl:if test="true()">
    	                        <span>
    	                          <xsl:choose>
    	                            <xsl:when test="wnio:TrescDokumentu/wnio:Zgloszenia/wnio:ZgloszenieZamiaruUmieszczeniaUrzadzeniaReklamowegoNaObiekcieBudowlanym/wnio:OswiadczenieOPosiadanymPrawieDoDysponowaniaNieruchomoscia/wnio:TytulPrawnyUzytkowanejNieruchomosci/wnio:Wlasnosc">
    	                              <span>
    	                                Własność
    	                              </span>
    	                            </xsl:when>
    	                            
    	                            <xsl:when test="wnio:TrescDokumentu/wnio:Zgloszenia/wnio:ZgloszenieZamiaruUmieszczeniaUrzadzeniaReklamowegoNaObiekcieBudowlanym/wnio:OswiadczenieOPosiadanymPrawieDoDysponowaniaNieruchomoscia/wnio:TytulPrawnyUzytkowanejNieruchomosci/wnio:Wspolwlasnosc">
    	                              <span>
    	                                Współwłasność
    	                              </span>
    	                              
    	                             <table border="0" cellspacing="0" cellpadding="3" style="height: 10px; border: 0pt solid #000000">
    			                             <br/><tr>
    			                        <td valign="top" style="valign: top; text-align: left; width:150px; height: 25px; border: 0pt solid #000000">
    			                          <b>Wspołwłaściciele: </b>
    			                        </td>
    			                           <xsl:for-each select="//wnio:Wspolwlasciciele">
    			                                <xsl:if test="true()">
    			                                  <td style="text-align: left; height: 25px; border: 0pt solid #000000">
    			                                    <xsl:if test="true()">
    			                                      <span type="text">
    			                                       <xsl:value-of select="wnio:ImieNazwisko"/>
    			                                      </span>
    			                                      <span type="text">
    			                                        <br/>  <xsl:value-of select="wnio:NazwaIAdres"/>
    			                                      </span>	
    			                                    </xsl:if>
    			                                  </td>
    			                                </xsl:if>
    			                           </xsl:for-each>
    			                         </tr>
    			                      </table> 
    	                             
    	                            </xsl:when>
    	                            
    	                            <xsl:when test="wnio:TrescDokumentu/wnio:Zgloszenia/wnio:ZgloszenieZamiaruUmieszczeniaUrzadzeniaReklamowegoNaObiekcieBudowlanym/wnio:OswiadczenieOPosiadanymPrawieDoDysponowaniaNieruchomoscia/wnio:TytulPrawnyUzytkowanejNieruchomosci/wnio:UzytkowanieWieczyste">
    	                              <span>
    	                                Uzytkowanie wieczyste
    	                              </span> 
    	                            </xsl:when>
                   
                                    <xsl:when test="wnio:TrescDokumentu/wnio:Zgloszenia/wnio:ZgloszenieZamiaruUmieszczeniaUrzadzeniaReklamowegoNaObiekcieBudowlanym/wnio:OswiadczenieOPosiadanymPrawieDoDysponowaniaNieruchomoscia/wnio:TytulPrawnyUzytkowanejNieruchomosci/wnio:TrwalyZarzad">
    	                              <span>
    	                                Trwaly zarzad
    	                              </span> 
    	                              
    	                              <tr>
    					                <td colspan="2">
    					                                
    									<b>Właściciel nieruchomości: </b>
    										<xsl:for-each select="//wnio:TrwalyZarzad/wnio:WlascicielNieruchomosci">
    					                    	<xsl:if test="true()">
    					                    	  <span>
    					                      		<xsl:value-of select="."/>
    					                      	  </span>		
    					                      	</xsl:if>
    					                    </xsl:for-each>  
    					                    
    					                </td>
    					              </tr>                  
    	                              
    	                            </xsl:when>
                   
                                    <xsl:when test="wnio:TrescDokumentu/wnio:Zgloszenia/wnio:ZgloszenieZamiaruUmieszczeniaUrzadzeniaReklamowegoNaObiekcieBudowlanym/wnio:OswiadczenieOPosiadanymPrawieDoDysponowaniaNieruchomoscia/wnio:TytulPrawnyUzytkowanejNieruchomosci/wnio:OgraniczonePrawoRzeczowe">
    	                              <span>
    	                                Ograniczone prawo rzeczowe
    	                              </span>
    	                              
    	                              <tr>
    					                <td colspan="2">
    					                                
    									<b>Właściciel nieruchomości: </b>
    										<xsl:for-each select="//wnio:OgraniczonePrawoRzeczowe/wnio:WlascicielNieruchomosci">
    					                    	<xsl:if test="true()">
    					                    	  <span>
    					                      		<xsl:value-of select="."/>
    					                      	  </span>		
    					                      	</xsl:if>
    					                    </xsl:for-each>  
    					                    
    					                </td>
    					              </tr>    
    					                             
    	                            </xsl:when>
                   
                                    <xsl:when test="wnio:TrescDokumentu/wnio:Zgloszenia/wnio:ZgloszenieZamiaruUmieszczeniaUrzadzeniaReklamowegoNaObiekcieBudowlanym/wnio:OswiadczenieOPosiadanymPrawieDoDysponowaniaNieruchomoscia/wnio:TytulPrawnyUzytkowanejNieruchomosci/wnio:StosunekZobowiazaniowy">
    	                              <span>
    	                                Stosunek zobowiazaniowy
    	                              </span> 
    	                            </xsl:when>
                                     <xsl:otherwise>
                                      <span> 
                                         Inne: 
                                      </span>
                                      
                                      <tr>
    					                <td colspan="2">
    					                                
    									<b>Inne: </b>
    										<xsl:for-each select="//wnio:Inny/wnio:RodzajDokumentu">
    					                    	<xsl:if test="true()">
    					                    	  <span>
    					                      		<xsl:value-of select="."/>
    					                      	  </span>		
    					                      	</xsl:if>
    					                    </xsl:for-each>  
    					                    
    					                </td>
    					              </tr>
                                      
                                    </xsl:otherwise>
    		                   </xsl:choose>
    		                 </span>
    		               </xsl:if>
    		             </span>
                        </td>
                        </tr>             
                      </xsl:otherwise>
                    </xsl:choose>
                  </span>
                </xsl:if>
              </span>
                 
                    <!--  ================= Koniec formularza dla urządzenia reklamowego ====================-->     
       
    				<p>
                        <strong>Materiały
                        <span>
                          <xsl:if test="true()">
                            <span>
                              <xsl:choose>
                                <xsl:when test="contains(concat(concat(' ', normalize-space(wnio:TrescDokumentu/wnio:SposobOdbioru)),' '), ' Osobiście ' )">
                                  <span>
                                    odbiorę osobiście w siedzibie urzędu.
                                  </span>
                                </xsl:when>
                                <xsl:when test="contains(concat(concat(' ', normalize-space(wnio:TrescDokumentu/wnio:SposobOdbioru)),' '), ' Poczta ' )">
                                  <span>
                                    proszę przesłać pocztą tradycyjną.
                                  </span>
                                </xsl:when>
                                <xsl:when test="contains(concat(concat(' ', normalize-space(wnio:TrescDokumentu/wnio:SposobOdbioru)),' '), ' Elektronicznie ' )">
                                  <span>
                                    proszę przesłać drogą elektroniczną poprzez skrzynkę kontaktową ePUAP.
                                  </span>
                                </xsl:when>
                              </xsl:choose>
                            </span>
                          </xsl:if>
                        </span></strong>
                      </p>
    
                    </td>
                  </tr>
    
                  <!-- ################### KONIEC FORMULARZA ################### -->
    
                  <tr>
                   
                    <td colspan="2" height="50">
                      <xsl:if test="wnio:TrescDokumentu/wnio:Zalaczniki/wnio:Zalacznik">
                        <p>
                          <strong>Załączniki</strong>
                        </p>
                       
                        <!-- ################### TUTAJ ZAŁĄCZNIKI POCZĄTEK ################### -->
    
                        <table border="0" cellspacing="1" cellpadding="3" style="height: 10px; border: 1pt solid #000000; width: 100%;">
                          <tr>
                            <td style="text-align: center; background-color: #c0c0c0; width: 5%; height: 25px; border: 1pt solid #000000">
                              <b>L.p.</b>
                            </td>
                            <td style="text-align: center; background-color: #c0c0c0; width: 5%; height: 25px; border: 1pt solid #000000">
                              <b>Załącznik aktualny</b>
                            </td>
                            <td style="text-align: center; background-color: #c0c0c0; width: 30%; height: 25px; border: 1pt solid #000000">
                              <b>Typ</b>
                            </td>
                            <td style="text-align: center; background-color: #c0c0c0; width: 30%; height: 25px; border: 1pt solid #000000">
                              <b>Opis</b>
                            </td>
                            <td style="text-align: center; background-color: #c0c0c0; width: 30%; height: 25px; border: 1pt solid #000000">
                              <b>Plik</b>
                            </td>
                          </tr>
                          <xsl:for-each select="wnio:TrescDokumentu/wnio:Zalaczniki/wnio:Zalacznik">
                            <xsl:if test="true()">
                              <tr>
                                <td style="text-align: center; width: 50px; border: 1pt solid #000000">
                                  <xsl:value-of select="position()"/>
                                </td>
                                <td style="text-align: center; width: 100px; border: 1pt solid #000000">
                                  <xsl:if test="true()">
                                    <span>
                                      <xsl:choose>
                                        <xsl:when test="contains(concat(concat(' ', normalize-space(@aktualnoscZalacznika)),' '),  ' tak ' )">
                                          <span>Tak</span>
                                        </xsl:when>
                                        <xsl:otherwise>
                                          <span>Nie</span>
                                        </xsl:otherwise>
                                      </xsl:choose>
                                    </span>
                                  </xsl:if>
                                </td>
                                <td style="text-align: center; width: 200px; border: 1pt solid #000000">
                                  <xsl:if test="true()">
                                    <span type="text">
                                      <xsl:value-of select="wnio:TypZalacznika"/>
                                    </span><br/>
                               	  </xsl:if>
                                </td>
                               
                                <td style="text-align: center; border: 1pt solid #000000">
                                  <xsl:if test="true()">
                                    <span type="text">
                                      <xsl:value-of select="wnio:OpisZalacznika"/>
                                    </span>
                                  </xsl:if>
                                </td>
    							
                                <td style="text-align: center; width: 200px; border: 1pt solid #000000">
                                  <xsl:for-each select="str:Zalacznik">
                                    <xsl:if test="true()">
                                      <span>
                                        <xsl:value-of select="str:DaneZalacznika/../@nazwaPliku"/>
                                      </span>
                                    </xsl:if>
                                  </xsl:for-each>
                                </td>
                              </tr>
                            </xsl:if>
                          </xsl:for-each>
                        </table>
                      </xsl:if>
                         
                      <!-- ################### TUTAJ ZAŁĄCZNIKI KONIEC ################### -->
    
                      <br/>
                      <xsl:for-each select="wnio:TrescDokumentu/wnio:Zalaczniki">
                        <xsl:if test="wnio:Zalacznik">
                          <span>
                            <b>Potwierdzam zgodność wszystkich załączonych dokumentów z oryginałami: </b>
                          </span>
                          <xsl:choose>
                            <xsl:when test="contains(concat(concat(' ', normalize-space(@zgodneZOryginalami)),' '),  ' tak ' )">
                              <span>Tak</span>
                            </xsl:when>
                            <xsl:otherwise>
                              <span>Nie</span>
                            </xsl:otherwise>
                          </xsl:choose>
                          <br/>
                        </xsl:if>
                      </xsl:for-each>
                      <br/>
                      
                      <xsl:choose>
                        <xsl:when test="contains(concat(concat(' ', normalize-space(wnio:TrescDokumentu/wnio:ZgodaNaKorespondencje)),' '),  ' tak ' )">
                          <span>Korespondencję w tej sprawie proszę kierować do mnie za pomocą środków komunikacji elektronicznej zgodnie z art. 39' ustawy z dnia 14 czerwca 1960 r. Kodeks postępowania administracyjnego (Dz. U. z 2000 r. Nr 98, poz. 1071, z późn. zm.).</span>
                        </xsl:when>
                        <xsl:otherwise>
                          <span>Nie wyrażam zgody na kierowanie do mnie korespondencji za pomocą środków komunikacji elektronicznej.</span>
                        </xsl:otherwise>
                      </xsl:choose>
                    </td>
                  </tr>
                  <tr>
                    <td colspan="2">
                      <br/>
                      <br/>
                      <xsl:for-each select="wnio:TrescDokumentu/wnio:Uwagi/wnio:Uwaga">
                      	<p>
                        	<strong>
                        		<xsl:value-of select="."/>
                        	</strong>
                      	</p>
                      </xsl:for-each>
                    </td>
                  </tr>
                </tbody>
              </table>
            </body>
          </html>
        </xsl:for-each>
      </xsl:template>
    </xsl:stylesheet>