10093

ID10093
Data2020-11-17
Symbol2020/11/17/10093
InstytucjaMałopolski Urząd Wojewódzki w Krakowie
NazwaWniosek o udostępnienie akt sprawy
Czy Aktualny1

Ustawy (1)

  • URI://Dziennik_Ustaw/2020/346/16b/1
  • Art. 16b ust. 1 ustawy 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: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/2020/11/17/10093/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0">
        <xsl:template match="/">
            <xsl:for-each select="wnio:Dokument">
                <html xmlns="http://www.w3.org/1999/xhtml">
                    <head>
                        <style>
                            p,
                            span,
                            table,
                            ul,
                            ul li,
                            table td{
                                font-family: tahoma, arial, helvetica, sans-serif;
                                font-variant: normal;
                                font-size: 10pt;
                                color: #101010;
                                line-height: 26px;
                            }</style>
                    </head>
                    <body>
                        <p style="text-align: center;">
                            <strong>
                                <span style="font-size: small;">Wniosek o udostępnienie akt
                                    sprawy</span>
                            </strong>
                        </p>
                        <p style="text-align: left;">
                            <strong>
                                <span style="font-size: small;">
                                    <br/>
                                </span>
                                <span style="font-size: small;">Wnioskodawca: </span>
                            </strong>
                        </p>
                        <p style="text-align: left;"><span><label><span/></label><xsl:if test="true()"><span><xsl:choose><xsl:when test="normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID16) = normalize-space(' 1 ')"><span>[<b>X</b>]
                                                    </span></xsl:when><xsl:otherwise><span>[ ]
                                                </span></xsl:otherwise></xsl:choose><label><span>Osoba
                                                fizyczna
                                                </span></label></span><span><xsl:choose><xsl:when test="normalize-space(wnio:TrescDokumentu/wnio:Wartosc/wnio:ID16) = normalize-space(' 2 ')"><span>[<b>X</b>]
                                                    </span></xsl:when><xsl:otherwise><span>[ ]
                                                </span></xsl:otherwise></xsl:choose><label><span>Podmiot
                                            </span></label></span></xsl:if></span> </p>
                        <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID0">
                            <xsl:if test="../wnio:ID16 = '2'">  <table border="0" cellpadding="3" cellspacing="0" style="width: 100%;"><tbody><tr><td style="width: 150px;">Nazwa</td><td><span><label><span/></label><xsl:if test="true()"><span type="text"><xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID2"/></span></xsl:if></span></td></tr></tbody></table></xsl:if>
                        </xsl:for-each>
                        <xsl:for-each select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID1">
                            <xsl:if test="../wnio:ID16 = '1'">
                                <br/>
                                <table border="0" cellpadding="3" cellspacing="0" style="width: 100%;">
                                    <tbody>
                                        <tr>
                                            <td style="width: 150px;">Imię</td>
                                            <td>
                                                <span>
                                                    <label>
                                                      <span/>
                                                    </label>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                      <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID3"/>
                                                      </span>
                                                    </xsl:if>
                                                </span>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>Nazwisko</td>
                                            <td>
                                                <span>
                                                    <label>
                                                      <span/>
                                                    </label>
                                                    <xsl:if test="true()">
                                                      <span type="text">
                                                      <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID4"/>
                                                      </span>
                                                    </xsl:if>
                                                </span>
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </xsl:if>
                        </xsl:for-each>
                        <table border="0" cellpadding="3" cellspacing="0" style="">
                            <tbody>
                                <tr>
                                    <td style="width: 220px;">Kod pocztowy</td>
                                    <td>
                                        <span>
                                            <label>
                                                <span/>
                                            </label>
                                            <xsl:if test="true()">
                                                <span type="text">
                                                    <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID5"/>
                                                </span>
                                            </xsl:if>
                                        </span>
                                    </td>
                                </tr>
                                <tr>
                                    <td>Miejscowość</td>
                                    <td>
                                        <span>
                                            <label>
                                                <span/>
                                            </label>
                                            <xsl:if test="true()">
                                                <span type="text">
                                                    <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID6"/>
                                                </span>
                                            </xsl:if>
                                        </span>
                                    </td>
                                </tr>
                                <tr>
                                    <td>Ulica</td>
                                    <td>
                                        <span>
                                            <label>
                                                <span/>
                                            </label>
                                            <xsl:if test="true()">
                                                <span type="text">
                                                    <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID7"/>
                                                </span>
                                            </xsl:if>
                                        </span>
                                    </td>
                                </tr>
                                <tr>
                                    <td>Nr budynku</td>
                                    <td>
                                        <span>
                                            <label>
                                                <span/>
                                            </label>
                                            <xsl:if test="true()">
                                                <span type="text">
                                                    <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID8"/>
                                                </span>
                                            </xsl:if>
                                        </span>
                                    </td>
                                </tr>
                                <tr>
                                    <td>Nr lokalu</td>
                                    <td>
                                        <span>
                                            <label>
                                                <span/>
                                            </label>
                                            <xsl:if test="true()">
                                                <span type="text">
                                                    <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID9"/>
                                                </span>
                                            </xsl:if>
                                        </span>
                                    </td>
                                </tr>
                                <tr>
                                    <td>Znak sprawy</td>
                                    <td>
                                        <span>
                                            <label>
                                                <span/>
                                            </label>
                                            <xsl:if test="true()">
                                                <span type="text">
                                                    <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID10"/>
                                                </span>
                                            </xsl:if>
                                        </span>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">Krótki opis sprawy</td>
                                    <td>
                                        <span>
                                            <xsl:call-template name="substitute">
                                                <xsl:with-param name="string" select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID11"/>
                                            </xsl:call-template>
                                        </span>
                                    </td>
                                </tr>
                                <tr>
                                    <td>Status sprawy</td>
                                    <td>
                                        <span>
                                            <label>
                                                <span/>
                                            </label>
                                            <xsl:if test="true()">
                                                <span>
                                                    <xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID12 = 1">w toku</xsl:if>
                                                    <xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID12 = 2">zakończone</xsl:if>
                                                    <xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID12 = 3">nie wiem</xsl:if>
                                                </span>
                                            </xsl:if>
                                        </span>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">Zakres udostępnionej dokumentacji</td>
                                    <td>
                                        <p>
                                            <span>
                                                <label>
                                                    <span/>
                                                </label>
                                                <xsl:if test="true()">
                                                    <span>
                                                      <xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID13 = 1">pełne akta sprawy</xsl:if>
                                                      <xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID13 = 2">wybrane dokumenty</xsl:if>
                                                    </span>
                                                </xsl:if>
                                            </span>
                                        </p>
                                        <p>
                                            <span>
                                                <label>
                                                    <span/>
                                                </label>
                                                <xsl:if test="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID13 = 2">
                                                    <span type="text">
                                                      <xsl:value-of select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID15"/>
                                                    </span>
                                                </xsl:if>
                                            </span>
                                        </p>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">Uwagi</td>
                                    <td>
                                        <span>
                                            <xsl:call-template name="substitute">
                                                <xsl:with-param name="string" select="wnio:TrescDokumentu/wnio:Wartosc/wnio:ID14"/>
                                            </xsl:call-template>
                                        </span>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        <xsl:call-template name="Podpis"/>
                    </body>
                </html>
            </xsl:for-each>
        </xsl:template>
        <xsl:template name="Podpis">
            <div align="right" style="text-align: right;font-size: 10px;font-family: Verdana;line-height: 20px;">
                <table style="float: right;">
                    <tr>
                        <td style="width: 340px;">
                            <p align="center" style="text-align: center;font-size: 10px;font-family: Verdana;line-height: 20px;">
                                <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>
                                <br/>
                                <span style="font-size: 7pt;font-weight: bold;"> Podpis elektroniczny
                                </span>
                            </p>
                        </td>
                    </tr>
                </table>
            </div>
            <div style="clear: both;"/>
        </xsl:template>
    
        <xsl:template name="substitute">
            <xsl:param name="string"/>
            <xsl:param name="from" select="'&#xA;'"/>
            <xsl:param name="to">
                <br/>
            </xsl:param>
            <xsl:choose>
                <xsl:when test="contains($string, $from)">
                    <xsl:value-of select="substring-before($string, $from)"/>
                    <xsl:copy-of select="$to"/>
                    <xsl:call-template name="substitute">
                        <xsl:with-param name="string" select="substring-after($string, $from)"/>
                        <xsl:with-param name="from" select="$from"/>
                        <xsl:with-param name="to" select="$to"/>
                    </xsl:call-template>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:value-of select="$string"/>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:template>
    </xsl:stylesheet>