6957

ID6957
Data2019-02-06
Symbol2019/02/06/6957
InstytucjaUrząd Gminy Giby
NazwaDeklaracja o wysokości opłaty za gospodarowanie odpadami komunalnymi
Czy Aktualny1

Ustawy (1)

  • URI://Dziennik_Ustaw/2018/1454/6n/1/2/a
  • Ustawa z dnia 13 września 1996 r. o utrzymaniu czystości i porządku w gminach

    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/02/06/6957/" 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;
                        }
                    </style>
          </head>
          <body>
            <div style="width: 900px; margin: 0 auto;">
              <xsl:for-each select="//wnio:TrescDokumentu/wnio:Wartosc">
                <h1 style="text-align: center;">
                  <xsl:value-of select="//wnio:DaneDokumentu/str:Naglowek/str:NazwaDokumentu"/>
                </h1>
                <h2>NAGŁÓWEK</h2>
                <table border="1px">
                  <tr>
                    <th>Podstawa prawna:</th>
                    <th>
                      <xsl:value-of select="wnio:PodstawaPrawna"/>
                    </th>
                  </tr>
                  <tr>
                    <th>Składający:</th>
                    <th>
                      <xsl:value-of select="wnio:Skladajacy"/>
                    </th>
                  </tr>
                  <tr>
                    <th>Termin składania:</th>
                    <th>
                      <xsl:value-of select="wnio:TerminSkladania"/>
                    </th>
                  </tr>
                  <tr>
                    <th>Organ właściwy do złożenia deklaracji:</th>
                    <th>
                      <xsl:value-of select="wnio:MiejsceSkladania"/>
                    </th>
                  </tr>
                </table>
                <xsl:for-each select="wnio:Okolicznosci">
                  <table>
                    <tr>
                      <th>
                        <h4>
                                                A. OKOLICZNOŚCI POWODUJĄCE KONIECZNOŚĆ ZŁOŻENIA DEKLARACJI
                                            </h4>
                      </th>
                    </tr>
                    <tr>
                      <td>
                        <xsl:if test="wnio:Wybor='1'">Złożenie pierwszej deklaracji</xsl:if>
                        <xsl:if test="wnio:Wybor='2'">Zmiana deklaracji</xsl:if>
                        <xsl:if test="wnio:Wybor='3'">Korekta deklaracji</xsl:if>
                      </td>
                    </tr>
                    <tr>
                      <td>
                        <xsl:value-of select="concat('dotyczy opłaty od miesiąca ',wnio:Miesiac, ' - ', wnio:Rok, ' roku')"/>
                      </td>
                    </tr>
                    <xsl:if test="wnio:Wybor='2' or wnio:Wybor='3'">
                      <tr>
                        <td>
                                                przyczyna:
                                                <br/>
                                                <xsl:value-of select="wnio:Przyczyna"/>
                                            </td>
                      </tr>
                    </xsl:if>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:SkladajacyDeklaracje">
                  <table>
                    <tr>
                      <th>
                        <h4>
                                                B. SKŁADAJĄCY DEKLARACJĘ
                                            </h4>
                      </th>
                    </tr>
                    <tr>
                      <td>
                        <xsl:if test="wnio:Wybor='1'">Właściciel nieruchomości</xsl:if>
                        <xsl:if test="wnio:Wybor='2'">Współwłaściciel</xsl:if>
                        <xsl:if test="wnio:Wybor='3'">Użytkownik wieczysty</xsl:if>
                        <xsl:if test="wnio:Wybor='4'">Zarządca nieruchomości</xsl:if>
                        <xsl:if test="wnio:Wybor='5'">Najemca, dzierżawca</xsl:if>
                        <xsl:if test="wnio:Wybor='6'">
                          <xsl:value-of select="wnio:Inny"/>
                        </xsl:if>
                      </td>
                    </tr>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:Podmiot">
                  <table>
                    <tr>
                      <th colspan="6">
                        <h4>
                                                C. RODZAJ PODMIOTU SKŁADAJĄCEGO DEKLARACJĘ
                                            </h4>
                      </th>
                    </tr>
                    <tr>
                      <th style="width:10%">Rodzaj</th>
                      <td colspan="5">
                        <xsl:if test="./@typPodmiotu='osoba_fizyczna'">osoba fizyczna</xsl:if>
                        <xsl:if test="./@typPodmiotu='osoba_prawna'">osoba prawna</xsl:if>
                        <xsl:if test="./@typPodmiotu='jednostka_organizacyjna'">jednostka organizacyjna
                                                nieposiadająca osobowości prawnej
                                            </xsl:if>
                      </td>
                    </tr>
                    <tr>
                      <th colspan="6">
                        <h4>
                                                D. DANE IDENTYFIKACYJNE
                                            </h4>
                      </th>
                    </tr>
                    <tr>
                      <th colspan="6">
                        <h4>
                          <xsl:if test="./@typPodmiotu='osoba_fizyczna'">D.1. OSOBA FIZYCZNA</xsl:if>
                          <xsl:if test="./@typPodmiotu!='osoba_fizyczna'">D.2. POZOSTAŁE PODMIOTY
                                                </xsl:if>
                        </h4>
                      </th>
                    </tr>
                    <xsl:for-each select="wnio:OsobaFizyczna">
                      <tr>
                        <th style="width:10%">Nazwisko</th>
                        <td style="width:25%">
                          <xsl:value-of select="oso:Nazwisko"/>
                        </td>
                        <th style="width:10%">Imię</th>
                        <td style="width:25%">
                          <xsl:value-of select="oso:Imie"/>
                        </td>
                      </tr>
                      <tr>
                        <th style="width:10%">Drugie imię</th>
                        <td>
                          <xsl:value-of select="oso:ImieDrugie"/>
                        </td>
                        <th style="width:10%">PESEL</th>
                        <td style="width:25%">
                          <xsl:value-of select="oso:PESEL"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Telefon</th>
                        <td>
                          <xsl:value-of select="../wnio:Adres/adr:Telefon"/>
                        </td>
                        <th>E-mail</th>
                        <td>
                          <xsl:value-of select="../wnio:Adres/adr:Email"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                    <xsl:for-each select="wnio:OsobaNiefizyczna">
                      <tr>
                        <th style="width:10%">Pełna nazwa</th>
                        <td colspan="3" style="width:25%">
                          <xsl:value-of select="inst:NazwaInstytucji"/>
                        </td>
                      </tr>
                      <tr>
                        <th style="width:10%">NIP</th>
                        <td style="width:25%">
                          <xsl:value-of select="inst:NIP"/>
                        </td>
                        <th style="width:10%">REGON</th>
                        <td style="width:25%">
                          <xsl:value-of select="inst:REGON"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Telefon</th>
                        <td>
                          <xsl:value-of select="../wnio:Adres/adr:Telefon"/>
                        </td>
                        <th>E-mail</th>
                        <td>
                          <xsl:value-of select="../wnio:Adres/adr:Email"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                  <xsl:for-each select="wnio:Adres">
                    <table>
                      <tr>
                        <th colspan="6">
                          <h4>
                                                    D.3. ADRES NIERUCHOMOŚCI, NA KTÓREJ POWSTAJĄ ODPADY KOMUNALNE
                                                </h4>
                        </th>
                      </tr>
                      <tr>
                        <th>Miejscowość</th>
                        <td>
                          <xsl:value-of select="adr:Miejscowosc"/>
                        </td>
                        <th>Kod pocztowy</th>
                        <td>
                          <xsl:value-of select="adr:KodPocztowy"/>
                        </td>
                        <th>Poczta</th>
                        <td>
                          <xsl:value-of select="adr:Poczta"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Ulica</th>
                        <td>
                          <xsl:value-of select="adr:Ulica"/>
                        </td>
                        <th>Nr domu</th>
                        <td>
                          <xsl:value-of select="adr:Budynek"/>
                        </td>
                        <th>Nr lokalu</th>
                        <td>
                          <xsl:value-of select="adr:Lokal"/>
                        </td>
                      </tr>
                    </table>
                  </xsl:for-each>
                  <xsl:for-each select="wnio:AdresKorespondencyjny[@wystepuje='tak']">
                    <table>
                      <tr>
                        <th colspan="6">
                          <h4>
                                                    D.4. ADRES DO KORESPONDENCJI (JEŻELI JEST INNY NIŻ W CZĘŚCI D.3.)
                                                </h4>
                        </th>
                      </tr>
                      <tr>
                        <th>Miejscowość</th>
                        <td>
                          <xsl:value-of select="adr:Miejscowosc"/>
                        </td>
                        <th>Kod pocztowy</th>
                        <td>
                          <xsl:value-of select="adr:KodPocztowy"/>
                        </td>
                        <th>Poczta</th>
                        <td>
                          <xsl:value-of select="adr:Poczta"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Ulica</th>
                        <td>
                          <xsl:value-of select="adr:Ulica"/>
                        </td>
                        <th>Nr domu</th>
                        <td>
                          <xsl:value-of select="adr:Budynek"/>
                        </td>
                        <th>Nr lokalu</th>
                        <td>
                          <xsl:value-of select="adr:Lokal"/>
                        </td>
                      </tr>
                    </table>
                  </xsl:for-each>
                </xsl:for-each>
                <h2>TREŚĆ FORMULARZA</h2>
                <xsl:for-each select="//wnio:TrescDokumentu/wnio:Wartosc">
                  <xsl:for-each select="wnio:WysokoscOplaty">
                    <table>
                      <tr>
                        <th colspan="5">
                          <h4>
                                                    E. WYSOKOŚĆ OPŁATY
                                                </h4>
                        </th>
                      </tr>
                      <xsl:for-each select="wnio:SekcjaE1">
                        <tr>
                          <th colspan="5">
                            <h4>
                                                        E.1. Dotyczy właścicieli nieruchomości, na których zamieszkują
                                                        mieszkańcy
                                                    </h4>
                          </th>
                        </tr>
                        <xsl:for-each select="wnio:Wiersz">
                          <tr>
                            <th colspan="4">
                              <xsl:value-of select="wnio:Opis"/>
                            </th>
                            <td>
                              <xsl:if test="wnio:LiczbaOsob">
                                <xsl:value-of select="wnio:LiczbaOsob"/>
                              </xsl:if>
                              <xsl:if test="wnio:Wartosc">
                                <xsl:choose>
                                  <xsl:when test="wnio:Wartosc='1'">
                                    <input type="checkbox" checked="checked" disabled="disabled"/>
                                  </xsl:when>
                                  <xsl:otherwise>
                                    <input type="checkbox" disabled="disabled"/>
                                  </xsl:otherwise>
                                </xsl:choose>
                              </xsl:if>
                            </td>
                          </tr>
                        </xsl:for-each>
                        <xsl:for-each select="wnio:ObliczenieMiesiecznejOplaty">
                          <tr>
                            <th colspan="5">
                              <xsl:value-of select="wnio:Opis"/>
                            </th>
                          </tr>
                          <tr>
                            <th>
                                                        liczba mieszkańców
                                                    </th>
                            <th/>
                            <th>
                                                        stawka opłaty
                                                    </th>
                            <th/>
                            <th>
                                                        wysokość opłaty
                                                    </th>
                          </tr>
                          <tr>
                            <td>
                              <xsl:value-of select="wnio:LiczbaMieszkancow"/>
                            </td>
                            <th style="text-align: center;">
                                                        X
                                                    </th>
                            <td>
                              <xsl:value-of select="format-number(wnio:Stawka, '0.00')"/>
                            </td>
                            <th style="text-align: center;">
                                                        =
                                                    </th>
                            <td>
                              <xsl:value-of select="format-number(wnio:WysokoscOplaty, '0.00')"/>
                            </td>
                          </tr>
                        </xsl:for-each>
                      </xsl:for-each>
                    </table>
                    <xsl:for-each select="wnio:SekcjaE2">
                      <table>
                        <tr>
                          <th colspan="7">
                            <h4>
                                                        E.2. Dotyczy właścicieli nieruchomości, na których nie zamieszkują
                                                        mieszkańcy, a na
                                                        terenie których powstają odpady komunalne, w szczególności
                                                        nieruchomości
                                                        wykorzystywane do prowadzenia działalności gospodarczej
                                                    </h4>
                            <i>
                                                        np.: budynki użyteczności publicznej, placówki oświatowe, lokale
                                                        handlowe,
                                                        gastronomiczne, zakłady rzemieślnicze, usługowe i produkcyjne,
                                                        hotele, szpitale,
                                                        akademiki, internaty, targowiska, itp.
                                                    </i>
                          </th>
                        </tr>
                        <tr>
                          <th colspan="7">
                            <b>
                                                        E.2.1. Obliczenie opłaty miesięcznej dla nieruchomości, na której
                                                        nie zamieszkują
                                                        mieszkańcy, a na terenie której powstają odpady komunalne wskazanej
                                                        w części D.3.
                                                        niniejszej deklaracji:
                                                    </b>
                          </th>
                        </tr>
                        <tr>
                          <th>
                            <b>
                                                        Rodzaje pojemników
                                                    </b>
                          </th>
                          <th>
                            <b>
                                                        Sposób gromadzenia
                                                    </b>
                          </th>
                          <th>
                            <b>
                                                        Ilość pojemników
                                                    </b>
                          </th>
                          <th/>
                          <th>
                            <b>
                                                        Stawka opłaty
                                                    </b>
                          </th>
                          <th/>
                          <th>
                            <b>
                                                        Razem
                                                    </b>
                          </th>
                        </tr>
                        <xsl:for-each select="wnio:Wiersz">
                          <tr>
                            <th rowspan="2">
                              <xsl:value-of select="wnio:Rodzaj"/>
                            </th>
                            <th>
                                                        selektywnie
                                                    </th>
                            <td>
                              <xsl:value-of select="wnio:IloscSelektywne"/>
                            </td>
                            <th style="text-align: center;">
                                                        X
                                                    </th>
                            <td>
                              <xsl:value-of select="format-number(wnio:StawkaSelektywne, '0.00')"/>
                            </td>
                            <th style="text-align: center;">
                                                        =
                                                    </th>
                            <td>
                              <xsl:value-of select="format-number(wnio:RazemSelektywne, '0.00')"/>
                            </td>
                          </tr>
                          <tr>
                            <th>
                                                        nieselektywnie
                                                    </th>
                            <td>
                              <xsl:value-of select="wnio:IloscNieselektywne"/>
                            </td>
                            <th style="text-align: center;">
                                                        X
                                                    </th>
                            <td>
                              <xsl:value-of select="format-number(wnio:StawkaNieselektywne, '0.00')"/>
                            </td>
                            <th style="text-align: center;">
                                                        =
                                                    </th>
                            <td>
                              <xsl:value-of select="format-number(wnio:RazemNieselektywne, '0.00')"/>
                            </td>
                          </tr>
                        </xsl:for-each>
                        <tr>
                          <th colspan="6" style="text-align: right;">
                            <b>
                                                        Razem
                                                    </b>
                          </th>
                          <td>
                            <xsl:value-of select="format-number(wnio:Razem, '0.00')"/>
                          </td>
                        </tr>
                      </table>
                    </xsl:for-each>
                    <xsl:for-each select="wnio:SekcjaE3">
                      <table>
                        <tr>
                          <th colspan="2">
                            <h4>
                                                        E.3. Dotyczy właścicieli nieruchomości, na których częściowo
                                                        zamieszkują mieszkańcy,
                                                        a częściowo na których nie zamieszkują mieszkańcy, a na terenie
                                                        których powstają
                                                        odpady komunalne.
                                                    </h4>
                          </th>
                        </tr>
                        <tr>
                          <th>
                            <xsl:value-of select="wnio:Deklaracja"/>
                          </th>
                          <td>
                            <xsl:choose>
                              <xsl:when test="wnio:Wartosc='1'">
                                <input type="checkbox" checked="checked" disabled="disabled"/>
                              </xsl:when>
                              <xsl:otherwise>
                                <input type="checkbox" disabled="disabled"/>
                              </xsl:otherwise>
                            </xsl:choose>
                          </td>
                        </tr>
                        <xsl:if test="wnio:Wartosc='1'">
                          <tr>
                            <th>
                                                        E.3.2. Wysokość opłaty miesięcznej dla nieruchomości, na której nie
                                                        zamieszkują
                                                        mieszkańcy część E.1.6.)
                                                    </th>
                            <td>
                              <xsl:value-of select="format-number(../wnio:SekcjaE1/wnio:ObliczenieMiesiecznejOplaty/wnio:WysokoscOplaty, '0.00')"/>
                            </td>
                          </tr>
                          <tr>
                            <th>
                                                        E.3.3. Wysokość opłaty miesięcznej dla nieruchomości, na której nie
                                                        zamieszkują
                                                        mieszkańcy, a na terenie której powstają odpady komunalne. (część
                                                        E.2.1.)
                                                    </th>
                            <td>
                              <xsl:value-of select="format-number(../wnio:SekcjaE2/wnio:Razem, '0.00')"/>
                            </td>
                          </tr>
                          <tr>
                            <th style="text-align: right;">
                              <b>
                                                            Razem
                                                        </b>
                            </th>
                            <td>
                              <xsl:value-of select="format-number(wnio:Razem, '0.00')"/>
                            </td>
                          </tr>
                        </xsl:if>
                      </table>
                    </xsl:for-each>
                  </xsl:for-each>
                </xsl:for-each>
                <h2>STOPKA</h2>
                <xsl:if test="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Podmiot/wnio:Kontakt/@rodzaj!=''">
                  <table>
                    <tr>
                      <th colspan="4">
                        <h4>Wyrażam zgodę na kontakt:</h4>
                      </th>
                    </tr>
                    <xsl:for-each select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Podmiot/wnio:Kontakt">
                      <tr>
                        <td style="width:40%">
                          <xsl:value-of select="./@rodzaj"/>
                        </td>
                        <td style="width:40%">
                          <xsl:value-of select="wnio:Telefoniczny[../@rodzaj='telefoniczny']"/>
                          <xsl:value-of select="wnio:Email[../@rodzaj='email']"/>
                        </td>
                      </tr>
                    </xsl:for-each>
                  </table>
                </xsl:if>
                <table>
                  <tr>
                    <th colspan="2">
                      <h4>
                                            F. OŚWIADCZENIE I PODPIS SKŁADAJĄCEGO DEKLARACJĘ
                                        </h4>
                    </th>
                  </tr>
                  <tr>
                    <th>Imię</th>
                    <td>
                      <xsl:value-of select="oso:Imie"/>
                    </td>
                  </tr>
                  <tr>
                    <th>Nazwisko</th>
                    <td>
                      <xsl:value-of select="oso:Nazwisko"/>
                    </td>
                  </tr>
                  <tr>
                    <th>Data wypełnienia deklaracji</th>
                    <td>
                      <xsl:value-of select="wnio:DataWypelnienia"/>
                    </td>
                  </tr>
                </table>
                <xsl:for-each select="wnio:Pouczenie">
                  <table>
                    <tr>
                      <th style="text-align: center;">
                        <h4>
                                                POUCZENIE
                                            </h4>
                      </th>
                    </tr>
                    <tr>
                      <th>
                        <ol>
                          <xsl:for-each select="wnio:Punkt">
                            <li>
                              <xsl:value-of select="."/>
                            </li>
                          </xsl:for-each>
                        </ol>
                      </th>
                    </tr>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:Objasnienia">
                  <table>
                    <tr>
                      <th style="text-align: center;">
                        <h4>
                                                OBJAŚNIENIA
                                            </h4>
                      </th>
                    </tr>
                    <tr>
                      <th>
                        <ol>
                          <xsl:for-each select="wnio:Punkt">
                            <li>
                              <xsl:value-of select="wnio:Tresc"/>
                              <ol type="a">
                                <xsl:for-each select="wnio:Czesc">
                                  <li>
                                    <xsl:value-of select="wnio:Tresc"/>
                                    <ul type="circle">
                                      <xsl:for-each select="wnio:PodPunkt">
                                        <li>
                                          <xsl:value-of select="."/>
                                        </li>
                                      </xsl:for-each>
                                    </ul>
                                  </li>
                                </xsl:for-each>
                              </ol>
                              <ul type="circle">
                                <xsl:for-each select="wnio:PodPunkt">
                                  <li>
                                    <xsl:value-of select="."/>
                                  </li>
                                </xsl:for-each>
                              </ul>
                            </li>
                            <xsl:value-of select="wnio:Informacja"/>
                          </xsl:for-each>
                        </ol>
                      </th>
                    </tr>
                  </table>
                </xsl:for-each>
              </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>