623

ID623
Data2011-07-12
Symbol2011/07/12/623
InstytucjaUrząd Miasta Krakowa
NazwaWniosek o wydanie uzgodnienia w zakresie ochrony środowiska pod kątem ochrony zieleni
Czy Aktualny1

Ustawy (6)

  • Dz. U. Nr 120, poz. 1133
  • § 8 ust. 1, ust. 2 pkt 3–5, ust. 3 pkt 4, § 11 ust. 1, ust. 2 pkt 10 lit. e rozporządzenia Ministra Infrastruktury z dnia 3 lipca 2003 r. w sprawie szczegółowego zakresu i formy projektu budowlanego
  • Dz. U. Nr 225, poz. 1635, z późn. zm.
  • Ustawa z dnia 16 listopada 2006 r. o opłacie skarbowej
  • Dz. U. Nr 228, poz. 2306, z późn. zm.
  • Rozporządzenie Ministra Środowiska z dnia 13 października 2004 r. w sprawie stawek opłat dla poszczególnych rodzajów i gatunków drzew
  • Dz. U. z 2000 r. Nr 98, poz. 1071, z późn. zm.
  • Art. 35, 77 i 104 ustawy z dnia 14 czerwca 1960 r. – Kodeks postępowania administracyjnego
  • Dz. U. z 2006 r. Nr 156, poz. 1118, z późn. zm.
  • Art. 20 ust. 1 pkt 2, art. 34 ust. 3 pkt 1 ustawy z dnia 7 lipca 1994 r. – Prawo budowlane
  • Dz. U. z 2009 r. nr 151, poz. 1220, z późn. zm.
  • Art. 83, art. 84, art. 85 ust. 1, 3, 6 ustawy z dnia 16 kwietnia 2004 r. o ochronie przyrody

    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/07/12/623/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="1.0">
      <xsl:template match="/">
        <xsl:for-each select="wnio:Dokument">
          <html xmlns="http://www.w3.org/1999/xhtml">
            <head>
    
            </head>
            <body>
              <table border="0" height="367" width="600">
                <tbody>
                  <tr>
                    <td align="left" colspan="2" style="width: 300px">
                      <span>
                        <strong>Nadawca wniosku</strong>
                        <br/>
                        <xsl:if test="true()">
                          <span type="text">
                            <xsl:value-of select="wnio:TrescDokumentu/wnio:NadawcaImie"/>
                          </span>
                        </xsl:if>
                      </span> <span>
                        <xsl:if test="true()">
                          <span type="text">
                            <xsl:value-of select="wnio:TrescDokumentu/wnio:NadawcaNazwisko"/>
                          </span>
                        </xsl:if>
                      </span>
                    </td>
                  </tr>
                  <tr>
                    <td align="right" colspan="2">
                      <table border="0" height="78" width="259">
                        <tbody>
                          <tr>
                            <td align="right">
                              <xsl:for-each select="wnio:TrescDokumentu/wnio:Sekcja3/wnio:MiejscowoscOsoba">
                                <xsl:if test="../../wnio:RodzajWnioskodawcy = 'osoba fizyczna' or ../../wnio:RodzajWnioskodawcy = 'osoba fizyczna prowadząca działalność gospodarczą'">
                                  <span>
                                    <label>
                                      <span/>
                                    </label>
                                    <xsl:if test="true()">
                                      <span type="text">
                                        <xsl:value-of select="wnio:RodzajWniosku/wnio:MiejscowoscDokumentu"/>, dnia
                                      </span>
                                    </xsl:if>
                                  </span>
                                </xsl:if>
                              </xsl:for-each>
                              <xsl:for-each select="wnio:TrescDokumentu/wnio:Sekcja4/wnio:MiejscowoscInstytucja">
                                <xsl:if test="../../wnio:RodzajWnioskodawcy = 'osoba prawna' or  ../../wnio:RodzajWnioskodawcy =  'jednostka organizacyjna nie mająca osobowości prawnej'">
                                  <span>
                                    <label>
                                      <span/>
                                    </label>
                                    <xsl:if test="true()">
                                      <span type="text">
                                        <xsl:value-of select="wnio:RodzajWniosku/wnio:MiejscowoscDokumentu"/>, dnia
                                      </span>
                                    </xsl:if>
                                  </span>
                                </xsl:if>
                              </xsl:for-each>
                            </td>
                            <td align="left">
                              <xsl:if test="true()">
                                <xsl:value-of select="wnio:TrescDokumentu/wnio:RodzajWniosku/wnio:DataDokumentu"/>
                              </xsl:if>
                            </td>
                          </tr>
                        </tbody>
                      </table>
                    </td>
                  </tr>
    
                  <!-- #### POCZĄTEK WNIOSKODAWCY #### -->
    
                  <tr>
                    <td colspan="2">
                      <strong>Wnioskodawca</strong>
                      <br/>
                      <table>
                        <tr>
                          <td style="width: 3px; background-color: #c0c0c0;"/>
                          <td>
    
                            <!-- #### OSOBA FIZYCZNA #### -->
    
                            <xsl:for-each select="wnio:TrescDokumentu/wnio:Sekcja1/wnio:Osoba">
                              <xsl:if test="../../wnio:RodzajWnioskodawcy = 'osoba fizyczna' or ../../wnio:RodzajWnioskodawcy = 'osoba fizyczna prowadząca działalność gospodarczą'">
                                <p/>
                                <table border="0" width="600">
                                  <tbody>
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="true()">
                                            <span type="text">
                                              <b>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/oso:Imie"/>
                                              </b>
                                            </span>
                                          </xsl:if>
                                        </span> <span>
                                          <xsl:if test="true()">
                                            <span type="text">
                                              <b>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/oso:Nazwisko"/>
                                              </b>
                                            </span>
                                          </xsl:if>
                                        </span>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td>
    
    
                                        <xsl:choose>
                                          <!-- #### Ulica wpisana i poczta pusta #### -->
                                          <xsl:when test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Ulica))=0) and (string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Poczta))=0)">
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Ulica"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Budynek"/>
                                              </span>
                                            </xsl:if>
                                            <xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Lokal))=0)">
                                              <span type="text">
                                                <xsl:text>/</xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Lokal"/>
                                              </span>
                                            </xsl:if>
                                            <br/>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:KodPocztowy"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Miejscowosc"/>
                                              </span>
                                            </xsl:if>
                                          </xsl:when>
    
                                          <!-- #### Ulica pusta i poczta pusta #### -->
                                          <xsl:when test="(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Ulica))=0) and (string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Poczta))=0)">
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Miejscowosc"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Budynek"/>
                                              </span>
                                            </xsl:if>
                                            <xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Lokal))=0)">
                                              <span type="text">
                                                <xsl:text>/</xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Lokal"/>
                                              </span>
                                            </xsl:if>
                                            <br/>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:KodPocztowy"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Miejscowosc"/>
                                              </span>
                                            </xsl:if>
                                          </xsl:when>
    
                                          <!-- #### Ulica wpisana i poczta wpisana #### -->
                                          <xsl:when test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Ulica))=0) and not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Poczta))=0)">
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Ulica"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Budynek"/>
                                              </span>
                                            </xsl:if>
                                            <xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Lokal))=0)">
                                              <span type="text">
                                                <xsl:text>/</xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Lokal"/>
                                              </span>
                                            </xsl:if>
                                            <br/>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Miejscowosc"/>
                                                <xsl:text>, </xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:KodPocztowy"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Poczta"/>
                                              </span>
                                            </xsl:if>
                                          </xsl:when>
    
                                          <!-- #### Ulica pusta i poczta wpisana #### -->
                                          <xsl:when test="(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Ulica))=0) and not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Poczta))=0)">
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Miejscowosc"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Budynek"/>
                                              </span>
                                            </xsl:if>
                                            <xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Lokal))=0)">
                                              <span type="text">
                                                <xsl:text>/</xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Lokal"/>
                                              </span>
                                            </xsl:if>
                                            <br/>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:KodPocztowy"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Adres/adr:Poczta"/>
                                              </span>
                                            </xsl:if>
                                          </xsl:when>
                                        </xsl:choose>
    
    
    
    
    
    
    
    
    
                                      </td>
                                    </tr>
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Kontakt/adr:Telefon))=0)">
                                            <span type="text">
                                              <xsl:text>Telefon:  </xsl:text>
                                              <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba/adr:Kontakt/adr:Telefon"/>
                                            </span>
                                          </xsl:if>
                                        </span>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="not(string-length(normalize-space(wnio:Pesel))=0)">
                                            <span type="text">
                                              <xsl:text>PESEL: </xsl:text>
                                              <xsl:value-of select="wnio:Pesel"/>
                                            </span>
                                          </xsl:if>
                                        </span>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="not(string-length(normalize-space(wnio:Nip))=0)">
                                            <span type="text">
                                              <xsl:text>NIP: </xsl:text>
                                              <xsl:value-of select="wnio:Nip"/>
                                            </span>
                                          </xsl:if>
                                        </span>
                                      </td>
                                    </tr>
                                  </tbody>
                                </table>
    
    
                                <!-- #### PEŁNOMOCNIK OSOBY #### -->
    
                                <xsl:for-each select="wnio:Sekcja1/wnio:Przedstawiciele">
                                  <xsl:if test="../../wnio:Przedstawiciel = '2'">
                                    <xsl:for-each select="wnio:Sekcja1/wnio:Przedstawiciel">
                                      <xsl:if test="true()">
                                        <br/><br/>Pełnomocnik<br/>
                                        <table border="0" width="600">
                                          <tbody>
                                            <tr>
                                              <td>
                                                <span>
                                                  <xsl:if test="true()">
                                                    <span type="text">
                                                      <b>
                                                        <xsl:value-of select="wnio:Imie"/>
                                                      </b>
                                                    </span>
                                                  </xsl:if>
                                                </span> <span>
                                                  <xsl:if test="true()">
                                                    <span type="text">
                                                      <b>
                                                        <xsl:value-of select="wnio:Nazwisko"/>
                                                      </b>
                                                    </span>
                                                  </xsl:if>
                                                </span>
                                              </td>
                                            </tr>
    
    
    
    
                                            <tr>
                                              <td>
                                                <xsl:choose>
                                                  <!-- #### Ulica wpisana i poczta pusta #### -->
                                                  <xsl:when test="not(string-length(normalize-space(wnio:Ulica))=0) and (string-length(normalize-space(wnio:Poczta))=0)">
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:Ulica"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:NrBudynku"/>
                                                      </span>
                                                    </xsl:if>
                                                    <xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
                                                      <span type="text">
                                                        <xsl:text>/</xsl:text>
                                                        <xsl:value-of select="wnio:Lokal"/>
                                                      </span>
                                                    </xsl:if>
                                                    <br/>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:KodPocztowy"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:Miejscowosc"/>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:when>
    
                                                  <!-- #### Ulica pusta i poczta pusta #### -->
                                                  <xsl:when test="(string-length(normalize-space(wnio:Ulica))=0) and (string-length(normalize-space(wnio:Poczta))=0)">
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:Miejscowosc"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:NrBudynku"/>
                                                      </span>
                                                    </xsl:if>
                                                    <xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
                                                      <span type="text">
                                                        <xsl:text>/</xsl:text>
                                                        <xsl:value-of select="wnio:Lokal"/>
                                                      </span>
                                                    </xsl:if>
                                                    <br/>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:KodPocztowy"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:Miejscowosc"/>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:when>
    
                                                  <!-- #### Ulica wpisana i poczta wpisana #### -->
                                                  <xsl:when test="not(string-length(normalize-space(wnio:Ulica))=0) and not(string-length(normalize-space(wnio:Poczta))=0)">
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:Ulica"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:NrBudynku"/>
                                                      </span>
                                                    </xsl:if>
                                                    <xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
                                                      <span type="text">
                                                        <xsl:text>/</xsl:text>
                                                        <xsl:value-of select="wnio:Lokal"/>
                                                      </span>
                                                    </xsl:if>
                                                    <br/>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:Miejscowosc"/>
                                                        <xsl:text>, </xsl:text>
                                                        <xsl:value-of select="wnio:KodPocztowy"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:Poczta"/>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:when>
    
                                                  <!-- #### Ulica pusta i poczta wpisana #### -->
                                                  <xsl:when test="(string-length(normalize-space(wnio:Ulica))=0) and not(string-length(normalize-space(wnio:Poczta))=0)">
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:Miejscowosc"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:NrBudynku"/>
                                                      </span>
                                                    </xsl:if>
                                                    <xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
                                                      <span type="text">
                                                        <xsl:text>/</xsl:text>
                                                        <xsl:value-of select="wnio:Lokal"/>
                                                      </span>
                                                    </xsl:if>
                                                    <br/>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:KodPocztowy"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:Poczta"/>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:when>
                                                </xsl:choose>
                                              </td>
                                            </tr>
    
    
    
    
    
    
    
    
                                            <tr>
                                              <td>
                                                <span>
                                                  <xsl:if test="not(string-length(normalize-space(wnio:Telefon))=0)">
                                                    <span type="text">
                                                      <xsl:text>Telefon: </xsl:text>
                                                      <xsl:value-of select="wnio:Telefon"/>
                                                    </span>
                                                  </xsl:if>
                                                </span>
                                              </td>
                                            </tr>
                                            <tr>
                                              <td>
                                                <span>
                                                  <xsl:if test="not(string-length(normalize-space(wnio:Pesel))=0)">
                                                    <span type="text">
                                                      <xsl:text>PESEL: </xsl:text>
                                                      <xsl:value-of select="wnio:Pesel"/>
                                                    </span>
                                                  </xsl:if>
                                                </span>
                                              </td>
                                            </tr>
                                            <tr>
                                              <td>
                                                <span>
                                                  <xsl:if test="not(string-length(normalize-space(wnio:Nip))=0)">
                                                    <span type="text">
                                                      <xsl:text>NIP: </xsl:text>
                                                      <xsl:value-of select="wnio:Nip"/>
                                                    </span>
                                                  </xsl:if>
                                                </span>
                                              </td>
                                            </tr>
                                          </tbody>
                                        </table>
    
                                        <!-- #### ADRES DO KORESPONDENCJI PEŁNOMOCNIKA #### -->
    
    
                                        <xsl:for-each select="wnio:Sekcja1/wnio:DodatkowyAdres">
                                          <xsl:if test="../../wnio:AdresDoKorespondencji = '2'">
                                            <br/>Adres do korespondencji:<br/>
                                            <table border="0" width="514">
                                              <tbody>
    
    
    
                                                <tr>
                                                  <td>
                                                    <xsl:choose>
                                                      <!-- #### Ulica wpisana i poczta pusta #### -->
                                                      <xsl:when test="not(string-length(normalize-space(wnio:Ulica))=0) and (string-length(normalize-space(wnio:Poczta))=0)">
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:Ulica"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:NrBudynku"/>
                                                          </span>
                                                        </xsl:if>
                                                        <xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
                                                          <span type="text">
                                                            <xsl:text>/</xsl:text>
                                                            <xsl:value-of select="wnio:Lokal"/>
                                                          </span>
                                                        </xsl:if>
                                                        <br/>
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:KodPocztowy"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:Miejscowosc"/>
                                                          </span>
                                                        </xsl:if>
                                                      </xsl:when>
    
                                                      <!-- #### Ulica pusta i poczta pusta #### -->
                                                      <xsl:when test="(string-length(normalize-space(wnio:Ulica))=0) and (string-length(normalize-space(wnio:Poczta))=0)">
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:Miejscowosc"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:NrBudynku"/>
                                                          </span>
                                                        </xsl:if>
                                                        <xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
                                                          <span type="text">
                                                            <xsl:text>/</xsl:text>
                                                            <xsl:value-of select="wnio:Lokal"/>
                                                          </span>
                                                        </xsl:if>
                                                        <br/>
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:KodPocztowy"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:Miejscowosc"/>
                                                          </span>
                                                        </xsl:if>
                                                      </xsl:when>
    
                                                      <!-- #### Ulica wpisana i poczta wpisana #### -->
                                                      <xsl:when test="not(string-length(normalize-space(wnio:Ulica))=0) and not(string-length(normalize-space(wnio:Poczta))=0)">
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:Ulica"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:NrBudynku"/>
                                                          </span>
                                                        </xsl:if>
                                                        <xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
                                                          <span type="text">
                                                            <xsl:text>/</xsl:text>
                                                            <xsl:value-of select="wnio:Lokal"/>
                                                          </span>
                                                        </xsl:if>
                                                        <br/>
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:Miejscowosc"/>
                                                            <xsl:text>, </xsl:text>
                                                            <xsl:value-of select="wnio:KodPocztowy"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:Poczta"/>
                                                          </span>
                                                        </xsl:if>
                                                      </xsl:when>
    
                                                      <!-- #### Ulica pusta i poczta wpisana #### -->
                                                      <xsl:when test="(string-length(normalize-space(wnio:Ulica))=0) and not(string-length(normalize-space(wnio:Poczta))=0)">
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:Miejscowosc"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:NrBudynku"/>
                                                          </span>
                                                        </xsl:if>
                                                        <xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
                                                          <span type="text">
                                                            <xsl:text>/</xsl:text>
                                                            <xsl:value-of select="wnio:Lokal"/>
                                                          </span>
                                                        </xsl:if>
                                                        <br/>
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:KodPocztowy"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:Poczta"/>
                                                          </span>
                                                        </xsl:if>
                                                      </xsl:when>
                                                    </xsl:choose>
                                                  </td>
                                                </tr>
    
    
    
    
    
    
    
                                              </tbody>
                                            </table>
                                          </xsl:if>
                                        </xsl:for-each>
                                      </xsl:if>
                                    </xsl:for-each>
                                  </xsl:if>
                                </xsl:for-each>
    
                                <!-- #### ADRES DO KORESPONDENCJI OSOBY #### -->
    
                                <xsl:for-each select="wnio:Sekcja2/wnio:DodatkowyAdres">
                                  <xsl:if test="../../wnio:Przedstawiciel = '1'">
                                    <xsl:for-each select="wnio:Sekcja1/wnio:DodatkowyAdres">
                                      <xsl:if test="../../wnio:AdresDoKorespondencji='2'">
                                        <br/><br/>Adres do korespondencji:<br/>
                                        <table border="0" width="514">
                                          <tbody>
                                            <tr>
                                              <td>
                                                <xsl:choose>
                                                  <!-- #### Ulica wpisana i poczta pusta #### -->
                                                  <xsl:when test="not(string-length(normalize-space(wnio:Ulica))=0) and (string-length(normalize-space(wnio:Poczta))=0)">
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:Ulica"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:NrBudynku"/>
                                                      </span>
                                                    </xsl:if>
                                                    <xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
                                                      <span type="text">
                                                        <xsl:text>/</xsl:text>
                                                        <xsl:value-of select="wnio:Lokal"/>
                                                      </span>
                                                    </xsl:if>
                                                    <br/>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:KodPocztowy"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:Miejscowosc"/>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:when>
    
                                                  <!-- #### Ulica pusta i poczta pusta #### -->
                                                  <xsl:when test="(string-length(normalize-space(wnio:Ulica))=0) and (string-length(normalize-space(wnio:Poczta))=0)">
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:Miejscowosc"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:NrBudynku"/>
                                                      </span>
                                                    </xsl:if>
                                                    <xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
                                                      <span type="text">
                                                        <xsl:text>/</xsl:text>
                                                        <xsl:value-of select="wnio:Lokal"/>
                                                      </span>
                                                    </xsl:if>
                                                    <br/>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:KodPocztowy"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:Miejscowosc"/>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:when>
    
                                                  <!-- #### Ulica wpisana i poczta wpisana #### -->
                                                  <xsl:when test="not(string-length(normalize-space(wnio:Ulica))=0) and not(string-length(normalize-space(wnio:Poczta))=0)">
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:Ulica"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:NrBudynku"/>
                                                      </span>
                                                    </xsl:if>
                                                    <xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
                                                      <span type="text">
                                                        <xsl:text>/</xsl:text>
                                                        <xsl:value-of select="wnio:Lokal"/>
                                                      </span>
                                                    </xsl:if>
                                                    <br/>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:Miejscowosc"/>
                                                        <xsl:text>, </xsl:text>
                                                        <xsl:value-of select="wnio:KodPocztowy"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:Poczta"/>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:when>
    
                                                  <!-- #### Ulica pusta i poczta wpisana #### -->
                                                  <xsl:when test="(string-length(normalize-space(wnio:Ulica))=0) and not(string-length(normalize-space(wnio:Poczta))=0)">
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:Miejscowosc"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:NrBudynku"/>
                                                      </span>
                                                    </xsl:if>
                                                    <xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
                                                      <span type="text">
                                                        <xsl:text>/</xsl:text>
                                                        <xsl:value-of select="wnio:Lokal"/>
                                                      </span>
                                                    </xsl:if>
                                                    <br/>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:KodPocztowy"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:Poczta"/>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:when>
                                                </xsl:choose>
                                              </td>
                                            </tr>
                                          </tbody>
                                        </table>
                                      </xsl:if>
                                    </xsl:for-each>
                                  </xsl:if>
                                </xsl:for-each>
                              </xsl:if>
                            </xsl:for-each>
    
                            <!-- #### INSTYTUCJA #### -->
    
                            <xsl:for-each select="wnio:TrescDokumentu/wnio:Sekcja2/wnio:Instytucja">
                              <xsl:if test="../../wnio:RodzajWnioskodawcy = 'osoba prawna' or  ../../wnio:RodzajWnioskodawcy =  'jednostka organizacyjna nie mająca osobowości prawnej'">
                                <table border="0" width="600">
                                  <tbody>
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="true()">
                                            <span type="text">
                                              <b>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/inst:NazwaInstytucji"/>
                                              </b>
                                            </span>
                                          </xsl:if>
                                        </span>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td>
                                        <xsl:choose>
                                          <!-- #### Ulica wpisana i poczta pusta #### -->
                                          <xsl:when test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Ulica))=0) and (string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Poczta))=0)">
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Ulica"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Budynek"/>
                                              </span>
                                            </xsl:if>
                                            <xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal))=0)">
                                              <span type="text">
                                                <xsl:text>/</xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal"/>
                                              </span>
                                            </xsl:if>
                                            <br/>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:KodPocztowy"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Miejscowosc"/>
                                              </span>
                                            </xsl:if>
                                          </xsl:when>
    
                                          <!-- #### Ulica pusta i poczta pusta #### -->
                                          <xsl:when test="(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Ulica))=0) and (string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Poczta))=0)">
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Miejscowosc"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Budynek"/>
                                              </span>
                                            </xsl:if>
                                            <xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal))=0)">
                                              <span type="text">
                                                <xsl:text>/</xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal"/>
                                              </span>
                                            </xsl:if>
                                            <br/>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:KodPocztowy"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Miejscowosc"/>
                                              </span>
                                            </xsl:if>
                                          </xsl:when>
    
                                          <!-- #### Ulica wpisana i poczta wpisana #### -->
                                          <xsl:when test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Ulica))=0) and not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Poczta))=0)">
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Ulica"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Budynek"/>
                                              </span>
                                            </xsl:if>
                                            <xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal))=0)">
                                              <span type="text">
                                                <xsl:text>/</xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal"/>
                                              </span>
                                            </xsl:if>
                                            <br/>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Miejscowosc"/>
                                                <xsl:text>, </xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:KodPocztowy"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Poczta"/>
                                              </span>
                                            </xsl:if>
                                          </xsl:when>
    
                                          <!-- #### Ulica pusta i poczta wpisana #### -->
                                          <xsl:when test="(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Ulica))=0) and not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Poczta))=0)">
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Miejscowosc"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Budynek"/>
                                              </span>
                                            </xsl:if>
                                            <xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal))=0)">
                                              <span type="text">
                                                <xsl:text>/</xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Lokal"/>
                                              </span>
                                            </xsl:if>
                                            <br/>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:KodPocztowy"/>
                                                <xsl:text> </xsl:text>
                                                <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Adres/adr:Poczta"/>
                                              </span>
                                            </xsl:if>
                                          </xsl:when>
                                        </xsl:choose>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="not(string-length(normalize-space(wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Kontakt/adr:Telefon))=0)">
                                            <span type="text">
                                              <xsl:text>Telefon: </xsl:text>
                                              <xsl:value-of select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/inst:Instytucja/adr:Kontakt/adr:Telefon"/>
                                            </span>
                                          </xsl:if>
                                        </span>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="not(string-length(normalize-space(wnio:Regon))=0)">
                                            <span type="text">
                                              <xsl:text>REGON: </xsl:text>
                                              <xsl:value-of select="wnio:Regon"/>
                                            </span>
                                          </xsl:if>
                                        </span>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="not(string-length(normalize-space(wnio:Nip))=0)">
                                            <span type="text">
                                              <xsl:text>NIP: </xsl:text>
                                              <xsl:value-of select="wnio:Nip"/>
                                            </span>
                                          </xsl:if>
                                        </span>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td>
                                        <span>
                                          <xsl:if test="not(string-length(normalize-space(wnio:Krs))=0)">
                                            <span type="text">
                                              <xsl:text>KRS: </xsl:text>
                                              <xsl:value-of select="wnio:Krs"/>
                                            </span>
                                          </xsl:if>
                                        </span>
                                      </td>
                                    </tr>
                                  </tbody>
                                </table>
    
                                <!-- #### PRZEDSTAWICIEL INSTYTUCJI #### -->
    
                                <xsl:for-each select="wnio:Sekcja1/wnio:Przedstawiciel">
                                  <xsl:if test="../../wnio:Reprezentant='1' or ../../wnio:Reprezentant='1 2' or ../../wnio:Reprezentant='2 1'">
                                    <br/>Przedstawiciel<br/>
                                    <table border="0" width="600">
                                      <tbody>
                                        <tr>
                                          <td>
                                            <span>
                                              <xsl:if test="true()">
                                                <span type="text">
                                                  <b>
                                                    <xsl:value-of select="wnio:Imie"/>
                                                  </b>
                                                </span>
                                              </xsl:if>
                                            </span> <span>
                                              <xsl:if test="true()">
                                                <span type="text">
                                                  <b>
                                                    <xsl:value-of select="wnio:Nazwisko"/>
                                                  </b>
                                                </span>
                                              </xsl:if>
                                            </span>
                                          </td>
                                        </tr>
                                        <tr>
                                          <td>
                                            <span>
                                              <xsl:if test="not(string-length(normalize-space(wnio:Pesel))=0)">
                                                <span type="text">
                                                  <xsl:text>PESEL: </xsl:text>
                                                  <xsl:value-of select="wnio:Pesel"/>
                                                </span>
                                              </xsl:if>
                                            </span>
                                          </td>
                                        </tr>
                                        <tr>
                                          <td>
                                            <span>
                                              <xsl:if test="not(string-length(normalize-space(wnio:Telefon))=0)">
                                                <span type="text">
                                                  <xsl:text>Telefon: </xsl:text>
                                                  <xsl:value-of select="wnio:Telefon"/>
                                                </span>
                                              </xsl:if>
                                            </span>
                                          </td>
                                        </tr>
                                      </tbody>
                                    </table>
    
                                    <!-- #### ADRES DO KORESPONDENCJI PRZEDSTAWICIELA INSTYTUCJI #### -->
    
                                    <xsl:for-each select="wnio:Sekcja1/wnio:DodatkowyAdres">
                                      <xsl:if test="../../wnio:AdresDoKorespondencji = '2'">
                                        <br/>Adres do korespondencji:<br/>
                                        <table border="0" width="514">
                                          <tbody>
                                            <tr>
                                              <td>
                                                <xsl:choose>
                                                  <!-- #### Ulica wpisana i poczta pusta #### -->
                                                  <xsl:when test="not(string-length(normalize-space(wnio:Ulica))=0) and (string-length(normalize-space(wnio:Poczta))=0)">
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:Ulica"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:NrBudynku"/>
                                                      </span>
                                                    </xsl:if>
                                                    <xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
                                                      <span type="text">
                                                        <xsl:text>/</xsl:text>
                                                        <xsl:value-of select="wnio:Lokal"/>
                                                      </span>
                                                    </xsl:if>
                                                    <br/>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:KodPocztowy"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:Miejscowosc"/>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:when>
    
                                                  <!-- #### Ulica pusta i poczta pusta #### -->
                                                  <xsl:when test="(string-length(normalize-space(wnio:Ulica))=0) and (string-length(normalize-space(wnio:Poczta))=0)">
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:Miejscowosc"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:NrBudynku"/>
                                                      </span>
                                                    </xsl:if>
                                                    <xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
                                                      <span type="text">
                                                        <xsl:text>/</xsl:text>
                                                        <xsl:value-of select="wnio:Lokal"/>
                                                      </span>
                                                    </xsl:if>
                                                    <br/>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:KodPocztowy"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:Miejscowosc"/>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:when>
    
                                                  <!-- #### Ulica wpisana i poczta wpisana #### -->
                                                  <xsl:when test="not(string-length(normalize-space(wnio:Ulica))=0) and not(string-length(normalize-space(wnio:Poczta))=0)">
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:Ulica"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:NrBudynku"/>
                                                      </span>
                                                    </xsl:if>
                                                    <xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
                                                      <span type="text">
                                                        <xsl:text>/</xsl:text>
                                                        <xsl:value-of select="wnio:Lokal"/>
                                                      </span>
                                                    </xsl:if>
                                                    <br/>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:Miejscowosc"/>
                                                        <xsl:text>, </xsl:text>
                                                        <xsl:value-of select="wnio:KodPocztowy"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:Poczta"/>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:when>
    
                                                  <!-- #### Ulica pusta i poczta wpisana #### -->
                                                  <xsl:when test="(string-length(normalize-space(wnio:Ulica))=0) and not(string-length(normalize-space(wnio:Poczta))=0)">
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:Miejscowosc"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:NrBudynku"/>
                                                      </span>
                                                    </xsl:if>
                                                    <xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
                                                      <span type="text">
                                                        <xsl:text>/</xsl:text>
                                                        <xsl:value-of select="wnio:Lokal"/>
                                                      </span>
                                                    </xsl:if>
                                                    <br/>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:KodPocztowy"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:Poczta"/>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:when>
                                                </xsl:choose>
                                              </td>
                                            </tr>
                                          </tbody>
                                        </table>
                                      </xsl:if>
                                    </xsl:for-each>
                                  </xsl:if>
                                </xsl:for-each>
    
                                <!-- #### PEŁNOMOCNIK INSTYTUCJI  ##### -->
    
                                <xsl:for-each select="wnio:Sekcja2/wnio:Pelnomocnicy">
                                  <xsl:if test="../../wnio:Reprezentant='2' or ../../wnio:Reprezentant='1 2' or ../../wnio:Reprezentant='2 1'">
                                    <p/>
                                    <xsl:for-each select="wnio:Sekcja1/wnio:Pelnomomocnik">
                                      <xsl:if test="true()">
                                        <br/>Pełnomocnik<br/>
                                        <table border="0" width="600">
                                          <tbody>
                                            <tr>
                                              <td>
                                                <span>
                                                  <xsl:if test="true()">
                                                    <span type="text">
                                                      <b>
                                                        <xsl:value-of select="wnio:Imie"/>
                                                      </b>
                                                    </span>
                                                  </xsl:if>
                                                </span>
                                                <span>
                                                  <label>
                                                    <span> </span>
                                                  </label>
                                                  <xsl:if test="true()">
                                                    <span type="text">
                                                      <b>
                                                        <xsl:value-of select="wnio:Nazwisko"/>
                                                      </b>
                                                    </span>
                                                  </xsl:if>
                                                </span>
                                              </td>
                                            </tr>
                                            <tr>
                                              <td>
                                                <xsl:choose>
                                                  <!-- #### Ulica wpisana i poczta pusta #### -->
                                                  <xsl:when test="not(string-length(normalize-space(wnio:Ulica))=0) and (string-length(normalize-space(wnio:Poczta))=0)">
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:Ulica"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:NrBudynku"/>
                                                      </span>
                                                    </xsl:if>
                                                    <xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
                                                      <span type="text">
                                                        <xsl:text>/</xsl:text>
                                                        <xsl:value-of select="wnio:Lokal"/>
                                                      </span>
                                                    </xsl:if>
                                                    <br/>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:KodPocztowy"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:Miejscowosc"/>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:when>
    
                                                  <!-- #### Ulica pusta i poczta pusta #### -->
                                                  <xsl:when test="(string-length(normalize-space(wnio:Ulica))=0) and (string-length(normalize-space(wnio:Poczta))=0)">
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:Miejscowosc"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:NrBudynku"/>
                                                      </span>
                                                    </xsl:if>
                                                    <xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
                                                      <span type="text">
                                                        <xsl:text>/</xsl:text>
                                                        <xsl:value-of select="wnio:Lokal"/>
                                                      </span>
                                                    </xsl:if>
                                                    <br/>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:KodPocztowy"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:Miejscowosc"/>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:when>
    
                                                  <!-- #### Ulica wpisana i poczta wpisana #### -->
                                                  <xsl:when test="not(string-length(normalize-space(wnio:Ulica))=0) and not(string-length(normalize-space(wnio:Poczta))=0)">
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:Ulica"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:NrBudynku"/>
                                                      </span>
                                                    </xsl:if>
                                                    <xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
                                                      <span type="text">
                                                        <xsl:text>/</xsl:text>
                                                        <xsl:value-of select="wnio:Lokal"/>
                                                      </span>
                                                    </xsl:if>
                                                    <br/>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:Miejscowosc"/>
                                                        <xsl:text>, </xsl:text>
                                                        <xsl:value-of select="wnio:KodPocztowy"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:Poczta"/>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:when>
    
                                                  <!-- #### Ulica pusta i poczta wpisana #### -->
                                                  <xsl:when test="(string-length(normalize-space(wnio:Ulica))=0) and not(string-length(normalize-space(wnio:Poczta))=0)">
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:Miejscowosc"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:NrBudynku"/>
                                                      </span>
                                                    </xsl:if>
                                                    <xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
                                                      <span type="text">
                                                        <xsl:text>/</xsl:text>
                                                        <xsl:value-of select="wnio:Lokal"/>
                                                      </span>
                                                    </xsl:if>
                                                    <br/>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                        <xsl:value-of select="wnio:KodPocztowy"/>
                                                        <xsl:text> </xsl:text>
                                                        <xsl:value-of select="wnio:Poczta"/>
                                                      </span>
                                                    </xsl:if>
                                                  </xsl:when>
                                                </xsl:choose>
                                              </td>
                                            </tr>
                                            <tr>
                                              <td>
                                                <span>
                                                  <xsl:if test="not(string-length(normalize-space(wnio:Telefon))=0)">
                                                    <span type="text">
                                                      <xsl:text>Telefon: </xsl:text>
                                                      <xsl:value-of select="wnio:Telefon"/>
                                                    </span>
                                                  </xsl:if>
                                                </span>
                                              </td>
                                            </tr>
                                            <tr>
                                              <td>
                                                <span>
                                                  <xsl:if test="not(string-length(normalize-space(wnio:Pesel))=0)">
                                                    <span type="text">
                                                      <xsl:text>PESEL: </xsl:text>
                                                      <xsl:value-of select="wnio:Pesel"/>
                                                    </span>
                                                  </xsl:if>
                                                </span>
                                              </td>
                                            </tr>
                                            <tr>
                                              <td>
                                                <span>
                                                  <xsl:if test="not(string-length(normalize-space(wnio:Nip))=0)">
                                                    <span type="text">
                                                      <xsl:text>NIP: </xsl:text>
                                                      <xsl:value-of select="wnio:Nip"/>
                                                    </span>
                                                  </xsl:if>
                                                </span>
                                              </td>
                                            </tr>
                                          </tbody>
                                        </table>
    
                                        <!-- #### ADRES DO KORESPONDENCJI PEŁNOMOCNIKA INSTYTUCJI #### -->
    
                                        <xsl:for-each select="wnio:Sekcja1/wnio:DodatkowyAdres">
                                          <xsl:if test="../../wnio:AdresDoKorespondencji='2'">
                                            <br/>Adres do korespondencji:<br/>
                                            <table border="0" width="600">
                                              <tbody>
                                                <tr>
                                                  <td>
                                                    <xsl:choose>
                                                      <!-- #### Ulica wpisana i poczta pusta #### -->
                                                      <xsl:when test="not(string-length(normalize-space(wnio:Ulica))=0) and (string-length(normalize-space(wnio:Poczta))=0)">
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:Ulica"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:NrBudynku"/>
                                                          </span>
                                                        </xsl:if>
                                                        <xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
                                                          <span type="text">
                                                            <xsl:text>/</xsl:text>
                                                            <xsl:value-of select="wnio:Lokal"/>
                                                          </span>
                                                        </xsl:if>
                                                        <br/>
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:KodPocztowy"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:Miejscowosc"/>
                                                          </span>
                                                        </xsl:if>
                                                      </xsl:when>
    
                                                      <!-- #### Ulica pusta i poczta pusta #### -->
                                                      <xsl:when test="(string-length(normalize-space(wnio:Ulica))=0) and (string-length(normalize-space(wnio:Poczta))=0)">
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:Miejscowosc"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:NrBudynku"/>
                                                          </span>
                                                        </xsl:if>
                                                        <xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
                                                          <span type="text">
                                                            <xsl:text>/</xsl:text>
                                                            <xsl:value-of select="wnio:Lokal"/>
                                                          </span>
                                                        </xsl:if>
                                                        <br/>
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:KodPocztowy"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:Miejscowosc"/>
                                                          </span>
                                                        </xsl:if>
                                                      </xsl:when>
    
                                                      <!-- #### Ulica wpisana i poczta wpisana #### -->
                                                      <xsl:when test="not(string-length(normalize-space(wnio:Ulica))=0) and not(string-length(normalize-space(wnio:Poczta))=0)">
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:Ulica"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:NrBudynku"/>
                                                          </span>
                                                        </xsl:if>
                                                        <xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
                                                          <span type="text">
                                                            <xsl:text>/</xsl:text>
                                                            <xsl:value-of select="wnio:Lokal"/>
                                                          </span>
                                                        </xsl:if>
                                                        <br/>
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:Miejscowosc"/>
                                                            <xsl:text>, </xsl:text>
                                                            <xsl:value-of select="wnio:KodPocztowy"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:Poczta"/>
                                                          </span>
                                                        </xsl:if>
                                                      </xsl:when>
    
                                                      <!-- #### Ulica pusta i poczta wpisana #### -->
                                                      <xsl:when test="(string-length(normalize-space(wnio:Ulica))=0) and not(string-length(normalize-space(wnio:Poczta))=0)">
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:Miejscowosc"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:NrBudynku"/>
                                                          </span>
                                                        </xsl:if>
                                                        <xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
                                                          <span type="text">
                                                            <xsl:text>/</xsl:text>
                                                            <xsl:value-of select="wnio:Lokal"/>
                                                          </span>
                                                        </xsl:if>
                                                        <br/>
                                                        <xsl:if test="true()">
                                                          <span type="text">
                                                            <xsl:value-of select="wnio:KodPocztowy"/>
                                                            <xsl:text> </xsl:text>
                                                            <xsl:value-of select="wnio:Poczta"/>
                                                          </span>
                                                        </xsl:if>
                                                      </xsl:when>
                                                    </xsl:choose>
                                                  </td>
                                                </tr>
                                              </tbody>
                                            </table>
                                          </xsl:if>
                                        </xsl:for-each>
                                      </xsl:if>
                                    </xsl:for-each>
                                  </xsl:if>
                                </xsl:for-each>
                              </xsl:if>
                            </xsl:for-each>
                          </td>
                        </tr>
                      </table>
                    </td>
                  </tr>
    
                  <!-- #### KONIEC WNIOSKODAWCY #### -->
    
    
                  <tr>
                    <td style="width: 350px"/>
                    <td align="left" style="width: 250px">
                      <p> </p>
                      <strong>Adresat</strong>
                      <p align="left">
                        <strong>
                          <xsl:if test="true()">
                            <span type="text">
                              <xsl:value-of select="wnio:TrescDokumentu/wnio:Urzad"/>
                              <br/>
                              <xsl:value-of select="wnio:TrescDokumentu/wnio:Wydzial"/>
                            </span>
                          </xsl:if>
                        </strong>
                        <br/>
                        <xsl:if test="true()">
                          <span type="text">
                            <xsl:value-of select="wnio:TrescDokumentu/wnio:AdresUrzedu"/>
                          </span>
                        </xsl:if>
                      </p>
                      <br/>
                    </td>
                  </tr>
                 
                  <tr align="center">
                    <td colspan="2">
                      <strong>WNIOSEK O WYDANIE UZGODNIENIA W ZAKRESIE OCHRONY ŚRODOWISKA POD KĄTEM OCHRONY ZIELENI</strong><br/>
                      Na podstawie art. 83 oraz art. 84 i art. 85 ust. 1, 3 i 6 oraz art. 90 ustawy z dnia 16 kwietnia 2004 r. o ochronie przyrody (Dz. U. z 2009 r. nr 151, poz. 1220, z późn. zm.)<br/><br/>
                    </td>
                  </tr>
    
                  <!-- ################### POCZĄTEK FORMULARZA ################### -->
    
                  <tr>
                    <td colspan="2">
    
    
                      <p>
                        <u>
                          <strong>WŁAŚCICIEL(E) NIERUCHOMOŚCI, NA KTÓREJ ROSNĄ DRZEWA LUB KRZEWY:</strong>
                        </u>
                      </p>
                      <xsl:for-each select="wnio:TrescDokumentu/wnio:Sekcja7/wnio:Wlasciciele">
                        <xsl:if test="true()">
                          <table border="0" width="600">
                            <tbody>
                              <tr>
                                <td>
                                  <span>
                                    <xsl:if test="true()">
                                      <span type="text">
                                        <xsl:value-of select="wnio:Nazwa"/>
                                      </span>
                                    </xsl:if>
                                  </span>
                                </td>
                              </tr>
    
    
    
                              <tr>
                                <td>
                                  <xsl:choose>
                                    <!-- #### Ulica wpisana i poczta pusta #### -->
                                    <xsl:when test="not(string-length(normalize-space(wnio:Ulica))=0) and (string-length(normalize-space(wnio:Poczta))=0)">
                                      <xsl:if test="true()">
                                        <span type="text">
                                          <xsl:value-of select="wnio:Ulica"/>
                                          <xsl:text> </xsl:text>
                                          <xsl:value-of select="wnio:NrBudynku"/>
                                        </span>
                                      </xsl:if>
                                      <xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
                                        <span type="text">
                                          <xsl:text>/</xsl:text>
                                          <xsl:value-of select="wnio:Lokal"/>
                                        </span>
                                      </xsl:if>
                                      <br/>
                                      <xsl:if test="true()">
                                        <span type="text">
                                          <xsl:value-of select="wnio:KodPocztowy"/>
                                          <xsl:text> </xsl:text>
                                          <xsl:value-of select="wnio:Miejscowosc"/>
                                        </span>
                                      </xsl:if>
                                    </xsl:when>
    
                                    <!-- #### Ulica pusta i poczta pusta #### -->
                                    <xsl:when test="(string-length(normalize-space(wnio:Ulica))=0) and (string-length(normalize-space(wnio:Poczta))=0)">
                                      <xsl:if test="true()">
                                        <span type="text">
                                          <xsl:value-of select="wnio:Miejscowosc"/>
                                          <xsl:text> </xsl:text>
                                          <xsl:value-of select="wnio:NrBudynku"/>
                                        </span>
                                      </xsl:if>
                                      <xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
                                        <span type="text">
                                          <xsl:text>/</xsl:text>
                                          <xsl:value-of select="wnio:Lokal"/>
                                        </span>
                                      </xsl:if>
                                      <br/>
                                      <xsl:if test="true()">
                                        <span type="text">
                                          <xsl:value-of select="wnio:KodPocztowy"/>
                                          <xsl:text> </xsl:text>
                                          <xsl:value-of select="wnio:Miejscowosc"/>
                                        </span>
                                      </xsl:if>
                                    </xsl:when>
    
                                    <!-- #### Ulica wpisana i poczta wpisana #### -->
                                    <xsl:when test="not(string-length(normalize-space(wnio:Ulica))=0) and not(string-length(normalize-space(wnio:Poczta))=0)">
                                      <xsl:if test="true()">
                                        <span type="text">
                                          <xsl:value-of select="wnio:Ulica"/>
                                          <xsl:text> </xsl:text>
                                          <xsl:value-of select="wnio:NrBudynku"/>
                                        </span>
                                      </xsl:if>
                                      <xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
                                        <span type="text">
                                          <xsl:text>/</xsl:text>
                                          <xsl:value-of select="wnio:Lokal"/>
                                        </span>
                                      </xsl:if>
                                      <br/>
                                      <xsl:if test="true()">
                                        <span type="text">
                                          <xsl:value-of select="wnio:Miejscowosc"/>
                                          <xsl:text>, </xsl:text>
                                          <xsl:value-of select="wnio:KodPocztowy"/>
                                          <xsl:text> </xsl:text>
                                          <xsl:value-of select="wnio:Poczta"/>
                                        </span>
                                      </xsl:if>
                                    </xsl:when>
    
                                    <!-- #### Ulica pusta i poczta wpisana #### -->
                                    <xsl:when test="(string-length(normalize-space(wnio:Ulica))=0) and not(string-length(normalize-space(wnio:Poczta))=0)">
                                      <xsl:if test="true()">
                                        <span type="text">
                                          <xsl:value-of select="wnio:Miejscowosc"/>
                                          <xsl:text> </xsl:text>
                                          <xsl:value-of select="wnio:NrBudynku"/>
                                        </span>
                                      </xsl:if>
                                      <xsl:if test="not(string-length(normalize-space(wnio:Lokal))=0)">
                                        <span type="text">
                                          <xsl:text>/</xsl:text>
                                          <xsl:value-of select="wnio:Lokal"/>
                                        </span>
                                      </xsl:if>
                                      <br/>
                                      <xsl:if test="true()">
                                        <span type="text">
                                          <xsl:value-of select="wnio:KodPocztowy"/>
                                          <xsl:text> </xsl:text>
                                          <xsl:value-of select="wnio:Poczta"/>
                                        </span>
                                      </xsl:if>
                                    </xsl:when>
                                  </xsl:choose>
                                </td>
                              </tr>
    
                              <tr>
                                <td>
                                  <span>
                                    <label>
                                      <span>Tel.: </span>
                                    </label>
                                    <xsl:if test="true()">
                                      <span type="text">
                                        <xsl:value-of select="wnio:Telefon"/>
                                      </span>
                                    </xsl:if>
                                  </span>
                                </td>
                              </tr>
                            </tbody>
                          </table>
                        </xsl:if>
                      </xsl:for-each>
    
                      <p>
                        <strong>
                          <span>1. Oznaczenie terenu, na którym rosną drzewa lub krzewy:</span>
                        </strong>
                      </p>
    
                      <p>
                        <span>Teren położony w </span>
                        <span>
                          <xsl:if test="true()">
                            <span type="text">
                              <xsl:value-of select="wnio:TrescDokumentu/wnio:Miejscowosc"/>,
                              </span>
                          </xsl:if>
                        </span>
                        obejmujący nieruchomość/nieruchomości oznaczone w ewidencji gruntów jako działki nr:
                      </p>
    
                      <table border="0" cellpadding="0" cellspacing="0" style="border: 1px solid #000000">
                        <tbody>
                          <tr>
                            <td align="center" style="height: 25px; width: 25%; background-color: #c0c0c0; border: 1px solid #000000" valign="middle">
                              <b>Jednostka ewidencyjna</b>
                            </td>
                            <td align="center" style="height: 25px; width: 25%; background-color: #c0c0c0; border: 1px solid #000000" valign="middle">
                              <b>Obręb</b>
                          </td>
                            <td align="center" style="height: 25px; width: 25%; background-color: #c0c0c0; border: 1px solid #000000" valign="middle">
                              <b>Działka</b>
                            </td>
                            <td align="center" style="height: 25px; width: 25%; background-color: #c0c0c0; border: 1px solid #000000" valign="middle">
                              <b>Ulica</b>
                            </td>
                          </tr>
    
                          <xsl:for-each select="wnio:TrescDokumentu/wnio:Sekcja8/wnio:TabelaDzialek">
                            <xsl:if test="true()">
    
                              <tr>
                                <td align="center" style="border: 1px solid #000000; width: 140px" valign="middle">
                                  <span>
                                    <label>
                                      <span/>
                                    </label>
                                    <xsl:if test="true()">
                                      <xsl:value-of select="wnio:JednostkaEwidencyjna"/>
                                    </xsl:if>
                                  </span>
                                </td>
                                <td align="center" style="border: 1px solid #000000; width: 140px" valign="middle">
                                  <span>
                                    <label>
                                      <span/>
                                    </label>
                                    <xsl:if test="true()">
                                      <span type="text">
                                        <xsl:value-of select="wnio:Obreb"/>
                                      </span>
                                    </xsl:if>
                                  </span>
                                </td>
                                <td align="center" style="border: 1px solid #000000; width: 140px" valign="middle">
                                  <span>
                                    <label>
                                      <span/>
                                    </label>
                                    <xsl:if test="true()">
                                      <span type="text">
                                        <xsl:value-of select="wnio:Dzialka"/>
                                      </span>
                                    </xsl:if>
                                  </span>
                                </td>
                                <td align="center" style="border: 1px solid #000000; width: 140px" valign="middle">
                                  <span>
                                    <label>
                                      <span/>
                                    </label>
                                    <xsl:if test="true()">
                                      <span type="text">
                                        <xsl:value-of select="wnio:Ulica"/>
                                      </span>
                                    </xsl:if>
                                  </span>
                                </td>
                              </tr>
    
                            </xsl:if>
                          </xsl:for-each>
    
                        </tbody>
                      </table>
    
                      <p>
                        <strong>
                          <span>2. Teren, na którym rosną drzewa lub krzewy przeznaczony jest pod*: </span>
                        </strong>
                      </p>
                      <p>
                        <span>
                          <label>
                            <span/>
                          </label>
                          <xsl:if test="true()">
                            <span>
                              <xsl:value-of select="wnio:TrescDokumentu/wnio:Teren"/>
                            </span>
                          </xsl:if>
                        </span>
                      </p>
                      <p>
    
                        <span>
                          <sup>*</sup>(wg miejscowego planu zagospodarowania przestrzennego lub ewidencji gruntów)
                        </span>
                      </p>
                      <p>
                        <strong>
                          <span>3. Oznaczenie drzew lub krzewów przeznaczonych do usunięcia:</span>
                        </strong>
                      </p>
                      <xsl:for-each select="wnio:TrescDokumentu/wnio:Sekcja9/wnio:OznaczenieDrzew">
                        <xsl:if test="../../wnio:Oznaczenie='1' or ../../wnio:Oznaczenie='1 2' or ../../wnio:Oznaczenie='2 1'">
                          <span>
                            <label>
                              <span/>
                            </label>
                            <xsl:if test="true()">
                              <span type="text">
                                <xsl:value-of select="wnio:Ilosc"/>
                              </span>
                            </xsl:if>
                          </span> sztuk drzew niżej podanych gatunków o obwodach zmierzonych na wysokości 130 cm od ziemi: <table border="1" cellpadding="0" cellspacing="0" style="border: 1px solid #000000" width="750">
                            <tbody>
                              <tr>
                                <td align="center" valign="middle" style="width: 4%; border: 1px solid #000000; background-color: #c0c0c0;">
                                  <b>Lp.</b>
                                </td>
                                <td align="center" scope="row" style="background-color: #c0c0c0; width: 20%; height: 25px; border: 1px solid #000000" valign="middle">
                                  <strong>Numer ewidencyjny</strong>
                                </td>
                                <td align="center" scope="row" style="background-color: #c0c0c0; width: 20%; height: 25px; border: 1px solid #000000" valign="middle">
                                  <strong>Gatunek</strong>
                                </td>
                                <td align="center" scope="row" style="background-color: #c0c0c0; width: 20%; height: 25px; border: 1px solid #000000" valign="middle">
                                  <strong>Inny gatunek drzewa</strong>
                                </td>
                                <td align="center" scope="row" style="background-color: #c0c0c0; width: 20%; height: 25px; border: 1px solid #000000" valign="middle">
                                  <strong>Gatunek drzewa o podobnej wartości przyrodniczej</strong>
                                </td>
                                <td align="center" scope="row" style="background-color: #c0c0c0; width: 20%; height: 25px; border: 1px solid #000000" valign="middle">
                                  <strong>Obwód</strong>
                                </td>
                              </tr>
    
                              <xsl:for-each select="wnio:Sekcja1/wnio:Drzewa">
                                <xsl:if test="true()">
    
                                  <tr>
                                    <td scope="row" align="center" style="width: 4%; border: 1px solid #000000">
                                      <span>
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="position()"/>
                                          </span>
                                        </xsl:if>
                                      </span>
                                    </td>
                                    <td align="center" scope="row" style="width: 150px; border: 1px solid #000000" valign="middle">
                                      <span>
                                        <label>
                                          <span/>
                                        </label>
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:NrEwidencyjny"/>
                                          </span>
                                        </xsl:if>
                                      </span>
                                    </td>
                                    <td align="center" scope="row" style="width: 150px; border: 1px solid #000000" valign="middle">
                                      <div style="width: 145px; overflow: hidden">
                                        <span>
                                          <label>
                                            <span/>
                                          </label>
                                          <xsl:if test="true()">
                                            <xsl:value-of select="wnio:Gatunek"/>
                                          </xsl:if>
                                        </span>
                                      </div>
                                    </td>
                                    <td align="center" scope="row" style="width: 150px; border: 1px solid #000000" valign="middle">
                                      <xsl:for-each select="wnio:Sekcja1/wnio:InnyGatunek">
                                        <xsl:if test="../../wnio:Gatunek = 'Inny'">
                                          <span>
                                            <label>
                                              <span/>
                                            </label>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:PoleGatunek"/>
                                              </span>
                                            </xsl:if>
                                          </span>
                                        </xsl:if>
                                      </xsl:for-each>
                                      <xsl:for-each select="wnio:Sekcja2/wnio:NieDotyczy">
                                        <xsl:if test="not(../../wnio:Gatunek = 'Inny')">
                                          <span>
                                            <label>
                                              <span/>
                                            </label>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:PoleGatunek"/>
                                              </span>
                                            </xsl:if>
                                          </span>Nie dotyczy<br/>
                                        </xsl:if>
                                      </xsl:for-each>
                                    </td>
                                    <td align="center" scope="row" style="width: 150px; border: 1px solid #000000" valign="middle">
                                      <xsl:for-each select="wnio:Sekcja3/wnio:PodobnyGatunek">
                                        <xsl:if test="../../wnio:Gatunek ='Inny'">
                                          <div style="width: 145px; overflow: hidden">
                                            <span>
                                              <label>
                                                <span/>
                                              </label>
                                              <xsl:if test="true()">
                                                <span>
                                                  <xsl:value-of select="wnio:Gatunek"/>
                                                </span>
                                              </xsl:if>
                                            </span>
                                          </div>
                                        </xsl:if>
                                      </xsl:for-each>
                                      <xsl:for-each select="wnio:Sekcja4/wnio:NieDotyczy">
                                        <xsl:if test="not(../../wnio:Gatunek = 'Inny')">
                                          <span>
                                            <label>
                                              <span/>
                                            </label>
                                            <xsl:if test="true()">
                                              <span type="text">
                                                <xsl:value-of select="wnio:PodobnyGatunek"/>
                                              </span>
                                            </xsl:if>
                                          </span>Nie dotyczy
                                        </xsl:if>
                                      </xsl:for-each>
                                    </td>
                                    <td align="center" scope="row" style="width: 150px; border: 1px solid #000000" valign="middle">
                                      <span>
                                        <label>
                                          <span/>
                                        </label>
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:Obwod"/>
                                          </span>
                                        </xsl:if>
                                      </span>
                                    </td>
                                  </tr>
    
                                </xsl:if>
                              </xsl:for-each>
    
                            </tbody>
                          </table><br/>
                        </xsl:if>
                      </xsl:for-each>
                      <xsl:for-each select="wnio:TrescDokumentu/wnio:Sekcja10/wnio:OznaczenieKrzewow">
                        <xsl:if test="../../wnio:Oznaczenie='2' or ../../wnio:Oznaczenie='1 2' or ../../wnio:Oznaczenie='2 1'">
                          <span>
                            <label>
                              <span/>
                            </label>
                            <xsl:if test="true()">
                              <span type="text">
                                <xsl:value-of select="wnio:Ilosc"/>
                              </span>
                            </xsl:if>
                          </span> sztuk krzewów zajmujących powierzchnię <span>
                            <label>
                              <span/>
                            </label>
                            <xsl:if test="true()">
                              <span type="text">
                                <xsl:value-of select="wnio:Powierzchnia"/>
                              </span>
                            </xsl:if>
                          </span> m<sup>2</sup>, niżej podanych gatunków: <table border="1" cellpadding="0" cellspacing="0" style="border: 1px solid #000000">
                            <tbody>
                              <tr>
                                <td align="center" valign="middle" style="width: 4%; border: 1px solid #000000; background-color: #c0c0c0;">
                                  <b>Lp.</b>
                                </td>
                                <td align="center" scope="row" style="background-color: #c0c0c0; width: 200px; height: 25px; border: 1px solid #000000" valign="middle">
                                  <strong>
                                    Numer ewidencyjny
                                  </strong>
                                  <br/>
                                </td>
                                <td align="center" scope="row" style="background-color: #c0c0c0; width: 200px; height: 25px; border: 1px solid #000000" valign="middle">
                                  <strong>Gatunek</strong>
                                </td>
                                <td align="center" scope="row" style="background-color: #c0c0c0; width: 200px; height: 25px; border: 1px solid #000000" valign="middle">
                                  <strong>
                                    Powierzchnia w m<sup>2</sup>
                                  </strong>
                                </td>
                              </tr>
    
                              <xsl:for-each select="wnio:Sekcja1/wnio:Krzewy">
                                <xsl:if test="true()">
    
                                  <tr>
                                    <td scope="row" align="center" style="width: 4%; border: 1px solid #000000">
                                      <span>
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="position()"/>
                                          </span>
                                        </xsl:if>
                                      </span>
                                    </td>
                                    <td align="center" scope="row" style="width: 200px; border: 1px solid #000000" valign="middle">
                                      <span>
                                        <label>
                                          <span/>
                                        </label>
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:NrEwidencyjny"/>
                                          </span>
                                        </xsl:if>
                                      </span>
                                    </td>
                                    <td align="center" scope="row" style="width: 200px; border: 1px solid #000000" valign="middle">
                                      <span>
                                        <label>
                                          <span/>
                                        </label>
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:Gatunek"/>
                                          </span>
                                        </xsl:if>
                                      </span>
                                    </td>
                                    <td align="center" scope="row" style="width: 200px; border: 1px solid #000000" valign="middle">
                                      <span>
                                        <label>
                                          <span/>
                                        </label>
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:Powierzchnia"/>
                                          </span>
                                        </xsl:if>
                                      </span>
                                    </td>
                                  </tr>
    
                                </xsl:if>
                              </xsl:for-each>
    
                            </tbody>
                          </table>
                        </xsl:if>
                      </xsl:for-each>
                      <p>
                        <strong>4. Przyczyną usunięcia drzew lub krzewów jest:</strong>
                      </p>
                      <p>
                        <span>
                          <xsl:if test="true()">
                            <span>
                              <xsl:value-of select="wnio:TrescDokumentu/wnio:Przyczyna"/>
                            </span>
                          </xsl:if>
                        </span>
    
                      </p>
                    </td>
                  </tr>
    
                  <!-- ################### KONIEC FORMULARZA ################### -->
    
                  <tr>
                    <td colspan="2" height="50">
                      <xsl:if test="wnio:TrescDokumentu/wnio:Zalaczniki/wnio:Zalacznik">
                        <br/>
                        <br/>
                        <p>
                          <strong>Załączniki</strong>
                        </p>
    
    
    
    
                        <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:Zalaczniki/wnio:Zalacznik">
                            <xsl:if test="true()">
                              <tr>
                                <td style="text-align: center; width: 50px; border: 1pt solid #000000">
                                  <xsl:value-of select="position()"/>
                                </td>
                                <td style="text-align: center; width: 100px; border: 1pt solid #000000">
                                  <xsl:if test="true()">
                                    <span>
                                      <xsl:choose>
                                        <xsl:when test="contains(concat(concat(' ', normalize-space(wnio:AktualnoscZalacznika)),' '),  ' 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">
    
    
                                  <!-- ################### TUTAJ ZAŁĄCZNIKI POCZĄTEK ################### -->
    
                                <xsl:for-each select="wnio:Sekcja1/wnio:Zalacznik1">
                                  <xsl:if test="../../wnio:TypZalacznika='1'">
                                    <span>
                                      <label>
                                        <span/>
                                      </label>
                                      <xsl:if test="true()">
                                        <span type="text">
                                          <xsl:value-of select="wnio:PoleZalacznik"/>
                                        </span>
                                      </xsl:if>
                                    </span>Inwentaryzacja zieleni na terenie objętym inwestycją z określeniem: gatunków drzew i krzewów, obwodu pni na wysokości 130 cm od ziemi, wysokości drzew i zasięgu ich koron, powierzchni porośniętej krzewami w m<sup>2</sup>, stanu zdrowotnego zieleni w ocenie wnioskodawcy oraz zaznaczeniem drzew i krzewów przeznaczonych do usunięcia (wycinki lub przesadzenia) w formie opisowej oraz w formie graficznej na kopii aktualnej mapy zasadniczej obejmującej projekt zagospodarowania działki lub terenu (a w szczególności układ istniejących i projektowanych: obiektów budowlanych i sieci uzbrojenia terenu) oraz granice nieruchomości, ze wskazaniem zaistniałych kolizji z zielenią
                                  </xsl:if>
                                </xsl:for-each>
                                <xsl:for-each select="wnio:Sekcja1/wnio:Zalacznik2">
                                  <xsl:if test="../../wnio:TypZalacznika='2'">
                                    <p>
                                      <span>
                                        <label>
                                          <span/>
                                        </label>
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:PoleZalacznik"/>
                                          </span>
                                        </xsl:if>
                                      </span> Tytuł prawny władania nieruchomością (wymienić jaki)
                                    </p>
                                    <p>(Odpis z księgi wieczystej, wypis i wyrys z ewidencji gruntu, akt notarialny zakupu nieruchomości, decyzja o nabyciu spadku, akt notarialny darowizny, decyzja o przekazaniu nieruchomości w trwały zarząd lub umowa dzierżawy, inne)</p>
                                  </xsl:if>
                                </xsl:for-each>
                                <xsl:for-each select="wnio:Sekcja1/wnio:Zalacznik3">
                                  <xsl:if test="../../wnio:TypZalacznika='3'">
                                    <p>
                                      <span>
                                        <label>
                                          <span/>
                                        </label>
                                        <xsl:if test="true()">
                                          <span type="text">
                                            
                                          </span>
                                        </xsl:if>
                                      </span>Zgoda właściciela terenu na planowane usunięcie drzew lub krzewów (oryginał), w przypadku, gdy posiadacz działki nie jest właścicielem terenu.
                                    </p>
                                    <p>W przypadku, gdy drzewa i krzewy rosną na terenie zarządzanym przez jednostki miejskie, do wniosku należy dołączyć zgodę od tych jednostek na usunięcie kolidujących drzew i krzewów.</p>
                                    <p>Wymóg ten nie dotyczy nieruchomości, gdzie właścicielem jest <xsl:value-of select="wnio:PoleZalacznik"/> lub Skarb Państwa oddanych w trwały zarząd, dzierżawionych, użytkowanych przez wnioskodawcę lub oddanych w użyczenie wnioskodawcy.</p>
                                  </xsl:if>
                                </xsl:for-each>
                                <xsl:for-each select="wnio:Sekcja1/wnio:Zalacznik4">
                                  <xsl:if test="../../wnio:TypZalacznika='4'">
                                    <p>
                                      <span>
                                        <label>
                                          <span/>
                                        </label>
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:PoleZalacznik"/>
                                          </span>
                                        </xsl:if>
                                      </span> Pełnomocnictwo
                                    </p>
                                    <p>Wymagane w przypadku działania przez pełnomocnika.</p>
                                  </xsl:if>
                                </xsl:for-each>
                                <xsl:for-each select="wnio:Sekcja1/wnio:Zalacznik5">
                                  <xsl:if test="../../wnio:TypZalacznika='5'">
                                    <p>
                                      <span>
                                        <label>
                                          <span/>
                                        </label>
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:PoleZalacznik"/>
                                          </span>
                                        </xsl:if>
                                      </span>Zdjęcie drzew lub krzewów (opcjonalne)
                                    </p>
                                  </xsl:if>
                                </xsl:for-each>
                                <xsl:for-each select="wnio:Sekcja1/wnio:Zalacznik6">
                                  <xsl:if test="../../wnio:TypZalacznika='6'">
                                    <p>
                                      <span>
                                        <label>
                                          <span/>
                                        </label>
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:PoleZalacznik"/>
                                          </span>
                                        </xsl:if>
                                      </span> Kserokopia ostatecznej decyzji: o ustaleniu warunków zabudowy (WZ), decyzji o ustaleniu lokalizacji inwestycji celu publicznego (ULI CP), lub kserokopia wypisu i wyrysu z miejscowego planu zagospodarowania przestrzennego, jeżeli plan został uchwalony (wymagana)
                                    </p>
                                  </xsl:if>
                                </xsl:for-each>
                                <xsl:for-each select="wnio:Sekcja1/wnio:Zalacznik7">
                                  <xsl:if test="../../wnio:TypZalacznika='7'">
                                    <p>
                                      <span>
                                        <label>
                                          <span/>
                                        </label>
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:PoleZalacznik"/>
                                          </span>
                                        </xsl:if>
                                      </span>Preliminarz opłat za usuwane (wycinane lub przesadzane) drzewa lub krzewy i projekt przesadzenia lub zastąpienia ich innymi drzewami lub krzewami (wymagany)
                                    </p>
                                  </xsl:if>
                                </xsl:for-each>
                                <xsl:for-each select="wnio:Sekcja1/wnio:Zalacznik8">
                                  <xsl:if test="../../wnio:TypZalacznika='8'">
                                    <p>
                                      <span>
                                        <label>
                                          <span/>
                                        </label>
                                        <xsl:if test="true()">
                                          <span type="text">
                                            <xsl:value-of select="wnio:PoleZalacznik"/>
                                          </span>
                                        </xsl:if>
                                      </span>Projekt układu zieleni dla terenu objętego inwestycją sporządzony na kopii mapy zasadniczej (wymagany)
                                    </p>
                                  </xsl:if>
                                </xsl:for-each>
                                <xsl:for-each select="wnio:Sekcja1/wnio:Zalacznik9">
                                  <xsl:if test="../../wnio:TypZalacznika='9'">
                                    <span>
                                      <label>
                                        <span/>
                                      </label>
                                      <xsl:if test="true()">
                                        <span type="text">
                                          <xsl:value-of select="wnio:PoleZalacznik"/>
                                        </span>
                                      </xsl:if>
                                    </span>Inny
                                  </xsl:if>
                                </xsl:for-each>
    
                                <!-- ################### TUTAJ ZAŁĄCZNIKI KONIEC ################### -->
    
                                </td>
                                <td style="text-align: left; width: 150px; border: 1pt solid #000000">
                                  <xsl:if test="not(string-length(normalize-space(wnio:OpisZalacznika))=0)">
                                    <span type="text">
                                      <xsl:value-of select="wnio:OpisZalacznika"/>
                                    </span>
                                  </xsl:if>
                                   
                                </td>
                                <td style="text-align: left; width: 150px; border: 1pt solid #000000">
                                  <xsl:for-each select="str:Zalacznik">
                                    <xsl:if test="true()">
                                      <span>
                                        <xsl:value-of select="str:DaneZalacznika/../@nazwaPliku"/>
                                      </span>
                                    </xsl:if>
                                  </xsl:for-each>
                                </td>
                              </tr>
                            </xsl:if>
                          </xsl:for-each>
                        </table>
                      </xsl:if>
    
                      <xsl:for-each select="wnio:TrescDokumentu/wnio:Sekcja6/wnio:ZgodnoscZalacznikow">
                        <xsl:if test="../../wnio:Zalaczniki/wnio:Zalacznik">
                           <span>
                            <br/>
                         <b>Potwierdzam zgodność wszystkich załączonych dokumentów z oryginałami: </b>
                          </span>
                          <xsl:choose>
                            <xsl:when test="contains(concat(concat(' ', normalize-space(wnio:Potwierdzenie)),' '),  ' 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>
                        <!-- #### TUTAJ ZMIENIć REFERENCJĘ-->
                        <xsl:when test="contains(concat(concat(' ', normalize-space(wnio:TrescDokumentu/wnio:ZgodaNaKorespondencje)),' '),  ' 1 ' )">
                          <span>Tak</span>
                        </xsl:when>
                        <xsl:otherwise>
                          <span>Nie</span>
                        </xsl:otherwise>
                      </xsl:choose>
    
                    </td>
                  </tr>
    
                </tbody>
              </table>
            </body>
          </html>
        </xsl:for-each>
      </xsl:template>
    </xsl:stylesheet>