6722

ID6722
Data2019-01-21
Symbol2019/01/21/6722
InstytucjaUrząd Gminy Strzałkowo
NazwaWniosek o wydanie wypisu, wyrysu z miejscowego planu zagospodarowania przestrzennego
Czy Aktualny1

Ustawy (1)

  • URI://Dziennik_Ustaw/2017/570/16b/1
  • Ustawa z dnia 17 lutego 2005 r. o informatyzacji działalności podmiotów realizujących zadania publiczne

    Pliki

    Styl

    <?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wnio="http://crd.gov.pl/wzor/2019/01/21/6722/" xmlns:meta="http://crd.gov.pl/xml/schematy/meta/2009/11/16/" xmlns:str="http://crd.gov.pl/xml/schematy/struktura/2009/11/16/" xmlns:oso="http://crd.gov.pl/xml/schematy/osoba/2009/11/16/" xmlns:inst="http://crd.gov.pl/xml/schematy/instytucja/2009/11/16/" xmlns:adr="http://crd.gov.pl/xml/schematy/adres/2009/11/09/" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0">
      <xsl:template match="/">
        <html xmlns="http://www.w3.org/1999/xhtml">
          <head>
            <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
            <style type="text/css">
                        body {  background-color: #FFFFFF; margin: 0px 0px 0px 0px;
                        font-family: Verdana, Helvetica, sans-serif;  font-size : 12px;  }
                        table .title { background-color: #FFFFFF; width:100%; border: 0px; }
                        p { margin-top: 1em; margin-bottom: 1em; }
                        h1 { font-size: 24px; margin-top: 0; background-color: #dde; font-weight: bold; font-size: 14px; text-align: left; padding-left: 1em; padding-right: 1em; padding-top: .2em; padding-bottom: .2em; margin-top: 0; margin-bottom: 0; border-bottom: solid 1px #99c; line-height: 180%;}
                        h2 {color: #336; background-color: #dde; font-size: 9pt; font-weight: bold; padding-left: 1em; padding-right: 1em; padding-top: .2em; padding-bottom: .2em; margin-top: 2em; margin-bottom: 1em; border-bottom: solid 1px #336; clear: right;}
                        h3 { font-size: 14px; margin-top: 2em; color: #0A2D4C; }
                        h4 { font-size: 12px; margin-top: 2em; color: #4A6D8C; }
                        b { color: #4A6D8C; }
                        li { line-height: 1.2em; }
                        h1, h2 { text-align:center !important; }
                        h1 { margin-bottom:15px !important; }
                        h3, h4 { margin-top:8px ; margin-bottom:8px; }
                        table { border-collapse: collapse; margin:0; padding:0; width:100%; margin-bottom: 3px; }
                        td, th { border: 1px solid #CCC; padding:3px;  }
                        th { background-color:#EEE; text-align:left; font-weight:normal; }
                        textarea { width: 90%; height: 100% }
                    </style>
          </head>
          <body>
            <div style="max-width: 900px; margin: 0 auto;">
              <xsl:for-each select="//wnio:TrescDokumentu/wnio:Wartosc">
                <h1>Wniosek o wydanie wypisu, wyrysu z miejscowego planu zagospodarowania przestrzennego</h1>
                <h2>NAGŁÓWEK</h2>
                <table>
                  <tr>
                    <th>
                      <b>Miejsce składania</b>
                    </th>
                    <th style="text-align: left;">
                      <xsl:value-of select="wnio:MiejsceSkladania"/>
                    </th>
                  </tr>
                </table>
                <table>
                  <tr>
                    <th colspan="4"><h4>Wnioskodawca</h4>
                                        (
                                        <xsl:if test="wnio:Podmiot/@typPodmiotu = 'osoba_fizyczna'">osoba fizyczna</xsl:if>
                                        <xsl:if test="wnio:Podmiot/@typPodmiotu = 'osoba_prawna'">osoba prawna</xsl:if>
                                        )
                                    </th>
                  </tr>
                  <xsl:for-each select="wnio:Podmiot/@typPodmiotu[.='osoba_fizyczna']/../oso:Osoba">
                    <tr>
                      <th>Imię</th>
                      <td>
                        <xsl:value-of select="oso:Imie"/>
                      </td>
                      <th>Nazwisko</th>
                      <td>
                        <xsl:value-of select="oso:Nazwisko"/>
                      </td>
                    </tr>
                    <tr>
                      <th>PESEL</th>
                      <td colspan="3">
                        <xsl:value-of select="oso:IdOsoby/oso:PESEL"/>
                      </td>
                    </tr>
                  </xsl:for-each>
                  <xsl:for-each select="wnio:Podmiot/@typPodmiotu[.='osoba_prawna']/../inst:Instytucja">
                    <tr>
                      <th>Nazwa instytucji</th>
                      <td colspan="3">
                        <xsl:value-of select="inst:NazwaInstytucji"/>
                      </td>
                    </tr>
                    <tr>
                      <th>NIP</th>
                      <td colspan="3">
                        <xsl:value-of select="inst:IdInstytucji/inst:NIP"/>
                      </td>
                    </tr>
                  </xsl:for-each>
                  <xsl:for-each select="wnio:Podmiot/@typPodmiotu[.='osoba_fizyczna']/../oso:Osoba/adr:Adres">
                    <tr>
                      <th>Miejscowość</th>
                      <td>
                        <xsl:value-of select="adr:Miejscowosc"/>
                      </td>
                      <th>Ulica</th>
                      <td>
                        <xsl:value-of select="adr:Ulica"/>
                      </td>
                    </tr>
                    <tr>
                      <th>Nr domu</th>
                      <td>
                        <xsl:value-of select="adr:Budynek"/>
                      </td>
                      <th>Numer lokalu</th>
                      <td>
                        <xsl:value-of select="adr:Lokal"/>
                      </td>
                    </tr>
                    <tr>
                      <th>Poczta</th>
                      <td>
                        <xsl:value-of select="adr:Poczta"/>
                      </td>
                      <th>Kod pocztowy</th>
                      <td>
                        <xsl:value-of select="adr:KodPocztowy"/>
                      </td>
                    </tr>
                    <tr>
                      <th>Telefon</th>
                      <td colspan="3">
                        <xsl:value-of select="../adr:Kontakt/adr:Telefon"/>
                      </td>
                    </tr>
                  </xsl:for-each>
                  <xsl:for-each select="wnio:Podmiot/@typPodmiotu[.='osoba_prawna']/../inst:Instytucja/adr:Adres">
                    <tr>
                      <th>Miejscowość</th>
                      <td>
                        <xsl:value-of select="adr:Miejscowosc"/>
                      </td>
                      <th>Ulica</th>
                      <td>
                        <xsl:value-of select="adr:Ulica"/>
                      </td>
                    </tr>
                    <tr>
                      <th>Nr domu</th>
                      <td>
                        <xsl:value-of select="adr:Budynek"/>
                      </td>
                      <th>Numer lokalu</th>
                      <td>
                        <xsl:value-of select="adr:Lokal"/>
                      </td>
                    </tr>
                    <tr>
                      <th>Poczta</th>
                      <td>
                        <xsl:value-of select="adr:Poczta"/>
                      </td>
                      <th>Kod pocztowy</th>
                      <td>
                        <xsl:value-of select="adr:KodPocztowy"/>
                      </td>
                    </tr>
                    <tr>
                      <th>Telefon</th>
                      <td colspan="3">
                        <xsl:value-of select="../adr:Kontakt/adr:Telefon"/>
                      </td>
                    </tr>
                  </xsl:for-each>
                </table>
                <h2>TREŚĆ FORMULARZA</h2>
                <xsl:for-each select="//wnio:TrescDokumentu/wnio:Wartosc">
                  <table>
                    <tr>
                      <th>
                        <h4 style="text-align: center;"><xsl:value-of select="wnio:Pds1"/> proszę o wydanie
                                                <xsl:if test="wnio:WypisWyrys = 'wypis'">wypisu</xsl:if>
                                                <xsl:if test="wnio:WypisWyrys = 'wyrys'">wyrysu</xsl:if>
                                                <xsl:if test="wnio:WypisWyrys = 'wypis i wyrys'">wypisu i wyrysu</xsl:if>
                                                z obowiązującego miejscowego planu zagospodarowania przestrzennego obejmującego:
                                            </h4>
                      </th>
                    </tr>
                  </table>
                  <table>
                    <xsl:for-each select="wnio:NumeryDzialek/wnio:NumerDzialki">
                      <tr>
                        <th>
                                                Działkę nr. <xsl:value-of select="position()"/>
                                            </th>
                        <th>
                                                Numer ewidencyjny
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:Ewidencyjny"/>
                        </td>
                        <th>
                                                Obręb
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:Obreb"/>
                        </td>
                        <th>
                                                Z arkusza mapy
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:ArkuszMapy"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                  <table>
                    <tr>
                      <th>Działki położone są w miejscowości</th>
                      <td><xsl:value-of select="wnio:Miejscowosc"/>, Gmina Strzałkowo.
                                        </td>
                      <th>
                                            Niniejszy <xsl:value-of select="wnio:WypisWyrys"/> przedłożę w
                                        </th>
                      <td>
                        <xsl:value-of select="wnio:Przedlozenie"/>
                      </td>
                    </tr>
                  </table>
                  <table>
                    <tr>
                      <th>Zamierzenie budowlane</th>
                      <td>
                        <xsl:value-of select="wnio:ZamierzenieBudowlane"/>
                      </td>
                    </tr>
                    <xsl:for-each select="wnio:ZamierzenieBudowlane[.='tak']">
                      <tr>
                        <th>Krótki opis w przypadku zamierzenia budowlanego </th>
                        <td>
                          <xsl:value-of select="../wnio:OpisZamierzenia"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                  <xsl:for-each select="wnio:ZalacznikMapa/str:Zalaczniki">
                    <table>
                      <tr>
                        <th colspan="3">
                          <h4 style="text-align: center;">Załączniki z mapami</h4>
                        </th>
                      </tr>
                      <tr>
                        <th>Opis arkusza mapy</th>
                        <th>Plik</th>
                      </tr>
                      <xsl:for-each select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:ZalacznikMapa/str:Zalaczniki/str:Zalacznik">
                        <tr>
                          <td style="width:40%">
                            <xsl:value-of select="str:OpisZalacznika"/>
                          </td>
                          <td>
                            <xsl:value-of select="./@nazwaPliku"/>
                          </td>
                        </tr>
                      </xsl:for-each>
                    </table>
                  </xsl:for-each>
                  <xsl:for-each select="wnio:ZalacznikOplata/str:Zalaczniki">
                    <table>
                      <tr>
                        <th colspan="3">
                          <h4 style="text-align: center;">Załączniki z opłatami</h4>
                        </th>
                      </tr>
                      <tr>
                        <th>Opis opłaty</th>
                        <th>Plik</th>
                      </tr>
                      <xsl:for-each select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:ZalacznikOplata/str:Zalaczniki/str:Zalacznik">
                        <tr>
                          <td style="width:40%">
                            <xsl:value-of select="str:OpisZalacznika"/>
                          </td>
                          <td>
                            <xsl:value-of select="@nazwaPliku"/>
                          </td>
                        </tr>
                      </xsl:for-each>
                    </table>
                  </xsl:for-each>
                </xsl:for-each>
                <h2>STOPKA</h2>
                <table>
                  <tr>
                    <td>
                      <h4>
                        <xsl:value-of select="wnio:Pds2"/>
                      </h4>
                      <xsl:for-each select="wnio:Pds3">
                        <xsl:for-each select="wnio:Pkt">
                          <xsl:value-of select="."/>
                          <br/>
                        </xsl:for-each>
                      </xsl:for-each>
                    </td>
                  </tr>
                </table>
                <table>
                  <tr>
                    <th colspan="2">
                      <h3 style="text-align: center;">Podpis</h3>
                    </th>
                  </tr>
                  <tr>
                    <th>
                      <h4 style="text-align: right;">Imię</h4>
                    </th>
                    <td>
                      <xsl:value-of select="oso:Imie"/>
                    </td>
                  </tr>
                  <tr>
                    <th>
                      <h4 style="text-align: right;">Nazwisko</h4>
                    </th>
                    <td>
                      <xsl:value-of select="oso:Nazwisko"/>
                    </td>
                  </tr>
                  <tr>
                    <th>
                      <h4 style="text-align: right;">Data</h4>
                    </th>
                    <td>
                      <xsl:value-of select="wnio:DataZlozenia"/>
                    </td>
                  </tr>
                </table>
              </xsl:for-each>
              <xsl:call-template name="Podpisy_elektroniczne"/>
            </div>
          </body>
        </html>
      </xsl:template>
      <xsl:template xmlns="http://www.w3.org/1999/xhtml" name="Podpisy_elektroniczne">
        <h2>Podpisy elektroniczne</h2>
        <table>
          <tr>
            <td>
              <xsl:choose>
                <xsl:when test="string-length(//wnio:Dokument/ds:Signature/ds:SignatureValue) &gt; 0">
                  <xsl:text>Dokument został podpisany, aby go zweryfikować należy użyć oprogramowania do weryfikacji podpisu</xsl:text>
                  <xsl:choose>
                    <xsl:when test="count(//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']) &gt; 1">
                      <br/>
                      <xsl:text>Daty złożenia podpisu: </xsl:text>
                      <xsl:for-each select="//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']">
                        <xsl:value-of select="."/>
                      </xsl:for-each>
                    </xsl:when>
                    <xsl:when test="count(//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']) = 1">
                      <br/>
                      <xsl:text>Data złożenia podpisu: </xsl:text>
                      <xsl:for-each select="//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']">
                        <xsl:value-of select="."/>
                      </xsl:for-each>
                    </xsl:when>
                    <xsl:when test="0 &gt;= count(//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime'])">
                                    </xsl:when>
                  </xsl:choose>
                </xsl:when>
                <xsl:otherwise>
                  <xsl:text>Dokument nie zawiera podpisu</xsl:text>
                </xsl:otherwise>
              </xsl:choose>
            </td>
          </tr>
        </table>
      </xsl:template>
    </xsl:stylesheet>