556

ID556
Data2011-05-04
Symbol2011/05/04/556
InstytucjaUrząd Miasta Krakowa
NazwaKoordynacja usytuowania projektowanych sieci uzbrojenia terenu
Czy Aktualny1

Ustawy (4)

  • Dz. U. Nr 37, poz. 333
  • Rozporządzenie Ministra Infrastruktury z dnia 19 lutego 2004 r. w sprawie wysokości opłat za czynności geodezyjne i kartograficzne oraz udzielanie informacji, a także za wykonywanie wyrysów i wypisów z operatu ewidencyjnego
  • Dz. U. Nr 38, poz. 455
  • Rozporządzenie Ministra Rozwoju Regionalnego i Budownictwa z dnia 2 kwietnia 2001 r. w sprawie geodezyjnej ewidencji sieci uzbrojenia terenu oraz zespołów uzgadniania dokumentacji projektowej
  • Dz. U. z 2010 r. Nr 193, poz. 1287 z późn. zm.
  • Art. 24 oraz art. 40 ust. 3c i 3d ustawy z dnia 17 maja 1989 r. - Prawo geodezyjne i kartograficzne
  • Zarządzenie Nr 722/2009 Prezydenta Miasta Krakowa z dnia 6 kwietnia 2009 r.
  • Zarządzenie Nr 722/2009 Prezydenta Miasta Krakowa z dnia 6 kwietnia 2009 r. w sprawie powołania Zespołu Koordynującego Usytuowanie Projektowanych Sieci Uzbrojenia Terenu oraz wprowadzenia Regulaminu Zespołu.

    Pliki

    Styl

    <?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:adr="http://crd.gov.pl/xml/schematy/adres/2009/11/09/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:inst="http://crd.gov.pl/xml/schematy/instytucja/2009/11/16/" xmlns:meta="http://crd.gov.pl/xml/schematy/meta/2009/11/16/" xmlns:oso="http://crd.gov.pl/xml/schematy/osoba/2009/11/16/" xmlns:str="http://crd.gov.pl/xml/schematy/struktura/2009/11/16/" xmlns:wnio="http://crd.gov.pl/wzor/2011/05/04/556/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="1.0">
      <xsl:template match="/">
        <xsl:for-each select="wnio:Dokument">
          <html xmlns="http://www.w3.org/1999/xhtml">
            <head>
              
            </head>
            <body>
              <table border="0" height="367" width="600">
                <tbody>
                  <tr>
                    <td align="left" colspan="2" style="width: 300px">
                      <span>
                        <strong>Nadawca wniosku</strong>
                        <br/>
                        <xsl:if test="true()">
                          <span type="text">
                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID0"/>
                          </span>
                        </xsl:if>
                      </span> <span>
                        <xsl:if test="true()">
                          <span type="text">
                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID1"/>
                          </span>
                        </xsl:if>
                      </span>
                    </td>
                  </tr>
                  <tr>
                    <td align="right" colspan="2">
                      <table border="0" height="78" width="259">
                        <tbody>
                          <tr>
                            <td align="right">
                              <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel6/wnio:ID76">
                                <xsl:if test="../../wnio:RodzajWnioskodawcy = 'osoba fizyczna' or ../../wnio:RodzajWnioskodawcy = 'osoba fizyczna prowadząca działalność gospodarczą'">
                                  <span>
                                    <label>
                                      <span/>
                                    </label>
                                    <xsl:if test="true()">
                                      <span type="text">
                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:RodzajWniosku/wnio:MiejscowoscDokumentu"/>, dnia
                                      </span>
                                    </xsl:if>
                                  </span>
                                </xsl:if>
                              </xsl:for-each>
                              <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel7/wnio:ID82">
                                <xsl:if test="../../wnio:RodzajWnioskodawcy = 'osoba prawna' or  ../../wnio:RodzajWnioskodawcy =  'jednostka organizacyjna nie mająca osobowości prawnej'">
                                  <span>
                                    <label>
                                      <span/>
                                    </label>
                                    <xsl:if test="true()">
                                      <span type="text">
                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:RodzajWniosku/wnio:MiejscowoscDokumentu"/>, dnia
                                      </span>
                                    </xsl:if>
                                  </span>
                                </xsl:if>
                              </xsl:for-each>
                            </td>
                            <td align="left">
                              <xsl:if test="true()">
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:RodzajWniosku/wnio:DataDokumentu"/>
                              </xsl:if>
                            </td>
                          </tr>
                        </tbody>
                      </table>
                    </td>
                  </tr>
    
                  <!-- #### POCZĄTEK WNIOSKODAWCY #### -->
    
                  <tr>
                    <td colspan="2">
                      <strong>Wnioskodawca</strong>
                      <br/>
                      <table>
                        <tr>
                          <td style="width: 3px; background-color: #c0c0c0;"/>
                          <td>
    
                            <!-- #### OSOBA FIZYCZNA #### -->
    
                            <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel1/wnio:ID3">
                              <xsl:if test="../../wnio:RodzajWnioskodawcy = 'osoba fizyczna' or ../../wnio:RodzajWnioskodawcy = 'osoba fizyczna prowadząca działalność gospodarczą'">
                                <p/>
                                <table border="0" width="600">
                                  <tbody>
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="true()">
                                            <span type="text">
                                              <b>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/oso:Imie"/>
                                              </b>
                                            </span>
                                          </xsl:if>
                                        </span> <span>
                                          <xsl:if test="true()">
                                            <span type="text">
                                              <b>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/oso:Nazwisko"/>
                                              </b>
                                            </span>
                                          </xsl:if>
                                        </span>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td>
                                        <xsl:choose>
                                          <!-- #### Ulica wpisana i poczta pusta #### -->
                                          <xsl:when test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Ulica))=0) and (string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID103))=0)">
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Ulica"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Budynek"/>
                                              </span>
                                            </xsl:if>
                                            <xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Lokal))=0)">
                                              <span type="text">
                                                <xsl:text>/</xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Lokal"/>
                                              </span>
                                            </xsl:if>
                                            <br/>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:KodPocztowy"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Miejscowosc"/>
                                              </span>
                                            </xsl:if>
                                          </xsl:when>
    
                                          <!-- #### Ulica pusta i poczta pusta #### -->
                                          <xsl:when test="(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Ulica))=0) and (string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID103))=0)">
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Miejscowosc"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Budynek"/>
                                              </span>
                                            </xsl:if>
                                            <xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Lokal))=0)">
                                              <span type="text">
                                                <xsl:text>/</xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Lokal"/>
                                              </span>
                                            </xsl:if>
                                            <br/>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:KodPocztowy"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Miejscowosc"/>
                                              </span>
                                            </xsl:if>
                                          </xsl:when>
    
                                          <!-- #### Ulica wpisana i poczta wpisana #### -->
                                          <xsl:when test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Ulica))=0) and not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID103))=0)">
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Ulica"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Budynek"/>
                                              </span>
                                            </xsl:if>
                                            <xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Lokal))=0)">
                                              <span type="text">
                                                <xsl:text>/</xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Lokal"/>
                                              </span>
                                            </xsl:if>
                                            <br/>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Miejscowosc"/>
                                                <xsl:text>, </xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:KodPocztowy"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID103"/>
                                              </span>
                                            </xsl:if>
                                          </xsl:when>
    
                                          <!-- #### Ulica pusta i poczta wpisana #### -->
                                          <xsl:when test="(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Ulica))=0) and not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID103))=0)">
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Miejscowosc"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Budynek"/>
                                              </span>
                                            </xsl:if>
                                            <xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Lokal))=0)">
                                              <span type="text">
                                                <xsl:text>/</xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Lokal"/>
                                              </span>
                                            </xsl:if>
                                            <br/>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:KodPocztowy"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID103"/>
                                              </span>
                                            </xsl:if>
                                          </xsl:when>
                                        </xsl:choose>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID15))=0)">
                                            <span type="text">
                                              <xsl:text>Telefon:  </xsl:text>
                                              <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID15"/>
                                            </span>
                                          </xsl:if>
                                        </span>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID139))=0)">
                                            <span type="text">
                                              <xsl:text>PESEL: </xsl:text>
                                              <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID139"/>
                                            </span>
                                          </xsl:if>
                                        </span>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID140))=0)">
                                            <span type="text">
                                              <xsl:text>NIP: </xsl:text>
                                              <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID140"/>
                                            </span>
                                          </xsl:if>
                                        </span>
                                      </td>
                                    </tr>
                                  </tbody>
                                </table>
                                <br/>
    
                                <!-- #### PEŁNOMOCNIK OSOBY #### -->
    
                                <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel1/wnio:ID42">
                                  <xsl:if test="../../wnio:ID16 = '2'">
                                    <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel/wnio:ID17">
                                      <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:Wartosc/wnio:ID18"/>
                                                      </b>
                                                    </span>
                                                  </xsl:if>
                                                </span> <span>
                                                  <xsl:if test="true()">
                                                    <span type="text">
                                                      <b>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID19"/>
                                                      </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:Wartosc/wnio:ID20))=0) and (string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID153))=0)">
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID20"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID21"/>
                                                      </span>
                                                    </xsl:if>
                                                    <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID91))=0)">
                                                      <span type="text">
                                                        <xsl:text>/</xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID91"/>
                                                      </span>
                                                    </xsl:if>
                                                    <br/>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID22"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID23"/>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:when>
    
                                                  <!-- #### Ulica pusta i poczta pusta #### -->
                                                  <xsl:when test="(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID20))=0) and (string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID153))=0)">
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID23"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID21"/>
                                                      </span>
                                                    </xsl:if>
                                                    <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID91))=0)">
                                                      <span type="text">
                                                        <xsl:text>/</xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID91"/>
                                                      </span>
                                                    </xsl:if>
                                                    <br/>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID22"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID23"/>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:when>
    
                                                  <!-- #### Ulica wpisana i poczta wpisana #### -->
                                                  <xsl:when test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID20))=0) and not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID153))=0)">
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID20"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID21"/>
                                                      </span>
                                                    </xsl:if>
                                                    <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID91))=0)">
                                                      <span type="text">
                                                        <xsl:text>/</xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID91"/>
                                                      </span>
                                                    </xsl:if>
                                                    <br/>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID23"/>
                                                        <xsl:text>, </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID22"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID153"/>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:when>
    
                                                  <!-- #### Ulica pusta i poczta wpisana #### -->
                                                  <xsl:when test="(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID20))=0) and not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID153))=0)">
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID23"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID21"/>
                                                      </span>
                                                    </xsl:if>
                                                    <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID91))=0)">
                                                      <span type="text">
                                                        <xsl:text>/</xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID91"/>
                                                      </span>
                                                    </xsl:if>
                                                    <br/>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID22"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID153"/>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:when>
                                                </xsl:choose>
                                              </td>
                                            </tr>
                                            <tr>
                                              <td>
                                                <span>
                                                  <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID26))=0)">
                                                    <span type="text">
                                                      <xsl:text>Telefon: </xsl:text>
                                                      <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID26"/>
                                                    </span>
                                                  </xsl:if>
                                                </span>
                                              </td>
                                            </tr>
                                            <tr>
                                              <td>
                                                <span>
                                                  <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID141))=0)">
                                                    <span type="text">
                                                      <xsl:text>PESEL: </xsl:text>
                                                      <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID141"/>
                                                    </span>
                                                  </xsl:if>
                                                </span>
                                              </td>
                                            </tr>
                                            <tr>
                                              <td>
                                                <span>
                                                  <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID142))=0)">
                                                    <span type="text">
                                                      <xsl:text>NIP: </xsl:text>
                                                      <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID142"/>
                                                    </span>
                                                  </xsl:if>
                                                </span>
                                              </td>
                                            </tr>
                                          </tbody>
                                        </table>
    
                                        <!-- #### ADRES DO KORESPONDENCJI PEŁNOMOCNIKA #### -->
    
                                        
                                        <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel/wnio:ID29">
                                          <xsl:if test="../../wnio:ID28 = '2'">
                                            <br/>Adres do korespondencji:<br/>
                                            <table border="0" width="514">
                                              <tbody>
                                                <tr>
                                                  <td>
                                                    <xsl:choose>
                                                      <!-- #### Ulica wpisana i poczta pusta #### -->
                                                      <xsl:when test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID32))=0) and (string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID154))=0)">
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID32"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID33"/>
                                                          </span>
                                                        </xsl:if>
                                                        <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID92))=0)">
                                                          <span type="text">
                                                            <xsl:text>/</xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID92"/>
                                                          </span>
                                                        </xsl:if>
                                                        <br/>
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID34"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID35"/>
                                                          </span>
                                                        </xsl:if>
                                                      </xsl:when>
    
                                                      <!-- #### Ulica pusta i poczta pusta #### -->
                                                      <xsl:when test="(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID32))=0) and (string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID154))=0)">
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID35"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID33"/>
                                                          </span>
                                                        </xsl:if>
                                                        <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID92))=0)">
                                                          <span type="text">
                                                            <xsl:text>/</xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID92"/>
                                                          </span>
                                                        </xsl:if>
                                                        <br/>
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID34"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID35"/>
                                                          </span>
                                                        </xsl:if>
                                                      </xsl:when>
    
                                                      <!-- #### Ulica wpisana i poczta wpisana #### -->
                                                      <xsl:when test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID32))=0) and not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID154))=0)">
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID32"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID33"/>
                                                          </span>
                                                        </xsl:if>
                                                        <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID92))=0)">
                                                          <span type="text">
                                                            <xsl:text>/</xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID92"/>
                                                          </span>
                                                        </xsl:if>
                                                        <br/>
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID35"/>
                                                            <xsl:text>, </xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID34"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID154"/>
                                                          </span>
                                                        </xsl:if>
                                                      </xsl:when>
    
                                                      <!-- #### Ulica pusta i poczta wpisana #### -->
                                                      <xsl:when test="(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID32))=0) and not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID154))=0)">
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID35"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID33"/>
                                                          </span>
                                                        </xsl:if>
                                                        <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID92))=0)">
                                                          <span type="text">
                                                            <xsl:text>/</xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID92"/>
                                                          </span>
                                                        </xsl:if>
                                                        <br/>
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID34"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID154"/>
                                                          </span>
                                                        </xsl:if>
                                                      </xsl:when>
                                                    </xsl:choose>
                                                  </td>
                                                </tr>
              
                                              </tbody>
                                            </table>
                                          </xsl:if>
                                        </xsl:for-each>
                                      </xsl:if>
                                    </xsl:for-each>
                                  </xsl:if>
                                </xsl:for-each>
    
                                <!-- #### ADRES DO KORESPONDENCJI OSOBY #### -->
    
                                <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel2/wnio:ID39">
                                  <xsl:if test="../../wnio:ID16 = '1'">
                                    <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel/wnio:ID41">
                                      <xsl:if test="../../wnio:ID40='2'">
                                        <br/>Adres do korespondencji:<br/>
                                        <table border="0" width="514">
                                          <tbody>
                                            <tr>
                                              <td>
                                                <xsl:choose>
                                                  <!-- #### Ulica wpisana i poczta pusta #### -->
                                                  <xsl:when test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID44))=0) and (string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID155))=0)">
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID44"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID45"/>
                                                      </span>
                                                    </xsl:if>
                                                    <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID93))=0)">
                                                      <span type="text">
                                                        <xsl:text>/</xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID93"/>
                                                      </span>
                                                    </xsl:if>
                                                    <br/>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID46"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID47"/>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:when>
    
                                                  <!-- #### Ulica pusta i poczta pusta #### -->
                                                  <xsl:when test="(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID44))=0) and (string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID155))=0)">
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID47"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID45"/>
                                                      </span>
                                                    </xsl:if>
                                                    <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID93))=0)">
                                                      <span type="text">
                                                        <xsl:text>/</xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID93"/>
                                                      </span>
                                                    </xsl:if>
                                                    <br/>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID46"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID47"/>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:when>
    
                                                  <!-- #### Ulica wpisana i poczta wpisana #### -->
                                                  <xsl:when test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID44))=0) and not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID155))=0)">
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID44"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID45"/>
                                                      </span>
                                                    </xsl:if>
                                                    <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID93))=0)">
                                                      <span type="text">
                                                        <xsl:text>/</xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID93"/>
                                                      </span>
                                                    </xsl:if>
                                                    <br/>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID47"/>
                                                        <xsl:text>, </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID46"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID155"/>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:when>
    
                                                  <!-- #### Ulica pusta i poczta wpisana #### -->
                                                  <xsl:when test="(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID44))=0) and not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID155))=0)">
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID47"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID45"/>
                                                      </span>
                                                    </xsl:if>
                                                    <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID93))=0)">
                                                      <span type="text">
                                                        <xsl:text>/</xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID93"/>
                                                      </span>
                                                    </xsl:if>
                                                    <br/>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID46"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID155"/>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:when>
                                                </xsl:choose>
                                              </td>
                                            </tr>
                                          </tbody>
                                        </table>
                                      </xsl:if>
                                    </xsl:for-each>
                                  </xsl:if>
                                </xsl:for-each>
                              </xsl:if>
                            </xsl:for-each>
    
                            <!-- #### INSTYTUCJA #### -->
    
                            <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel2/wnio:ID4">
                              <xsl:if test="../../wnio:RodzajWnioskodawcy = 'osoba prawna' or  ../../wnio:RodzajWnioskodawcy =  'jednostka organizacyjna nie mająca osobowości prawnej'">
                                <table border="0" width="600">
                                  <tbody>
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="true()">
                                            <span type="text">
                                              <b>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/inst:NazwaInstytucji"/>
                                              </b>
                                            </span>
                                          </xsl:if>
                                        </span>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td>
                                        <xsl:choose>
                                          <!-- #### Ulica wpisana i poczta pusta #### -->
                                          <xsl:when test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Ulica))=0) and (string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID156))=0)">
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Ulica"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Budynek"/>
                                              </span>
                                            </xsl:if>
                                            <xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal))=0)">
                                              <span type="text">
                                                <xsl:text>/</xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal"/>
                                              </span>
                                            </xsl:if>
                                            <br/>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:KodPocztowy"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Miejscowosc"/>
                                              </span>
                                            </xsl:if>
                                          </xsl:when>
    
                                          <!-- #### Ulica pusta i poczta pusta #### -->
                                          <xsl:when test="(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Ulica))=0) and (string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID156))=0)">
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Miejscowosc"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Budynek"/>
                                              </span>
                                            </xsl:if>
                                            <xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal))=0)">
                                              <span type="text">
                                                <xsl:text>/</xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal"/>
                                              </span>
                                            </xsl:if>
                                            <br/>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:KodPocztowy"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Miejscowosc"/>
                                              </span>
                                            </xsl:if>
                                          </xsl:when>
    
                                          <!-- #### Ulica wpisana i poczta wpisana #### -->
                                          <xsl:when test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Ulica))=0) and not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID156))=0)">
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Ulica"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Budynek"/>
                                              </span>
                                            </xsl:if>
                                            <xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal))=0)">
                                              <span type="text">
                                                <xsl:text>/</xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal"/>
                                              </span>
                                            </xsl:if>
                                            <br/>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Miejscowosc"/>
                                                <xsl:text>, </xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:KodPocztowy"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID156"/>
                                              </span>
                                            </xsl:if>
                                          </xsl:when>
    
                                          <!-- #### Ulica pusta i poczta wpisana #### -->
                                          <xsl:when test="(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Ulica))=0) and not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID156))=0)">
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Miejscowosc"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Budynek"/>
                                              </span>
                                            </xsl:if>
                                            <xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal))=0)">
                                              <span type="text">
                                                <xsl:text>/</xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal"/>
                                              </span>
                                            </xsl:if>
                                            <br/>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:KodPocztowy"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID156"/>
                                              </span>
                                            </xsl:if>
                                          </xsl:when>
                                        </xsl:choose>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID49))=0)">
                                            <span type="text">
                                              <xsl:text>Telefon: </xsl:text>
                                              <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID49"/>
                                            </span>
                                          </xsl:if>
                                        </span>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID36))=0)">
                                            <span type="text">
                                              <xsl:text>REGON: </xsl:text>
                                              <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID36"/>
                                            </span>
                                          </xsl:if>
                                        </span>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID37))=0)">
                                            <span type="text">
                                              <xsl:text>NIP: </xsl:text>
                                              <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID37"/>
                                            </span>
                                          </xsl:if>
                                        </span>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID48))=0)">
                                            <span type="text">
                                              <xsl:text>KRS: </xsl:text>
                                              <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID48"/>
                                            </span>
                                          </xsl:if>
                                        </span>
                                      </td>
                                    </tr>
                                  </tbody>
                                </table>
    
                                <!-- #### PRZEDSTAWICIEL INSTYTUCJI #### -->
    
                                <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel1/wnio:ID59">
                                  <xsl:if test="../../wnio:ID58='1' or ../../wnio:ID58='1 2' or ../../wnio:ID58='2 1'">
                                    <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel/wnio:ID151">
                                      <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:TrescDokumentu/wnio:Wartosc/wnio:ID27"/>
                                                      </b>
                                                    </span>
                                                  </xsl:if>
                                                </span> <span>
                                                  <xsl:if test="true()">
                                                    <span type="text">
                                                      <b>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID30"/>
                                                      </b>
                                                    </span>
                                                  </xsl:if>
                                                </span>
                                              </td>
                                            </tr>
                                            <tr>
                                              <td>
                                                <span>
                                                  <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID31))=0)">
                                                    <span type="text">
                                                      <xsl:text>PESEL: </xsl:text>
                                                      <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID31"/>
                                                    </span>
                                                  </xsl:if>
                                                </span>
                                              </td>
                                            </tr>
                                            <tr>
                                              <td>
                                                <span>
                                                  <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID38))=0)">
                                                    <span type="text">
                                                      <xsl:text>Telefon: </xsl:text>
                                                      <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID38"/>
                                                    </span>
                                                  </xsl:if>
                                                </span>
                                              </td>
                                            </tr>
                                          </tbody>
                                        </table>
    
                                        <!-- #### ADRES DO KORESPONDENCJI PRZEDSTAWICIELA INSTYTUCJI #### -->
    
                                        <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel/wnio:ID69">
                                          <xsl:if test="../../wnio:ID61 = '2'">
                                            <br/>Adres do korespondencji:<br/>
                                            <table border="0" width="514">
                                              <tbody>
                                                <tr>
                                                  <td>
                                                    <xsl:choose>
                                                      <!-- #### Ulica wpisana i poczta pusta #### -->
                                                      <xsl:when test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID10))=0) and (string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID157))=0)">
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID10"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID11"/>
                                                          </span>
                                                        </xsl:if>
                                                        <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID94))=0)">
                                                          <span type="text">
                                                            <xsl:text>/</xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID94"/>
                                                          </span>
                                                        </xsl:if>
                                                        <br/>
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID12"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID51"/>
                                                          </span>
                                                        </xsl:if>
                                                      </xsl:when>
    
                                                      <!-- #### Ulica pusta i poczta pusta #### -->
                                                      <xsl:when test="(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID10))=0) and (string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID157))=0)">
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID51"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID11"/>
                                                          </span>
                                                        </xsl:if>
                                                        <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID94))=0)">
                                                          <span type="text">
                                                            <xsl:text>/</xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID94"/>
                                                          </span>
                                                        </xsl:if>
                                                        <br/>
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID12"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID51"/>
                                                          </span>
                                                        </xsl:if>
                                                      </xsl:when>
    
                                                      <!-- #### Ulica wpisana i poczta wpisana #### -->
                                                      <xsl:when test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID10))=0) and not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID157))=0)">
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID10"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID11"/>
                                                          </span>
                                                        </xsl:if>
                                                        <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID94))=0)">
                                                          <span type="text">
                                                            <xsl:text>/</xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID94"/>
                                                          </span>
                                                        </xsl:if>
                                                        <br/>
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID51"/>
                                                            <xsl:text>, </xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID12"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID157"/>
                                                          </span>
                                                        </xsl:if>
                                                      </xsl:when>
    
                                                      <!-- #### Ulica pusta i poczta wpisana #### -->
                                                      <xsl:when test="(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID10))=0) and not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID157))=0)">
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID51"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID11"/>
                                                          </span>
                                                        </xsl:if>
                                                        <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID94))=0)">
                                                          <span type="text">
                                                            <xsl:text>/</xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID94"/>
                                                          </span>
                                                        </xsl:if>
                                                        <br/>
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID12"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID157"/>
                                                          </span>
                                                        </xsl:if>
                                                      </xsl:when>
                                                    </xsl:choose>
                                                  </td>
                                                </tr>
                                              </tbody>
                                            </table>
                                          </xsl:if>
                                        </xsl:for-each>
                                        <br/>
                                      </xsl:if>
                                    </xsl:for-each>
                                  </xsl:if>
                                </xsl:for-each>
    
                                <!-- #### PEŁNOMOCNIK INSTYTUCJI  ##### -->
    
                                <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel2/wnio:ID43">
                                  <xsl:if test="../../wnio:ID58 = '2' or ../../wnio:ID58='2 1' or ../../wnio:ID58='1 2'">
                                    <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel/wnio:ID9">
                                      <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:Wartosc/wnio:ID54"/>
                                                      </b>
                                                    </span>
                                                  </xsl:if>
                                                </span>
                                                <span>
                                                  <label>
                                                    <span> </span>
                                                  </label>
                                                  <xsl:if test="true()">
                                                    <span type="text">
                                                      <b>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID55"/>
                                                      </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:Wartosc/wnio:ID56))=0) and (string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID158))=0)">
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID56"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID57"/>
                                                      </span>
                                                    </xsl:if>
                                                    <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID101))=0)">
                                                      <span type="text">
                                                        <xsl:text>/</xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID101"/>
                                                      </span>
                                                    </xsl:if>
                                                    <br/>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID63"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID64"/>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:when>
    
                                                  <!-- #### Ulica pusta i poczta pusta #### -->
                                                  <xsl:when test="(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID56))=0) and (string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID158))=0)">
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID64"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID57"/>
                                                      </span>
                                                    </xsl:if>
                                                    <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID101))=0)">
                                                      <span type="text">
                                                        <xsl:text>/</xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID101"/>
                                                      </span>
                                                    </xsl:if>
                                                    <br/>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID63"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID64"/>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:when>
    
                                                  <!-- #### Ulica wpisana i poczta wpisana #### -->
                                                  <xsl:when test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID56))=0) and not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID158))=0)">
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID56"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID57"/>
                                                      </span>
                                                    </xsl:if>
                                                    <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID101))=0)">
                                                      <span type="text">
                                                        <xsl:text>/</xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID101"/>
                                                      </span>
                                                    </xsl:if>
                                                    <br/>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID64"/>
                                                        <xsl:text>, </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID63"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID158"/>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:when>
    
                                                  <!-- #### Ulica pusta i poczta wpisana #### -->
                                                  <xsl:when test="(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID56))=0) and not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID158))=0)">
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID64"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID57"/>
                                                      </span>
                                                    </xsl:if>
                                                    <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID101))=0)">
                                                      <span type="text">
                                                        <xsl:text>/</xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID101"/>
                                                      </span>
                                                    </xsl:if>
                                                    <br/>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID63"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID158"/>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:when>
                                                </xsl:choose>
                                              </td>
                                            </tr>
                                            <tr>
                                              <td>
                                                <span>
                                                  <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID67))=0)">
                                                    <span type="text">
                                                      <xsl:text>Telefon: </xsl:text>
                                                      <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID67"/>
                                                    </span>
                                                  </xsl:if>
                                                </span>
                                              </td>
                                            </tr>
                                            <tr>
                                              <td>
                                                <span>
                                                  <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID65))=0)">
                                                    <span type="text">
                                                      <xsl:text>PESEL: </xsl:text>
                                                      <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID65"/>
                                                    </span>
                                                  </xsl:if>
                                                </span>
                                              </td>
                                            </tr>
                                            <tr>
                                              <td>
                                                <span>
                                                  <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID66))=0)">
                                                    <span type="text">
                                                      <xsl:text>NIP: </xsl:text>
                                                      <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID66"/>
                                                    </span>
                                                  </xsl:if>
                                                </span>
                                              </td>
                                            </tr>
                                          </tbody>
                                        </table>
    
                                        <!-- #### ADRES DO KORESPONDENCJI PEŁNOMOCNIKA INSTYTUCJI #### -->
    
                                        <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel/wnio:ID102">
                                          <xsl:if test="../../wnio:ID70='2'">
                                            <br/>Adres do korespondencji:<br/>
                                            <table border="0" width="600">
                                              <tbody>
                                                <tr>
                                                  <td>
                                                    <xsl:choose>
                                                      <!-- #### Ulica wpisana i poczta pusta #### -->
                                                      <xsl:when test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID104))=0) and (string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID159))=0)">
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID104"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID105"/>
                                                          </span>
                                                        </xsl:if>
                                                        <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID106))=0)">
                                                          <span type="text">
                                                            <xsl:text>/</xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID106"/>
                                                          </span>
                                                        </xsl:if>
                                                        <br/>
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID107"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID108"/>
                                                          </span>
                                                        </xsl:if>
                                                      </xsl:when>
    
                                                      <!-- #### Ulica pusta i poczta pusta #### -->
                                                      <xsl:when test="(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID104))=0) and (string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID159))=0)">
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID108"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID105"/>
                                                          </span>
                                                        </xsl:if>
                                                        <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID106))=0)">
                                                          <span type="text">
                                                            <xsl:text>/</xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID106"/>
                                                          </span>
                                                        </xsl:if>
                                                        <br/>
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID107"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID108"/>
                                                          </span>
                                                        </xsl:if>
                                                      </xsl:when>
    
                                                      <!-- #### Ulica wpisana i poczta wpisana #### -->
                                                      <xsl:when test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID104))=0) and not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID159))=0)">
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID104"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID105"/>
                                                          </span>
                                                        </xsl:if>
                                                        <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID106))=0)">
                                                          <span type="text">
                                                            <xsl:text>/</xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID106"/>
                                                          </span>
                                                        </xsl:if>
                                                        <br/>
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID108"/>
                                                            <xsl:text>, </xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID107"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID159"/>
                                                          </span>
                                                        </xsl:if>
                                                      </xsl:when>
    
                                                      <!-- #### Ulica pusta i poczta wpisana #### -->
                                                      <xsl:when test="(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID104))=0) and not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID159))=0)">
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID108"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID105"/>
                                                          </span>
                                                        </xsl:if>
                                                        <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID106))=0)">
                                                          <span type="text">
                                                            <xsl:text>/</xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID106"/>
                                                          </span>
                                                        </xsl:if>
                                                        <br/>
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID107"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID159"/>
                                                          </span>
                                                        </xsl:if>
                                                      </xsl:when>
                                                    </xsl:choose>
                                                  </td>
                                                </tr>
                                              
                                              </tbody>
                                            </table>
                                          </xsl:if>
                                        </xsl:for-each>
                                      </xsl:if>
                                    </xsl:for-each>
                                  </xsl:if>
                                </xsl:for-each>
                              </xsl:if>
                            </xsl:for-each>
                          </td>
                        </tr>
                      </table>
                    </td>
                  </tr>
    
                  <!-- #### KONIEC WNIOSKODAWCY #### -->
    
                  <tr>
                    <td style="width: 350px"/>
                    <td align="left" style="width: 250px">
                      <p> </p>
                      <strong>Adresat</strong>
                      <p align="left">
                        <strong>
                          Urząd Miasta Krakowa<br/>Wydział Geodezji<br/>Referat Uzgadniania Dokumentacji Projektowej
                        </strong>
                        <br/>ul. Grunwaldzka 8, 31-526 Kraków
                      </p>
                      <br/>
                    </td>
                  </tr>
                  <tr align="center">
                    <td colspan="2">
                      <p>
                        <b>KOORDYNACJA USYTUOWANIA PROJEKTOWANYCH SIECI UZBROJENIA TERENU</b>
                      </p>
                      <br/>
                    </td>
                  </tr>
    
                  <!-- ################### POCZĄTEK FORMULARZA ################### -->
    
                  <tr>
                    <td colspan="2">
                      <p>
                        Na podstawie art. 7d pkt 2, art. 27 ust. 2 pkt 1 i art. 28 ust. 1 ustawy z dnia 17 maja 1989 r. – Prawo geodezyjne i kartograficzne (tekst jednolity Dz. U. z 2005 r. Nr 240, poz. 2027 z późn. zm.) oraz Zarządzenia Nr 722/2009 Prezydenta Miasta Krakowa z dnia 6 kwietnia 2009 r. w sprawie powołania Zespołu Koordynującego Usytuowanie Projektowanych Sieci Uzbrojenia Terenu oraz wprowadzenia Regulaminu Zespołu
                        <strong>zwracam się z prośbą o wydanie opinii oraz o przedłożenie projektu na posiedzenie Zespołu celem koordynacji usytuowania projektowanych:</strong>
                      </p>
    
                      <p>
                        <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel3/wnio:ID152">
                          <xsl:if test="true()">
                            <div style="margin:15px;">
                              <table border="0" cellpadding="0" cellspacing="0" style="width: 650px; height: 10px; border: 1pt solid #000000">
                                <tbody>
                                  <tr>
                                    <td style="text-align: center; background-color: #c0c0c0; width: 50px; height: 25px; border: 1pt solid #000000">
                                      <b>L.p.</b>
                                    </td>
                                    <td style="text-align: center; background-color: #c0c0c0; width: 200px; height: 25px; border: 1pt solid #000000">
                                      <b>Rodzaj przyłącza</b>
                                  </td>
                                    <td style="text-align: center; background-color: #c0c0c0; width: 400px; height: 25px; border: 1pt solid #000000">
                                      <b>Szczegóły</b>
                                  </td>
                                  </tr>
                              
                                      <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel/wnio:ID132">
                                        <xsl:if test="true()">
                                       
                                              <tr>
                                                <td style="text-align: center; width: 50px; border: 1pt solid #000000">
                                                  <xsl:value-of select="position()"/>
                                                </td>
                                                <td style="border: 1pt solid #000000" width="200px">
                                                  <span>
                                                    <label>
                                                      <span/>
                                                    </label>
                                                    <xsl:if test="true()">
                                                      <span>
                                                        <xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID133 = 1">sieci</xsl:if>
                                                        <xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID133 = 2">przyłączy</xsl:if>
                                                        <xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID133 = 3">podziemnych budowli</xsl:if>
                                                        <xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID133 = 4">innych obiektów</xsl:if>
                                                      </span>
                                                    </xsl:if>
                                                  </span>
                                                </td>
                                                <td style="border: 1pt solid #000000" width="400px">
                                                  <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel1/wnio:ID134">
                                                    <xsl:if test="../../wnio:ID133 = '1'">
                                                      <span>
                                                        <label>
                                                          <span/>
                                                        </label>
                                                        <xsl:if test="true()">
                                                          <span>
                                                            <xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID24 = 1">energetycznych</xsl:if>
                                                            <xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID24 = 2">gazowych</xsl:if>
                                                            <xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID24 = 3">kanalizacyjnych</xsl:if>
                                                            <xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID24 = 4">telekomunikacyjnych</xsl:if>
                                                            <xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID24 = 5">wodociągowych</xsl:if>
                                                            <xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID24 = 6">sieci projektowanych</xsl:if>
                                                          </span>
                                                        </xsl:if>
                                                      </span>
                                                      <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel/wnio:ID113">
                                                        <xsl:if test="../../wnio:ID24 = '7'">
                                                          <span>
                                                            <label>
                                                              <span/>
                                                            </label>
                                                            <xsl:if test="true()">
                                                              <span type="text">
                                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID109"/>
                                                              </span>
                                                            </xsl:if>
                                                          </span>
                                                        </xsl:if>
                                                      </xsl:for-each>
                                                    </xsl:if>
                                                  </xsl:for-each>
                                                  <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel2/wnio:ID135">
                                                    <xsl:if test="../../wnio:ID133 = '2'">
                                                      <span>
                                                        <label>
                                                          <span/>
                                                        </label>
                                                        <xsl:if test="true()">
                                                          <span>
                                                            <xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID25 = 1">energetycznych</xsl:if>
                                                            <xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID25 = 2">gazowych</xsl:if>
                                                            <xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID25 = 3">kanalizacyjnych</xsl:if>
                                                            <xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID25 = 4">telekomunikacyjnych</xsl:if>
                                                            <xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID25 = 5">wodociągowych</xsl:if>
                                                            <xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID25 = 6">sieci projektowanych</xsl:if>
                                                          </span>
                                                        </xsl:if>
                                                      </span>
                                                      <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel/wnio:ID114">
                                                        <xsl:if test="../../wnio:ID25 = '7'">
                                                          <span>
                                                            <label>
                                                              <span/>
                                                            </label>
                                                            <xsl:if test="true()">
                                                              <span type="text">
                                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID110"/>
                                                              </span>
                                                            </xsl:if>
                                                          </span>
                                                        </xsl:if>
                                                      </xsl:for-each>
                                                    </xsl:if>
                                                  </xsl:for-each>
                                                  <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel3/wnio:ID136">
                                                    <xsl:if test="../../wnio:ID133 = '3'">
                                                      <span>
                                                        <label>
                                                          <span/>
                                                        </label>
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID50"/>
                                                          </span>
                                                        </xsl:if>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:for-each>
                                                  <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel4/wnio:ID137">
                                                    <xsl:if test="../../wnio:ID133 = '4'">
                                                      <span>
                                                        <label>
                                                          <span/>
                                                        </label>
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID62"/>
                                                          </span>
                                                        </xsl:if>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:for-each>
                                                </td>
                                              </tr>
                                           
                                        </xsl:if>
                                      </xsl:for-each>
                                   
                                </tbody>
                              </table>
    
                              <strong>Lokalizacja projektu:</strong>
                              <br/>
                              <table border="0" cellspacing="0" cellpadding="0" style="width: 600px; height: 10px; border: 1pt solid #000000">
                                <tr>
                                  <td style="text-align: center; background-color: #c0c0c0; width: 150px; height: 25px; border: 1pt solid #000000">
                                    <b>Jednostka ewidencyjna</b>
                                  </td>
                                  <td style="text-align: center; background-color: #c0c0c0; width: 150px; height: 25px; border: 1pt solid #000000">
                                    <b>Obręb</b>
                                  </td>
                                  <td style="text-align: center; background-color: #c0c0c0; width: 150px; height: 25px; border: 1pt solid #000000">
                                    <b>Działka</b>
                                  </td>
                                  <td style="text-align: center; background-color: #c0c0c0; width: 150px; height: 25px; border: 1pt solid #000000">
                                    <b>Ulica</b>
                                  </td>
                                </tr>
                                <tr>
                                  <td style="text-align: center; width: 150px; border: 1pt solid #000000">
                                    <xsl:if test="true()">
                                      <span>
                                        <xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID63 = 1">Nowa Huta</xsl:if>
                                        <xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID63 = 2">Krowodrza</xsl:if>
                                        <xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID63 = 3">Podgórze</xsl:if>
                                        <xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID63 = 4">Śródmieście</xsl:if>
                                      </span>
                                    </xsl:if>
                                  </td>
                                  <td style="text-align: center; width: 150px; border: 1pt solid #000000">
                                    <xsl:if test="true()">
                                      <span type="text">
                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID68"/>
                                      </span>
                                    </xsl:if>
                                  </td>
                                  <td style="text-align: center; width: 150px; border: 1pt solid #000000">
                                    <xsl:if test="true()">
                                      <span type="text">
                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID71"/>
                                      </span>
                                    </xsl:if>
                                  </td>
                                  <td style="text-align: center; width: 150px; border: 1pt solid #000000">
                                    <xsl:if test="true()">
                                      <span type="text">
                                        <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID86"/>
                                      </span>
                                    </xsl:if>
                                  </td>
                                </tr>
                              </table>
                              <br/>
                            </div>
                          </xsl:if>
                        </xsl:for-each>
                      </p>
    
                      <p>
                        <strong>Inwestor:</strong>
                        <!-- ### wnioskodawca ### -->
    
                        <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel1/wnio:ID3">
                          <xsl:if test="../../wnio:ID148 = '1' and (../../wnio:RodzajWnioskodawcy = 'osoba fizyczna' or ../../wnio:RodzajWnioskodawcy = 'osoba fizyczna prowadząca działalność gospodarczą')">
                            <br/>
                            <table border="0" width="600">
                              <tbody>
                                <tr>
                                  <td>
                                    <span>
                                      <xsl:if test="true()">
                                        <span type="text">
                                          <b>
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/oso:Imie"/>
                                          </b>
                                        </span>
                                      </xsl:if>
                                    </span> <span>
                                      <xsl:if test="true()">
                                        <span type="text">
                                          <b>
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/oso:Nazwisko"/>
                                          </b>
                                        </span>
                                      </xsl:if>
                                    </span>
                                  </td>
                                </tr>
                                <tr>
                                  <td>
                                    <xsl:choose>
                                      <!-- #### Ulica wpisana i poczta pusta #### -->
                                      <xsl:when test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Ulica))=0) and (string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID103))=0)">
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Ulica"/>
                                            <xsl:text> </xsl:text>
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Budynek"/>
                                          </span>
                                        </xsl:if>
                                        <xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Lokal))=0)">
                                          <span type="text">
                                            <xsl:text>/</xsl:text>
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Lokal"/>
                                          </span>
                                        </xsl:if>
                                        <br/>
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:KodPocztowy"/>
                                            <xsl:text> </xsl:text>
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Miejscowosc"/>
                                          </span>
                                        </xsl:if>
                                      </xsl:when>
    
                                      <!-- #### Ulica pusta i poczta pusta #### -->
                                      <xsl:when test="(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Ulica))=0) and (string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID103))=0)">
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Miejscowosc"/>
                                            <xsl:text> </xsl:text>
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Budynek"/>
                                          </span>
                                        </xsl:if>
                                        <xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Lokal))=0)">
                                          <span type="text">
                                            <xsl:text>/</xsl:text>
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Lokal"/>
                                          </span>
                                        </xsl:if>
                                        <br/>
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:KodPocztowy"/>
                                            <xsl:text> </xsl:text>
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Miejscowosc"/>
                                          </span>
                                        </xsl:if>
                                      </xsl:when>
    
                                      <!-- #### Ulica wpisana i poczta wpisana #### -->
                                      <xsl:when test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Ulica))=0) and not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID103))=0)">
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Ulica"/>
                                            <xsl:text> </xsl:text>
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Budynek"/>
                                          </span>
                                        </xsl:if>
                                        <xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Lokal))=0)">
                                          <span type="text">
                                            <xsl:text>/</xsl:text>
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Lokal"/>
                                          </span>
                                        </xsl:if>
                                        <br/>
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Miejscowosc"/>
                                            <xsl:text>, </xsl:text>
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:KodPocztowy"/>
                                            <xsl:text> </xsl:text>
                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID103"/>
                                          </span>
                                        </xsl:if>
                                      </xsl:when>
    
                                      <!-- #### Ulica pusta i poczta wpisana #### -->
                                      <xsl:when test="(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Ulica))=0) and not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID103))=0)">
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Miejscowosc"/>
                                            <xsl:text> </xsl:text>
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Budynek"/>
                                          </span>
                                        </xsl:if>
                                        <xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Lokal))=0)">
                                          <span type="text">
                                            <xsl:text>/</xsl:text>
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Lokal"/>
                                          </span>
                                        </xsl:if>
                                        <br/>
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:KodPocztowy"/>
                                            <xsl:text> </xsl:text>
                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID103"/>
                                          </span>
                                        </xsl:if>
                                      </xsl:when>
                                    </xsl:choose>
                                  </td>
                                </tr>
                                <tr>
                                  <td>
                                    <span>
                                      <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID15))=0)">
                                        <span type="text">
                                          <xsl:text>Telefon:  </xsl:text>
                                          <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID15"/>
                                        </span>
                                      </xsl:if>
                                    </span>
                                  </td>
                                </tr>
                                <tr>
                                  <td>
                                    <span>
                                      <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID139))=0)">
                                        <span type="text">
                                          <xsl:text>PESEL: </xsl:text>
                                          <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID139"/>
                                        </span>
                                      </xsl:if>
                                    </span>
                                  </td>
                                </tr>
                                <tr>
                                  <td>
                                    <span>
                                      <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID140))=0)">
                                        <span type="text">
                                          <xsl:text>NIP: </xsl:text>
                                          <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID140"/>
                                        </span>
                                      </xsl:if>
                                    </span>
                                  </td>
                                </tr>
                              </tbody>
                            </table>
                          </xsl:if>
                        </xsl:for-each>
    
    
                        <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel2/wnio:ID4">
                          <xsl:if test="../../wnio:ID148 = '1' and (../../wnio:RodzajWnioskodawcy = 'osoba prawna' or  ../../wnio:RodzajWnioskodawcy =  'jednostka organizacyjna nie mająca osobowości prawnej')">
                            <br/>
                            <table border="0" width="600">
                              <tbody>
                                <tr>
                                  <td>
                                    <span>
                                      <xsl:if test="true()">
                                        <span type="text">
                                          <b>
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/inst:NazwaInstytucji"/>
                                          </b>
                                        </span>
                                      </xsl:if>
                                    </span>
                                  </td>
                                </tr>
                                <tr>
                                  <td>
                                    <xsl:choose>
                                      <!-- #### Ulica wpisana i poczta pusta #### -->
                                      <xsl:when test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Ulica))=0) and (string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID156))=0)">
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Ulica"/>
                                            <xsl:text> </xsl:text>
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Budynek"/>
                                          </span>
                                        </xsl:if>
                                        <xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal))=0)">
                                          <span type="text">
                                            <xsl:text>/</xsl:text>
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal"/>
                                          </span>
                                        </xsl:if>
                                        <br/>
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:KodPocztowy"/>
                                            <xsl:text> </xsl:text>
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Miejscowosc"/>
                                          </span>
                                        </xsl:if>
                                      </xsl:when>
    
                                      <!-- #### Ulica pusta i poczta pusta #### -->
                                      <xsl:when test="(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Ulica))=0) and (string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID156))=0)">
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Miejscowosc"/>
                                            <xsl:text> </xsl:text>
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Budynek"/>
                                          </span>
                                        </xsl:if>
                                        <xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal))=0)">
                                          <span type="text">
                                            <xsl:text>/</xsl:text>
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal"/>
                                          </span>
                                        </xsl:if>
                                        <br/>
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:KodPocztowy"/>
                                            <xsl:text> </xsl:text>
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Miejscowosc"/>
                                          </span>
                                        </xsl:if>
                                      </xsl:when>
    
                                      <!-- #### Ulica wpisana i poczta wpisana #### -->
                                      <xsl:when test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Ulica))=0) and not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID156))=0)">
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Ulica"/>
                                            <xsl:text> </xsl:text>
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Budynek"/>
                                          </span>
                                        </xsl:if>
                                        <xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal))=0)">
                                          <span type="text">
                                            <xsl:text>/</xsl:text>
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal"/>
                                          </span>
                                        </xsl:if>
                                        <br/>
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Miejscowosc"/>
                                            <xsl:text>, </xsl:text>
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:KodPocztowy"/>
                                            <xsl:text> </xsl:text>
                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID156"/>
                                          </span>
                                        </xsl:if>
                                      </xsl:when>
    
                                      <!-- #### Ulica pusta i poczta wpisana #### -->
                                      <xsl:when test="(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Ulica))=0) and not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID156))=0)">
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Miejscowosc"/>
                                            <xsl:text> </xsl:text>
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Budynek"/>
                                          </span>
                                        </xsl:if>
                                        <xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal))=0)">
                                          <span type="text">
                                            <xsl:text>/</xsl:text>
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal"/>
                                          </span>
                                        </xsl:if>
                                        <br/>
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:KodPocztowy"/>
                                            <xsl:text> </xsl:text>
                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID156"/>
                                          </span>
                                        </xsl:if>
                                      </xsl:when>
                                    </xsl:choose>
                                  </td>
                                </tr>
                                <tr>
                                  <td>
                                    <span>
                                      <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID49))=0)">
                                        <span type="text">
                                          <xsl:text>Telefon: </xsl:text>
                                          <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID49"/>
                                        </span>
                                      </xsl:if>
                                    </span>
                                  </td>
                                </tr>
                                <tr>
                                  <td>
                                    <span>
                                      <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID36))=0)">
                                        <span type="text">
                                          <xsl:text>REGON: </xsl:text>
                                          <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID36"/>
                                        </span>
                                      </xsl:if>
                                    </span>
                                  </td>
                                </tr>
                                <tr>
                                  <td>
                                    <span>
                                      <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID37))=0)">
                                        <span type="text">
                                          <xsl:text>NIP: </xsl:text>
                                          <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID37"/>
                                        </span>
                                      </xsl:if>
                                    </span>
                                  </td>
                                </tr>
                                <tr>
                                  <td>
                                    <span>
                                      <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID48))=0)">
                                        <span type="text">
                                          <xsl:text>KRS: </xsl:text>
                                          <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID48"/>
                                        </span>
                                      </xsl:if>
                                    </span>
                                  </td>
                                </tr>
                              </tbody>
                            </table>
                          </xsl:if>
                        </xsl:for-each>
    
                        <!-- ### inny ### -->
                        <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel4/wnio:ID5">
                          <xsl:if test="../../wnio:ID148 = '2' and (../../wnio:RodzajWnioskodawcy= 'osoba fizyczna' or ../../wnio:RodzajWnioskodawcy= 'osoba fizyczna prowadząca działalność gospodarczą')">
                            <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel/wnio:ID149">
                              <xsl:if test="true()">
                                <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:Wartosc/wnio:ID13"/>
                                              </b>
                                            </span>
                                          </xsl:if>
                                        </span> <span>
                                          <xsl:if test="true()">
                                            <span type="text">
                                              <b>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID14"/>
                                              </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:Wartosc/wnio:ID111))=0) and (string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID160))=0)">
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID111"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID112"/>
                                              </span>
                                            </xsl:if>
                                            <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID138))=0)">
                                              <span type="text">
                                                <xsl:text>/</xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID138"/>
                                              </span>
                                            </xsl:if>
                                            <br/>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID143"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID144"/>
                                              </span>
                                            </xsl:if>
                                          </xsl:when>
    
                                          <!-- #### Ulica pusta i poczta pusta #### -->
                                          <xsl:when test="(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID111))=0) and (string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID160))=0)">
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID144"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID112"/>
                                              </span>
                                            </xsl:if>
                                            <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID138))=0)">
                                              <span type="text">
                                                <xsl:text>/</xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID138"/>
                                              </span>
                                            </xsl:if>
                                            <br/>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID143"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID144"/>
                                              </span>
                                            </xsl:if>
                                          </xsl:when>
    
                                          <!-- #### Ulica wpisana i poczta wpisana #### -->
                                          <xsl:when test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID111))=0) and not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID160))=0)">
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID111"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID112"/>
                                              </span>
                                            </xsl:if>
                                            <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID138))=0)">
                                              <span type="text">
                                                <xsl:text>/</xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID138"/>
                                              </span>
                                            </xsl:if>
                                            <br/>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID144"/>
                                                <xsl:text>, </xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID143"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID160"/>
                                              </span>
                                            </xsl:if>
                                          </xsl:when>
    
                                          <!-- #### Ulica pusta i poczta wpisana #### -->
                                          <xsl:when test="(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID111))=0) and not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID160))=0)">
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID144"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID112"/>
                                              </span>
                                            </xsl:if>
                                            <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID138))=0)">
                                              <span type="text">
                                                <xsl:text>/</xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID138"/>
                                              </span>
                                            </xsl:if>
                                            <br/>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID143"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID160"/>
                                              </span>
                                            </xsl:if>
                                          </xsl:when>
                                        </xsl:choose>
                                      </td>
                                    </tr>
                                    
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID147))=0)">
                                            <span type="text">
                                              <xsl:text>Telefon:  </xsl:text>
                                              <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID147"/>
                                            </span>
                                          </xsl:if>
                                        </span>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID145))=0)">
                                            <span type="text">
                                              <xsl:text>PESEL: </xsl:text>
                                              <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID145"/>
                                            </span>
                                          </xsl:if>
                                        </span>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID146))=0)">
                                            <span type="text">
                                              <xsl:text>NIP: </xsl:text>
                                              <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID146"/>
                                            </span>
                                          </xsl:if>
                                        </span>
                                      </td>
                                    </tr>
                                  </tbody>
                                </table>
    
                              </xsl:if>
                            </xsl:for-each>
                          </xsl:if>
                        </xsl:for-each>
                        <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel5/wnio:ID6">
                          <xsl:if test="../../wnio:ID148 = '2' and (../../wnio:RodzajWnioskodawcy= 'osoba prawna' or ../../wnio:RodzajWnioskodawcy= 'jednostka organizacyjna nie mająca osobowości prawnej')">
                            <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel/wnio:ID150">
                              <xsl:if test="true()">
    
                                <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:Wartosc/wnio:ID87"/>
                                              </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:Wartosc/wnio:ID88))=0) and (string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID161))=0)">
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID88"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID89"/>
                                              </span>
                                            </xsl:if>
                                            <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID90))=0)">
                                              <span type="text">
                                                <xsl:text>/</xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID90"/>
                                              </span>
                                            </xsl:if>
                                            <br/>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID95"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID96"/>
                                              </span>
                                            </xsl:if>
                                          </xsl:when>
    
                                          <!-- #### Ulica pusta i poczta pusta #### -->
                                          <xsl:when test="(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID88))=0) and (string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID161))=0)">
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID96"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID89"/>
                                              </span>
                                            </xsl:if>
                                            <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID90))=0)">
                                              <span type="text">
                                                <xsl:text>/</xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID90"/>
                                              </span>
                                            </xsl:if>
                                            <br/>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID95"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID96"/>
                                              </span>
                                            </xsl:if>
                                          </xsl:when>
    
                                          <!-- #### Ulica wpisana i poczta wpisana #### -->
                                          <xsl:when test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID88))=0) and not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID161))=0)">
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID88"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID89"/>
                                              </span>
                                            </xsl:if>
                                            <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID90))=0)">
                                              <span type="text">
                                                <xsl:text>/</xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID90"/>
                                              </span>
                                            </xsl:if>
                                            <br/>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID96"/>
                                                <xsl:text>, </xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID95"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID161"/>
                                              </span>
                                            </xsl:if>
                                          </xsl:when>
    
                                          <!-- #### Ulica pusta i poczta wpisana #### -->
                                          <xsl:when test="(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID88))=0) and not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID161))=0)">
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID96"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID89"/>
                                              </span>
                                            </xsl:if>
                                            <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID90))=0)">
                                              <span type="text">
                                                <xsl:text>/</xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID90"/>
                                              </span>
                                            </xsl:if>
                                            <br/>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID95"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID161"/>
                                              </span>
                                            </xsl:if>
                                          </xsl:when>
                                        </xsl:choose>
                                      </td>
                                    </tr>
      
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID100))=0)">
                                            <span type="text">
                                              <xsl:text>Telefon: </xsl:text>
                                              <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID100"/>
                                            </span>
                                          </xsl:if>
                                        </span>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID97))=0)">
                                            <span type="text">
                                              <xsl:text>REGON: </xsl:text>
                                              <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID97"/>
                                            </span>
                                          </xsl:if>
                                        </span>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID98))=0)">
                                            <span type="text">
                                              <xsl:text>NIP: </xsl:text>
                                              <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID98"/>
                                            </span>
                                          </xsl:if>
                                        </span>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID99))=0)">
                                            <span type="text">
                                              <xsl:text>KRS: </xsl:text>
                                              <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID99"/>
                                            </span>
                                          </xsl:if>
                                        </span>
                                      </td>
                                    </tr>
                                  </tbody>
                                </table>
    
                              </xsl:if>
                            </xsl:for-each>
                          </xsl:if>
                        </xsl:for-each>
                      </p>
    
                      <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID115))=0)">
                        <p>
                          <strong>
                            <xsl:text>Do odbioru materiałów upoważniam: </xsl:text>
                          </strong>
                          <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID115"/>
                        </p>
                      </xsl:if>
    
                    </td>
                  </tr>
    
                  <!-- ################### KONIEC FORMULARZA ################### -->
    
                  <tr>
                    <td colspan="2" height="50">
                      <xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel8/wnio:ID116">
                        <br/>
                        <br/>
                        <p>
                          <strong>Załączniki</strong>
                        </p>
    
                        <!-- ################### TUTAJ ZAŁĄCZNIKI POCZĄTEK ################### -->
    
                        <table border="0" cellspacing="0" cellpadding="0" style="height: 10px; border: 1pt solid #000000">
                          <tr>
                            <td style="text-align: center; background-color: #c0c0c0; width: 50px; height: 25px; border: 1pt solid #000000">
                              <b>L.p.</b>
                            </td>
                            <td style="text-align: center; background-color: #c0c0c0; width: 100px; height: 25px; border: 1pt solid #000000">
                              <b>Potwierdzona aktualność</b>
                            </td>
                            <td style="text-align: center; background-color: #c0c0c0; width: 200px; height: 25px; border: 1pt solid #000000">
                              <b>Nazwa</b>
                            </td>
                            <td style="text-align: center; background-color: #c0c0c0; width: 150px; height: 25px; border: 1pt solid #000000">
                              <b>Opis</b>
                            </td>
                            <td style="text-align: center; background-color: #c0c0c0; width: 150px; height: 25px; border: 1pt solid #000000">
                              <b>Plik</b>
                            </td>
                          </tr>
                          <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel8/wnio:ID116">
                            <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(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID131)),' '),  ' 1 ' )">
                                          <span>Tak</span>
                                        </xsl:when>
                                        <xsl:otherwise>
                                          <span>Nie</span>
                                        </xsl:otherwise>
                                      </xsl:choose>
                                    </span>
                                  </xsl:if>
                                </td>
                                <td style="text-align: left; width: 200px; border: 1pt solid #000000">
    
                                  <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel/wnio:ID120">
                                    <xsl:if test="../../wnio:ID119 = '1'">
                                      <span>
                                        <label>
                                          <span/>
                                        </label>
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID124"/>
                                          </span>
                                        </xsl:if>
                                      </span>Projekt - egz
                                    </xsl:if>
                                  </xsl:for-each>
                                  <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel/wnio:ID121">
                                    <xsl:if test="../../wnio:ID119 = '2'">
                                      <span>
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID125"/>
                                          </span>
                                        </xsl:if>
                                      </span>Decyzja o warunkach zabudowy lub decyzja o ustaleniu lokalizacji inwestycji celu publicznego
                                    </xsl:if>
                                  </xsl:for-each>
                                  <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel/wnio:ID122">
                                    <xsl:if test="../../wnio:ID119 = '3'">
                                      <span>
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID126"/>
                                          </span>
                                        </xsl:if>
                                      </span>Warunki techniczne podłączenia obiektu do istniejących sieci uzbrojenia terenu, uzyskane od jednostek zarządzających tymi sieciami
                                    </xsl:if>
                                  </xsl:for-each>
                                  <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Wezel/wnio:ID123">
                                    <xsl:if test="../../wnio:ID119 = '4'">
                                      <span>
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID127"/>
                                          </span>
                                        </xsl:if>
                                      </span>Inny
                                    </xsl:if>
                                  </xsl:for-each>
    
                                </td>
                                <td style="text-align: left; width: 150px; border: 1pt solid #000000">
                                  <xsl:if test="not(string-length(normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID128))=0)">
                                    <span type="text">
                                      <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID128"/>
                                    </span>
                                  </xsl:if>
                                   
                                </td>
                                <td style="text-align: left; width: 150px; border: 1pt solid #000000">
                                  <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:Zalaczniki/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:Wartosc/wnio:Wezel9/wnio:ID163">
                        <xsl:if test="../../wnio:Wezel8/wnio:ID116">
                          <span>
                            <b>Potwierdzam zgodność wszystkich załączonych dokumentów z oryginałami: </b>
                          </span>
                          <xsl:choose>
                            <xsl:when test="contains(concat(concat(' ', normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID117)),' '),  ' 1 ' )">
                              <span>Tak</span>
                            </xsl:when>
                            <xsl:otherwise>
                              <span>Nie</span>
                            </xsl:otherwise>
                          </xsl:choose>
                          <br/>
                        </xsl:if>
                      </xsl:for-each>
                      <br/>
                      <span>
                        <b>Wyrażam zgodę na wymianę korespondencji drogą elektroniczną: </b>
                      </span>
                      <xsl:choose>
                        <xsl:when test="contains(concat(concat(' ', normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID118)),' '),  ' 1 ' )">
                          <span>Tak</span>
                        </xsl:when>
                        <xsl:otherwise>
                          <span>Nie</span>
                        </xsl:otherwise>
                      </xsl:choose>
                    </td>
                  </tr>
                  <tr>
                    <td colspan="2">
    
                      <br/>
                      <br/>
                      <p>
                        <strong>UWAGI:</strong>
                      </p>
                      <p>
                        <strong>Zgłaszający upoważnia Urząd Miasta Krakowa do wystawienia rachunku bez podpisu.</strong>
                      </p>
                    </td>
                  </tr>
    
                </tbody>
              </table>
            </body>
          </html>
        </xsl:for-each>
      </xsl:template>
    </xsl:stylesheet>