1495

ID1495
Data2014-02-03
Symbol2014/02/03/1495
InstytucjaMinisterstwo Infrastruktury i Rozwoju
NazwaWniosek o wydanie prawa jazdy
Czy Aktualny0

Ustawy (1)

  • URI://Dziennik_Ustaw/2011/30/151/20/1/2
  • Ustawa z dnia 5 stycznia 2011 r. o kierujących pojazdami

    Pliki

    Styl

    <?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:p="http://crd.gov.pl/wzor/2014/02/03/1495/" version="1.0">
    
      <xsl:variable name="readonly" select="1"/>
      
      <xsl:template match="/">
        <xsl:apply-templates select="/p:Dokument/p:TrescDokumentu/p:podpisanyWniosek/p:wniosek"/>
      </xsl:template>
    
      <xsl:template match="/p:Dokument/p:TrescDokumentu/p:podpisanyWniosek/p:wniosek">
    
        <html>
          <head>
            <title>Wniosek</title>
            <style type="text/css">
              *
              {
                font-family: Verdana;
                font-size: 12px;
              }
              sup
              {
                font-size: 10px;
              }
              .przypis
              {
                font-size: 8px;
              }
              #tabela
              {
                border-collapse: collapse;
                border: 1px solid black;
              }
              #tabela td
              {
                border: 1px solid black;
              }
            </style>
          </head>
          <body>
    
            <p>
              <table border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td valign="top">
                    <div style="border-style: solid; border-width: 1px; padding: 3px;">
                      1. Kod terytorialny<sup>1)</sup><br/>
                      <xsl:call-template name="textbox">
                        <xsl:with-param name="name">kodTer</xsl:with-param>
                        <xsl:with-param name="value">
                          <xsl:value-of select="p:naglowek/p:ramka/p:kodTer"/>
                        </xsl:with-param>
                        <xsl:with-param name="size">23</xsl:with-param>
                      </xsl:call-template>
                      <br/><br/>
                      
                      2. Data przyjęcia wniosku<br/>
                      <xsl:call-template name="textbox">
                        <xsl:with-param name="name">dataPrzyj</xsl:with-param>
                        <xsl:with-param name="value">
                          <xsl:value-of select="p:naglowek/p:ramka/p:dataPrzyj"/>
                        </xsl:with-param>
                        <xsl:with-param name="size">23</xsl:with-param>
                      </xsl:call-template>
                      <br/><br/>
    
                      3. Numer w rejestrze<br/>
                      <xsl:call-template name="textbox">
                        <xsl:with-param name="name">nrWRej</xsl:with-param>
                        <xsl:with-param name="value">
                          <xsl:value-of select="p:naglowek/p:ramka/p:nrWRej"/>
                        </xsl:with-param>
                        <xsl:with-param name="size">23</xsl:with-param>
                      </xsl:call-template>
                      <br/><br/>
    
                      4. Numer karty kierowcy<br/>
                      <xsl:call-template name="textbox">
                        <xsl:with-param name="name">nrKartyKier</xsl:with-param>
                        <xsl:with-param name="value">
                          <xsl:value-of select="p:naglowek/p:ramka/p:nrKartyKier"/>
                        </xsl:with-param>
                        <xsl:with-param name="size">23</xsl:with-param>
                      </xsl:call-template>
                      <br/>
    
                    </div>
                  </td>
                  <td valign="middle">
                    <div>
                      <table border="0" width="600" cellspacing="0" cellpadding="5">
                        <tr>
                          <td valign="middle">
                            Nazwa organu wydającego
                          </td>
                          <td align="right" valign="top">
                            <table>
                              <tr>
                                <td align="center">
                                  <xsl:call-template name="textbox">
                                    <xsl:with-param name="name">miejWn</xsl:with-param>
                                    <xsl:with-param name="value">
                                      <xsl:value-of select="p:naglowek/p:miejWn"/>
                                    </xsl:with-param>
                                  </xsl:call-template>,<br/>
                                  <div class="przypis">miejscowość</div>
                                </td>
                                <td align="center">
                                  dnia
                                  <xsl:call-template name="textbox">
                                    <xsl:with-param name="name">dataWn</xsl:with-param>
                                    <xsl:with-param name="value">
                                      <xsl:value-of select="p:naglowek/p:dataWn"/>
                                    </xsl:with-param>
                                  </xsl:call-template>
                                  <br/>
                                  <div class="przypis">dzień-miesiąc-rok</div>
                                </td>
                              </tr>
                            </table>
                          </td>
                        </tr>
                        <tr>
                          <td colspan="2" valign="top">
                            <xsl:call-template name="textbox">
                              <xsl:with-param name="name">nazwaOrg</xsl:with-param>
                              <xsl:with-param name="value">
                                <xsl:value-of select="p:naglowek/p:daneOrganu/p:nazwaOrg"/>
                              </xsl:with-param>
                              <xsl:with-param name="size">80</xsl:with-param>
                            </xsl:call-template>
                            <br/><br/>
    
                            Ulica
                            <xsl:call-template name="textbox">
                              <xsl:with-param name="name">dataWn</xsl:with-param>
                              <xsl:with-param name="value">
                                <xsl:value-of select="p:naglowek/p:daneOrganu/p:ulOrg"/>
                              </xsl:with-param>
                            </xsl:call-template>
                            
                            Nr budynku
                            <xsl:call-template name="textbox">
                              <xsl:with-param name="name">dataWn</xsl:with-param>
                              <xsl:with-param name="value">
                                <xsl:value-of select="p:naglowek/p:daneOrganu/p:nrBudOrg"/>
                              </xsl:with-param>
                            </xsl:call-template>                        
                            
                            <br/><br/>
    
                            Kod pocztowy
                            <xsl:call-template name="textbox">
                              <xsl:with-param name="name">dataWn</xsl:with-param>
                              <xsl:with-param name="value">
                                <xsl:value-of select="p:naglowek/p:daneOrganu/p:kodOrg"/>
                              </xsl:with-param>
                            </xsl:call-template>
    
                            Miejscowość
                            <xsl:call-template name="textbox">
                              <xsl:with-param name="name">dataWn</xsl:with-param>
                              <xsl:with-param name="value">
                                <xsl:value-of select="p:naglowek/p:daneOrganu/p:miejscOrg"/>
                              </xsl:with-param>
                            </xsl:call-template>
                          </td>
                        </tr>
                      </table>
                    </div>
                  </td>
                </tr>
              </table>
            </p>
    
            <p align="center">
              <b>
                WNIOSEK
              </b>
            </p>
    
            <xsl:apply-templates select="p:danePersonalne"/>
            <xsl:apply-templates select="p:wydanyDokument"/>
    
            <xsl:choose>
              <xsl:when test="p:prawoJazdyPozwolenie">
                <xsl:apply-templates select="p:prawoJazdyPozwolenie"/>
              </xsl:when>
              <xsl:otherwise>
                <xsl:call-template name="prawoJazdyPozwolenie"/>
              </xsl:otherwise>
            </xsl:choose>
    
            <xsl:choose>
              <xsl:when test="p:potwierdzenieKwalifikacji">
                <xsl:apply-templates select="p:potwierdzenieKwalifikacji"/>
              </xsl:when>
              <xsl:otherwise>
                <xsl:call-template name="potwierdzenieKwalifikacji"/>
              </xsl:otherwise>
            </xsl:choose>
    
            <xsl:choose>
              <xsl:when test="p:wydanieWtornika">
                <xsl:apply-templates select="p:wydanieWtornika"/>
              </xsl:when>
              <xsl:otherwise>
                <xsl:call-template name="wydanieWtornika"/>
              </xsl:otherwise>
            </xsl:choose>
            
            <xsl:apply-templates select="p:sposobPrzekazania"/>
            <xsl:apply-templates select="p:oswiadczenie"/>
    
            <xsl:choose>
              <xsl:when test="p:decyzja">
                <xsl:apply-templates select="p:decyzja"/>
              </xsl:when>
              <xsl:otherwise>
                <xsl:call-template name="decyzja"/>
              </xsl:otherwise>
            </xsl:choose>
    
          </body>
        </html>
    
      </xsl:template>
    
      <xsl:template name="danePersonalne" match="p:danePersonalne">
    
        <p>
          <b>A. DANE</b>
    
          <table border="0" width="100%">
            <tr>
              <td>1.</td>
              <td>
                Nr PESEL/Data urodzenia<sup>2)</sup>
              </td>
              <td>
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">pesel</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:choose>
                      <xsl:when test="p:pesel">
                        <xsl:value-of select="p:pesel"/>
                      </xsl:when>
                      <xsl:otherwise>
                        <xsl:value-of select="p:dataUrodzenia"/>
                      </xsl:otherwise>
                    </xsl:choose>
                  </xsl:with-param>
                </xsl:call-template>
              </td>
              <td class="przypis">
                Datę urodzenia wpisują tylko <br/> osoby nieposiadające numeru PESEL
              </td>
            </tr>
    
            <tr>
              <td>
                2.
              </td>
              <td>
                Nazwisko 1 człon
              </td>
              <td colspan="2">
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">nazwisko1</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:value-of select="p:nazwisko1"/>
                  </xsl:with-param>
                </xsl:call-template>
              </td>
            </tr>
    
            <tr>
              <td>
                3.
              </td>
              <td>
                Nazwisko 2 człon
              </td>
              <td colspan="2">
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">nazwisko2</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:value-of select="p:nazwisko2"/>
                  </xsl:with-param>
                </xsl:call-template>
              </td>
            </tr>
    
            <tr>
              <td>
                4.
              </td>
              <td>
                Imię (imiona)
              </td>
              <td colspan="2">
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">imiona</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:value-of select="p:imiona"/>
                  </xsl:with-param>
                </xsl:call-template>
              </td>
            </tr>
    
            <tr>
              <td>
                5.
              </td>
              <td>
                Miejsce urodzenia
              </td>
              <td colspan="2">
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">miejsceUrodzenia</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:value-of select="p:miejsceUrodzenia"/>
                  </xsl:with-param>
                </xsl:call-template>
              </td>
            </tr>
    
            <tr>
              <td>
                6.
              </td>
              <td>
                Adres zamieszkania
              </td>
              <td>
                Kod pocztowy
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">kodPocztowy</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:value-of select="p:kodPocztowy"/>
                  </xsl:with-param>
                </xsl:call-template>
              </td>
              <td>
                7. Obywatelstwo
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">obywatelstwo</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:value-of select="p:obywatelstwo"/>
                  </xsl:with-param>
                </xsl:call-template><sup>3)</sup>
              </td>
            </tr>
    
            <tr>
              <td/>
              <td>
                Miejscowość
              </td>
              <td colspan="2">
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">miejscowosc</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:value-of select="p:miejscowosc"/>
                  </xsl:with-param>
                </xsl:call-template>
              </td>
            </tr>
    
            <tr>
              <td/>
              <td>
                Ulica
              </td>
              <td colspan="2">
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">ulica</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:value-of select="p:ulica"/>
                  </xsl:with-param>
                </xsl:call-template>
              </td>
            </tr>
    
            <tr>
              <td/>
              <td>
                Nr budynku
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">numerBudynku</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:value-of select="p:numerBudynku"/>
                  </xsl:with-param>
                </xsl:call-template>
              </td>
              <td>
                Nr lokalu
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">numerLokalu</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:value-of select="p:numerLokalu"/>
                  </xsl:with-param>
                </xsl:call-template>
              </td>
              <td>
                Telefon <sup>4)</sup>
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">telefon</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:value-of select="p:telefon"/>
                  </xsl:with-param>
                </xsl:call-template>
              </td>
            </tr>
    
            <tr>
              <td/>
              <td>E-mail <sup>4)</sup></td>
              <td colspan="2">
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">e-mail</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:value-of select="p:e-mail"/>
                  </xsl:with-param>
                </xsl:call-template>
              </td>
            </tr>
    
          </table>
        </p>
    
      </xsl:template>
    
      <xsl:template name="wydanyDokument" match="p:wydanyDokument">
    
        <p>
          <table border="0">
    
            <tr>
              <td colspan="3">
                <b>B. WYDANY DOKUMENT</b> (wypełniają osoby mające jeden z niżej wymienionych dokumentów)<br/>
                Zostało mi  wydane (zaznacz właściwe kwadraty literą "X"):
              </td>
            </tr>
    
            <tr>
              <td>
                <xsl:choose>
                  <xsl:when test="p:wydanePj">
                    <input name="wydanePj" type="checkbox" disabled="true" checked="true"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <input name="wydanePj" type="checkbox" disabled="true"/>
                  </xsl:otherwise>
                </xsl:choose>
              </td>
              <td>1)</td>
              <td>
                prawo jazdy kat.
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">wydanePjKategorie</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:for-each select="p:wydanePj/p:kategorie/p:kategoria"><xsl:value-of select="."/></xsl:for-each>
                  </xsl:with-param>
                </xsl:call-template>
    
                nr
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">wydanePjNumerPj</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:value-of select="p:wydanePj/p:numerPj"/>
                  </xsl:with-param>
                </xsl:call-template>
    
                nr druku
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">wydanePjNumerDruku</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:value-of select="p:wydanePj/p:numerDruku"/>
                  </xsl:with-param>
                </xsl:call-template>
    
              </td>
            </tr>
    
            <tr>
              <td/>
              <td/>
              <td>
                data wydania
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">wydanePjDataWydania</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:value-of select="p:wydanePj/p:dataWydania"/>
                  </xsl:with-param>
                </xsl:call-template>
    
                organ wydający
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">wydanePjOrganWydajacy</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:value-of select="p:wydanePj/p:organWydajacy"/>
                  </xsl:with-param>
                  <xsl:with-param name="size">30</xsl:with-param>
                </xsl:call-template>
              </td>
            </tr>
            <tr>
              <td>
                <xsl:choose>
                  <xsl:when test="p:wydanePt">
                    <input name="wydanePt" type="checkbox" disabled="true" checked="true"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <input name="wydanePt" type="checkbox" disabled="true"/>
                  </xsl:otherwise>
                </xsl:choose>
              </td>
              <td>2)</td>
              <td>
                pozwolenie do kierowania tramwajem
                nr
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">wydanePtNumerPt</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:value-of select="p:wydanePt/p:numerPt"/>
                  </xsl:with-param>
                </xsl:call-template>
    
                nr druku
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">wydanePtNumerDruku</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:value-of select="p:wydanePt/p:numerDruku"/>
                  </xsl:with-param>
                </xsl:call-template>
    
              </td>
            </tr>
    
            <tr>
              <td/>
              <td/>
              <td>
                data wydania
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">wydanePtDataWydania</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:value-of select="p:wydanePt/p:dataWydania"/>
                  </xsl:with-param>
                </xsl:call-template>
    
                organ wydający
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">wydanePtOrganWydajacy</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:value-of select="p:wydanePt/p:organWydajacy"/>
                  </xsl:with-param>
                  <xsl:with-param name="size">30</xsl:with-param>
                </xsl:call-template>
              </td>
            </tr>
          </table>
        </p>
    
      </xsl:template>
    
      <xsl:template name="prawoJazdyPozwolenie" match="p:prawoJazdyPozwolenie">
    
    		<p>
              <table border="0" style="border-style: solid; border-width: 1px; border-color: black;">
                <tr>
                  <td valign="top">
                    <b>
                      <i>Osoby ubiegające się o:</i>
                    </b>
                  </td>
                  <td valign="top">
                    - prawo jazdy / pozwolenie wypełniają część C, F, G<br/>
                    - potwierdzenie posiadania świadectwa kwalifikacji zawodowej wypełniają część D, F, G<br/>
                    - wydanie wtórnika prawa jazdy/pozwolenia wypełniają część E, F, G.
                  </td>
                </tr>
              </table>
            </p>
    
    
        <p>
          <b>C. PRAWO JAZDY - POZWOLENIE NA KIEROWANIA TRAMWAJEM</b>
          <br/>
          <table border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td colspan="2">
                <table border="0">
                  <tr>
                    <td colspan="3">
                      1. Ubiegam się o (zaznaczyć właściwe literą "X"):<br/>
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
    
            <tr>
              <td>
    
                <table border="0">
    
                  <tr>
                    <xsl:choose>
                      <xsl:when test="p:sprawa='wydaniePJ'">
                        <td>
                          <input name="wydaniePj" type="checkbox" checked="true" disabled="true"/>
                        </td>
                        <td>
                          a)
                        </td>
                        <td>
                          wydanie prawa jazdy/<s>pozwolenia</s><sup>2)</sup>
                        </td>
                      </xsl:when>
                      <xsl:when test="p:sprawa='wydaniePT'">
                        <td>
                          <input name="wydaniePt" type="checkbox" checked="true" disabled="true"/>
                        </td>
                        <td>
                          a)
                        </td>
                        <td>
                          wydanie <s>prawa jazdy</s>/pozwolenia<sup>2)</sup>
                        </td>
                      </xsl:when>
                      <xsl:otherwise>
                        <td>
                          <input name="wydaniePj" type="checkbox" disabled="true"/>
                        </td>
                        <td>
                          a)
                        </td>
                        <td>
                          wydanie prawa jazdy/pozwolenia<sup>2)</sup>
                        </td>
                      </xsl:otherwise>
                    </xsl:choose>
                  </tr>
    
                  <tr>
                    <xsl:choose>
                      <xsl:when test="p:sprawa='zwrotPj'">
                        <td>
                          <input name="zwrotPj" type="checkbox" checked="true" disabled="true"/>
                        </td>
                        <td>
                          b)
                        </td>
                        <td>
                          zwrot zatrzymanego prawa jazdy/<s>pozwolenia</s><sup>2)</sup>
                        </td>
                      </xsl:when>
                      <xsl:when test="p:sprawa='zwrotPt'">
                        <td>
                          <input name="zwrotPt" type="checkbox" checked="true" disabled="true"/>
                        </td>
                        <td>
                          b)
                        </td>
                        <td>
                          zwrot zatrzymanego <s>prawa jazdy</s>/pozwolenia<sup>2)</sup>
                        </td>
                      </xsl:when>
                      <xsl:otherwise>
                        <td>
                          <input name="zwrotPj" type="checkbox" disabled="true"/>
                        </td>
                        <td>
                          b)
                        </td>
                        <td>
                          zwrot zatrzymanego prawa jazdy/pozwolenia<sup>2)</sup>
                        </td>
                      </xsl:otherwise>
                    </xsl:choose>
                  </tr>
    
                  <tr>
                    <td>
                      <xsl:choose>
                        <xsl:when test="p:sprawa='przywrocenieCofnietego'">
                          <input name="przywrocenieCofnietego" type="checkbox" checked="true" disabled="true"/>
                        </xsl:when>
                        <xsl:otherwise>
                          <input name="przywrocenieCofnietego" type="checkbox" disabled="true"/>
                        </xsl:otherwise>
                      </xsl:choose>
                    </td>
                    <td>
                      c)
                    </td>
                    <td>
                      przywrócenie cofniętego uprawnienia
                    </td>
                  </tr>
    
                  <tr>
                    <td>
                      <xsl:choose>
                        <xsl:when test="p:sprawa='wymianaDok'">
                          <input name="wymianaDok" type="checkbox" checked="true" disabled="true"/>
                        </xsl:when>
                        <xsl:otherwise>
                          <input name="wymianaDok" type="checkbox" disabled="true"/>
                        </xsl:otherwise>
                      </xsl:choose>
                    </td>
                    <td>
                      d)
                    </td>
                    <td>
                      wymianę dokumentu zaznaczonego w części B
                    </td>
                  </tr>
    
                  <tr>
                    <td>
                      <xsl:choose>
                        <xsl:when test="p:sprawa='wymianaDokumentuWojskowego'">
                          <input name="wymianaDokumentuWojskowego" type="checkbox" checked="true" disabled="true"/>
                        </xsl:when>
                        <xsl:otherwise>
                          <input name="wymianaDokumentuWojskowego" type="checkbox" disabled="true"/>
                        </xsl:otherwise>
                      </xsl:choose>
                    </td>
                    <td>
                      e)
                    </td>
                    <td>
                      wymianę wojskowego dokumentu stwierdzającego uprawnienie do kierowania pojazdem<br/>
                    </td>
                  </tr>
    
                  <tr>
                    <td>
                      <xsl:choose>
                        <xsl:when test="p:sprawa='wydanieMpj'">
                          <input name="wydanieMpj" type="checkbox" checked="true" disabled="true"/>
                        </xsl:when>
                        <xsl:otherwise>
                          <input name="wydanieMpj" type="checkbox" disabled="true"/>
                        </xsl:otherwise>
                      </xsl:choose>
                    </td>
                    <td>
                      f)
                    </td>
                    <td>
                      wydanie międzynarodowego prawa jazdy
                    </td>
                  </tr>
    
                  <tr>
                    <td>
                      <xsl:choose>
                        <xsl:when test="p:sprawa='wymianaZagranicznegoPj'">
                          <input name="wymianaZagranicznegoPj" type="checkbox" checked="true" disabled="true"/>
                        </xsl:when>
                        <xsl:otherwise>
                          <input name="wymianaZagranicznegoPj" type="checkbox" disabled="true"/>
                        </xsl:otherwise>
                      </xsl:choose>
                    </td>
                    <td>
                      g)
                    </td>
                    <td>
                      wymianę prawa jazdy wydanego za granicą bez sprawdzania kwalifikacji
                    </td>
                  </tr>
    
                  <tr>
                    <td>
                      <xsl:choose>
                        <xsl:when test="p:sprawa='wydaniePjZaGranice'">
                          <input name="wydaniePjZaGranice" type="checkbox" checked="true" disabled="true"/>
                        </xsl:when>
                        <xsl:otherwise>
                          <input name="wydaniePjZaGranice" type="checkbox" disabled="true"/>
                        </xsl:otherwise>
                      </xsl:choose>
                    </td>
                    <td>
                      h)
                    </td>
                    <td>
                      wydanie prawa jazdy przed upływem okresu orzeczonej kary zakazu prowadzenia pojazdów, za pośrednictwem
                      jednostki, która je wydała za granicą (dotyczy osób zamieszkałych poza granicą RP)
                    </td>
                  </tr>
    
                </table>
              </td>
    
              <td valign="top">
                <table border="0">
                  <tr>
                    <td>AM</td>
                    <td>
                      <xsl:choose>
                        <xsl:when test="p:kategorie/p:kategoria='AM'">
                          <input name="kategoria_AM" type="checkbox" checked="true" disabled="true"/>
                        </xsl:when>
                        <xsl:otherwise>
                          <input name="kategoria_AM" type="checkbox" disabled="true"/>
                        </xsl:otherwise>
                      </xsl:choose>
                    </td>
                    <td>T</td>
                    <td>
                      <xsl:choose>
                        <xsl:when test="p:kategorie/p:kategoria='T'">
                          <input name="kategoria_T" type="checkbox" checked="true" disabled="true"/>
                        </xsl:when>
                        <xsl:otherwise>
                          <input name="kategoria_T" type="checkbox" disabled="true"/>
                        </xsl:otherwise>
                      </xsl:choose>
                    </td>
                  </tr>
                  <tr>
                    <td>A1</td>
                    <td>
                      <xsl:choose>
                        <xsl:when test="p:kategorie/p:kategoria='A1'">
                          <input name="kategoria_A1" type="checkbox" checked="true" disabled="true"/>
                        </xsl:when>
                        <xsl:otherwise>
                          <input name="kategoria_A1" type="checkbox" disabled="true"/>
                        </xsl:otherwise>
                      </xsl:choose>
                    </td>
                    <td>D</td>
                    <td>
                      <xsl:choose>
                        <xsl:when test="p:kategorie/p:kategoria='D'">
                          <input name="kategoria_D" type="checkbox" checked="true" disabled="true"/>
                        </xsl:when>
                        <xsl:otherwise>
                          <input name="kategoria_D" type="checkbox" disabled="true"/>
                        </xsl:otherwise>
                      </xsl:choose>
                    </td>
                  </tr>
                  <tr>
                    <td>A2</td>
                    <td>
                      <xsl:choose>
                        <xsl:when test="p:kategorie/p:kategoria='A2'">
                          <input name="kategoria_A2" type="checkbox" checked="true" disabled="true"/>
                        </xsl:when>
                        <xsl:otherwise>
                          <input name="kategoria_A2" type="checkbox" disabled="true"/>
                        </xsl:otherwise>
                      </xsl:choose>
                    </td>
                    <td>D1</td>
                    <td>
                      <xsl:choose>
                        <xsl:when test="p:kategorie/p:kategoria='D1'">
                          <input name="kategoria_D1" type="checkbox" checked="true" disabled="true"/>
                        </xsl:when>
                        <xsl:otherwise>
                          <input name="kategoria_D1" type="checkbox" disabled="true"/>
                        </xsl:otherwise>
                      </xsl:choose>
                      <br/>
                    </td>
                  </tr>
                  <tr>
                    <td>A</td>
                    <td>
                      <xsl:choose>
                        <xsl:when test="p:kategorie/p:kategoria='A'">
                          <input name="kategoria_A" type="checkbox" checked="true" disabled="true"/>
                        </xsl:when>
                        <xsl:otherwise>
                          <input name="kategoria_A" type="checkbox" disabled="true"/>
                        </xsl:otherwise>
                      </xsl:choose>
                    </td>
                    <td>BE</td>
                    <td>
                      <xsl:choose>
                        <xsl:when test="p:kategorie/p:kategoria='B+E'">
                          <input name="kategoria_BE" type="checkbox" checked="true" disabled="true"/>
                        </xsl:when>
                        <xsl:otherwise>
                          <input name="kategoria_BE" type="checkbox" disabled="true"/>
                        </xsl:otherwise>
                      </xsl:choose>
                    </td>
                  </tr>
                  <tr>
                    <td>B</td>
                    <td>
                      <xsl:choose>
                        <xsl:when test="p:kategorie/p:kategoria='B'">
                          <input name="kategoria_B" type="checkbox" checked="true" disabled="true"/>
                        </xsl:when>
                        <xsl:otherwise>
                          <input name="kategoria_B" type="checkbox" disabled="true"/>
                        </xsl:otherwise>
                      </xsl:choose>
                    </td>
                    <td>DE</td>
                    <td>
                      <xsl:choose>
                        <xsl:when test="p:kategorie/p:kategoria='D+E'">
                          <input name="kategoria_DE" type="checkbox" checked="true" disabled="true"/>
                        </xsl:when>
                        <xsl:otherwise>
                          <input name="kategoria_DE" type="checkbox" disabled="true"/>
                        </xsl:otherwise>
                      </xsl:choose>
                    </td>
                  </tr>
                  <tr>
                    <td>B1</td>
                    <td>
                      <xsl:choose>
                        <xsl:when test="p:kategorie/p:kategoria='B1'">
                          <input name="kategoria_B1" type="checkbox" checked="true" disabled="true"/>
                        </xsl:when>
                        <xsl:otherwise>
                          <input name="kategoria_B1" type="checkbox" disabled="true"/>
                        </xsl:otherwise>
                      </xsl:choose>
                    </td>
                    <td>D1E</td>
                    <td>
                      <xsl:choose>
                        <xsl:when test="p:kategorie/p:kategoria='D1+E'">
                          <input name="kategoria_D1E" type="checkbox" checked="true" disabled="true"/>
                        </xsl:when>
                        <xsl:otherwise>
                          <input name="kategoria_D1E" type="checkbox" disabled="true"/>
                        </xsl:otherwise>
                      </xsl:choose>
                    </td>
                  </tr>
                  <tr>
                    <td>C</td>
                    <td>
                      <xsl:choose>
                        <xsl:when test="p:kategorie/p:kategoria='C'">
                          <input name="kategoria_C" type="checkbox" checked="true" disabled="true"/>
                        </xsl:when>
                        <xsl:otherwise>
                          <input name="kategoria_C" type="checkbox" disabled="true"/>
                        </xsl:otherwise>
                      </xsl:choose>
                    </td>
                    <td>CE</td>
                    <td>
                      <xsl:choose>
                        <xsl:when test="p:kategorie/p:kategoria='C+E'">
                          <input name="kategoria_CE" type="checkbox" checked="true" disabled="true"/>
                        </xsl:when>
                        <xsl:otherwise>
                          <input name="kategoria_CE" type="checkbox" disabled="true"/>
                        </xsl:otherwise>
                      </xsl:choose>
                    </td>
                  </tr>
                  <tr>
                    <td>C1</td>
                    <td>
                      <xsl:choose>
                        <xsl:when test="p:kategorie/p:kategoria='C1'">
                          <input name="kategoria_C1" type="checkbox" checked="true" disabled="true"/>
                        </xsl:when>
                        <xsl:otherwise>
                          <input name="kategoria_C1" type="checkbox" disabled="true"/>
                        </xsl:otherwise>
                      </xsl:choose>
                    </td>
                    <td>C1E</td>
                    <td>
                      <xsl:choose>
                        <xsl:when test="p:kategorie/p:kategoria='C1+E'">
                          <input name="kategoria_C1E" type="checkbox" checked="true" disabled="true"/>
                        </xsl:when>
                        <xsl:otherwise>
                          <input name="kategoria_C1E" type="checkbox" disabled="true"/>
                        </xsl:otherwise>
                      </xsl:choose>
                    </td>
                  </tr>
                </table>
              </td>
    
            </tr>
          </table>
        </p>
    
        <p>
          <table>
            <tr>
              <td colspan="3">
                2. Składam następujące załączniki (zaznaczyć właściwe literą "X"):
              </td>
            </tr>
    
            <tr>
              <td valign="top">
                <xsl:choose>
                  <xsl:when test="p:fotografia">
                    <input name="fotografia" type="checkbox" checked="true" disabled="true"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <input name="fotografia" type="checkbox" disabled="true"/>
                  </xsl:otherwise>
                </xsl:choose>
              </td>
              <td>
                a)
              </td>
              <td>
                wyraźną, aktualną i kolorową fotografię o wymiarach 3,5 x 4,5 cm,
              </td>
            </tr>
    
            <tr>
              <td>
                <xsl:choose>
                  <xsl:when test="p:orzeczenieLek">
                    <input name="orzeczenieLek" type="checkbox" checked="true" disabled="true"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <input name="orzeczenieLek" type="checkbox" disabled="true"/>
                  </xsl:otherwise>
                </xsl:choose>
              </td>
              <td>
                b)
              </td>
              <td>
                orzeczenie lekarskie nr
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">orzeczenieLekNumer</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:value-of select="p:orzeczenieLek/p:numer"/>
                  </xsl:with-param>
                </xsl:call-template>
    
                z dnia
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">wydanePtDataWydania</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:value-of select="p:orzeczenieLek/p:dataWydania"/>
                  </xsl:with-param>
                </xsl:call-template>,
              </td>
            </tr>
    
            <tr>
              <td>
                <xsl:choose>
                  <xsl:when test="p:dowodWplaty">
                    <input name="dowodWplaty" type="checkbox" checked="true" disabled="true"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <input name="dowodWplaty" type="checkbox" disabled="true"/>
                  </xsl:otherwise>
                </xsl:choose>
              </td>
              <td>
                c)
              </td>
              <td>
                dowód uiszczenia opłaty za wydanie
                <xsl:choose>
                  <xsl:when test="p:sprawa='wydaniePJ'">
                    prawa jazdy/<s>pozwolenia</s>
                  </xsl:when>
                  <xsl:when test="p:sprawa='wydaniePT'">
                    <s>prawa jazdy</s>/pozwolenia
                  </xsl:when>
                  <xsl:otherwise>
                    prawa jazdy/pozwolenia
                  </xsl:otherwise>
                </xsl:choose><sup>2)</sup> w wysokości 
                
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">wydanieDowodWplatyKwota</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:value-of select="p:dowodWplaty/p:kwota"/>
                  </xsl:with-param>
                </xsl:call-template> zł,
              </td>
            </tr>
    
            <tr>
              <xsl:choose>
                <xsl:when test="p:skanPj">
                  <td>
                    <input name="skanPj" type="checkbox" checked="true" disabled="true"/>
                  </td>
                  <td>
                    d)
                  </td>
                  <td>
                    kserokopię prawa jazdy/<s>pozwolenia</s><sup>2)</sup>,
                  </td>
                </xsl:when>
                <xsl:when test="p:skanPt">
                  <td>
                    <input name="skanPt" type="checkbox" checked="true" disabled="true"/>
                  </td>
                  <td>
                    d)
                  </td>
                  <td>
                    kserokopię <s>prawa jazdy</s>/pozwolenia<sup>2)</sup>,
                  </td>
                </xsl:when>
                <xsl:otherwise>
                  <td>
                    <input name="dowodWplaty" type="checkbox" disabled="true"/>
                  </td>
                  <td>
                    d)
                  </td>
                  <td>
                    kserokopię prawa jazdy/pozwolenia<sup>2)</sup>,
                  </td>
                </xsl:otherwise>
              </xsl:choose>
            </tr>
    
            <tr>
              <td>
                <xsl:choose>
                  <xsl:when test="p:wniosekMsz">
                    <input name="wniosekMsz" type="checkbox" checked="true" disabled="true"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <input name="wniosekMsz" type="checkbox" disabled="true"/>
                  </xsl:otherwise>
                </xsl:choose>
              </td>
              <td>
                e)
              </td>
              <td>
                wniosek MSZ,
              </td>
            </tr>
    
            <tr>
              <td>
                <xsl:choose>
                  <xsl:when test="p:inny">
                    <input name="inny" type="checkbox" checked="true" disabled="true"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <input name="inny" type="checkbox" disabled="true"/>
                  </xsl:otherwise>
                </xsl:choose>
              </td>
              <td>
                f)
              </td>
              <td>
                inne
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">wydanieOpis</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:if test="not(p:powodWymiany)">
                      <xsl:for-each select="p:inny"><xsl:value-of select="p:opis"/> </xsl:for-each>
                    </xsl:if>
                  </xsl:with-param>
                  <xsl:with-param name="size">30</xsl:with-param>
                </xsl:call-template>
              </td>
            </tr>
          </table>
        </p>
    
      </xsl:template>
    
      <xsl:template name="potwierdzenieKwalifikacji" match="p:potwierdzenieKwalifikacji">
    
        <p>
          <b>D. POTWIERDZENIE KWALIFIKACJI</b>
    
          <table>
    
            <tr>
              <td colspan="3">
                Ubiegam się o potwierdzenie posiadania świadectwa kwalifikacji zawodowej i składam
                następujące załączniki:
              </td>          
            </tr>
    
            <tr>
              <td valign="top">
                <xsl:choose>
                  <xsl:when test="p:skanSwiad">
                    <input name="skanSwiad" type="checkbox" checked="true" disabled="true"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <input name="skanSwiad" type="checkbox" disabled="true"/>
                  </xsl:otherwise>
                </xsl:choose>
              </td>
              <td valign="top">
                a)
              </td>
              <td>
                kserokopię aktualnego świadectwa kwalifikacji zawodowej,
              </td>
            </tr>
    
            <tr>
              <td>
                <xsl:choose>
                  <xsl:when test="p:skanOrzeczLek">
                    <input name="skanOrzeczLek" type="checkbox" checked="true" disabled="true"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <input name="skanOrzeczLek" type="checkbox" disabled="true"/>
                  </xsl:otherwise>
                </xsl:choose>
              </td>
              <td>
                b)
              </td>
              <td>
                kserokopię orzeczenia lekarskiego o braku przeciwwskazań zdrowotnych do wykonywania pracy na
                stanowisku kierowcy,
              </td>
            </tr>
    
            <tr>
              <td>
                <xsl:choose>
                  <xsl:when test="p:skanOrzeczPsych">
                    <input name="skanOrzeczPsych" type="checkbox" checked="true" disabled="true"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <input name="skanOrzeczPsych" type="checkbox" disabled="true"/>
                  </xsl:otherwise>
                </xsl:choose>
              </td>
              <td>
                c)
              </td>
              <td>
                kserokopię orzeczenia psychologicznego o braku przeciwwskazań psychologicznych do wykonywania pracy
                na stanowisku kierowcy,
              </td>
            </tr>
    
            <tr>
              <td>
                <xsl:choose>
                  <xsl:when test="p:skanPj">
                    <input name="skanPjSwKw" type="checkbox" checked="true" disabled="true"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <input name="skanPjSwKw" type="checkbox" disabled="true"/>
                  </xsl:otherwise>
                </xsl:choose>
              </td>
              <td>
                d)
              </td>
              <td>
                kserokopię posiadanego prawa jazdy,
              </td>
            </tr>
    
            <tr>
              <td>
                <xsl:choose>
                  <xsl:when test="p:fotografia">
                    <input name="fotografiaSwKw" type="checkbox" checked="true" disabled="true"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <input name="fotografiaSwKw" type="checkbox" disabled="true"/>
                  </xsl:otherwise>
                </xsl:choose>
              </td>
              <td>
                e)
              </td>
              <td>
                wyraźną, aktualną i kolorową fotografię o wymiarach 3,5 x 4,5 cm,
              </td>
            </tr>
    
            <tr>
              <td>
                <xsl:choose>
                  <xsl:when test="p:dowodWplaty">
                    <input name="dowodWplatySwKw" type="checkbox" checked="true" disabled="true"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <input name="dowodWplatySwKw" type="checkbox" disabled="true"/>
                  </xsl:otherwise>
                </xsl:choose>
              </td>
              <td>
                f)
              </td>
              <td>
                dowód uiszczenia opłaty za wymianę prawa jazdy w wysokości
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">swiadectwoDowodWplatyKwota</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:value-of select="p:dowodWplaty/p:kwota"/>
                  </xsl:with-param>
                </xsl:call-template> zł
              </td>
            </tr>
    
          </table>
          
        </p>
      </xsl:template>
    
      <xsl:template name="wydanieWtornika" match="p:wydanieWtornika">
        <p>
          <b>E. WYDANIE WTÓRNIKA</b>
          <br/>
    
          <table border="0">
            <tr>
              <td colspan="4">
                1. Ubiegam się o wydanie wtórnika prawa jazdy/pozwolenia z powodu (zaznaczyć właściwe kwadraty literą "X"):
              </td>
            </tr>
    
            <tr>
              <td>
                <xsl:choose>
                  <xsl:when test="p:powodWymiany='utrata'">
                    <input name="utrata" type="checkbox" checked="true" disabled="true"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <input name="utrata" type="checkbox" disabled="true"/>
                  </xsl:otherwise>
                </xsl:choose>
              </td>
              <td>
                a)
              </td>
              <td width="100%" colspan="2">
                utraty dokumentu,
              </td>
            </tr>
    
            <tr>
              <td>
                <xsl:choose>
                  <xsl:when test="p:powodWymiany='zniszczenie'">
                    <input name="zniszczenie" type="checkbox" checked="true" disabled="true"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <input name="zniszczenie" type="checkbox" disabled="true"/>
                  </xsl:otherwise>
                </xsl:choose>
              </td>
              <td>
                b)
              </td>
              <td colspan="2">
                zniszczenia dokumentu w stopniu powodującym jego nieczytelność,<br/>
              </td>
            </tr>
    
            <tr>
              <td>
                <xsl:choose>
                  <xsl:when test="p:powodWymiany='zmianaDanych'">
                    <input name="zmianaDanych" type="checkbox" checked="true" disabled="true"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <input name="zmianaDanych" type="checkbox" disabled="true"/>
                  </xsl:otherwise>
                </xsl:choose>
              </td>
              <td>
                c)
              </td>
              <td colspan="2">
                zmiany danych:
              </td>
            </tr>
    
            <tr>
              <td/>
              <td/>
              <td>
                <table>
                  <tr>
                    <td>a)</td>
                    <td>
                      z
                    </td>
                    <td>
                      <xsl:call-template name="textbox">
                        <xsl:with-param name="name">wtornikZmianaDanych1z</xsl:with-param>
                        <xsl:with-param name="value">
                          <xsl:value-of select="p:zmianaDanych[1]/p:z[1]"/>
                        </xsl:with-param>
                        <xsl:with-param name="size">100</xsl:with-param>
                      </xsl:call-template>
                    </td>
                  </tr>
                  <tr>
                    <td/>
                    <td>
                      na
                    </td>
                    <td>
                      <xsl:call-template name="textbox">
                        <xsl:with-param name="name">wtornikZmianaDanych1na</xsl:with-param>
                        <xsl:with-param name="value">
                          <xsl:value-of select="p:zmianaDanych[1]/p:na[1]"/>
                        </xsl:with-param>
                        <xsl:with-param name="size">100</xsl:with-param>
                      </xsl:call-template>
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
    
            <tr>
              <td/>
              <td/>
              <td>
                <table>
                  <tr>
                    <td>b)</td>
                    <td>
                      z
                    </td>
                    <td>
                      <xsl:call-template name="textbox">
                        <xsl:with-param name="name">wtornikZmianaDanych2z</xsl:with-param>
                        <xsl:with-param name="value">
                          <xsl:value-of select="p:zmianaDanych[1]/p:z[2]"/>
                        </xsl:with-param>
                        <xsl:with-param name="size">100</xsl:with-param>
                      </xsl:call-template>
                    </td>
                  </tr>
                  <tr>
                    <td/>
                    <td>
                      na
                    </td>
                    <td>
                      <xsl:call-template name="textbox">
                        <xsl:with-param name="name">wtornikZmianaDanych2na</xsl:with-param>
                        <xsl:with-param name="value">
                          <xsl:value-of select="p:zmianaDanych[1]/p:na[2]"/>
                        </xsl:with-param>
                        <xsl:with-param name="size">100</xsl:with-param>
                      </xsl:call-template>
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
          </table>
        </p>
    
        <p>
          <table>
            <tr>
              <td colspan="3">
                2. Składam następujące załączniki (zaznaczyć właściwe kwadraty literą "X"):<br/>
              </td>
            </tr>
    
            <tr>
              <td>
                <xsl:choose>
                  <xsl:when test="p:fotografia">
                    <input name="fotografia" type="checkbox" checked="true" disabled="true"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <input name="fotografia" type="checkbox" disabled="true"/>
                  </xsl:otherwise>
                </xsl:choose>
              </td>
              <td>
                a)
              </td>
              <td>
                fotografię o wymiarach 3,5 x 4,5 cm,
              </td>
            </tr>
    
            <tr>
              <td>
                <xsl:choose>
                  <xsl:when test="p:dowodWplaty">
                    <input name="dowodWplatyWtornik" type="checkbox" checked="true" disabled="true"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <input name="dowodWplatyWtornik" type="checkbox" disabled="true"/>
                  </xsl:otherwise>
                </xsl:choose>
              </td>
              <td>
                b)
              </td>
              <td>
                dowód uiszczenia opłaty za wydanie
                <xsl:choose>
                  <xsl:when test="p:sprawa='wtornikPj'">
                    prawa jazdy/<s>pozwolenia</s></xsl:when>
                  <xsl:when test="p:sprawa='wtornikPt'">
                    <s>prawa jazdy</s>/pozwolenia</xsl:when>
                  <xsl:otherwise>
                    prawa jazdy/pozwolenia</xsl:otherwise>
                </xsl:choose><sup>2)</sup> w wysokości 
                
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">wtornikDowodWplatyKwota</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:value-of select="p:dowodWplaty/p:kwota"/>
                  </xsl:with-param>
                </xsl:call-template> zł,
              </td>
            </tr>
    
            <tr>
              <td>
                <xsl:choose>
                  <xsl:when test="p:inny | p:skanPj | p:skanPt | p:orzeczenieLek | p:orzeczeniePsych">
                    <input name="inny" type="checkbox" checked="true" disabled="true"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <input name="inny" type="checkbox" disabled="true"/>
                  </xsl:otherwise>
                </xsl:choose>
              </td>
              <td>
                c)
              </td>
              <td>
                inne
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">wtornikInnyOpis</xsl:with-param>
                  <xsl:with-param name="size">100</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:if test="p:powodWymiany">
                      <xsl:if test="p:skanPj">Kopię prawa jazdy, </xsl:if>
                      <xsl:if test="p:skanPt">Kopię pozwolenia tramwajowego, </xsl:if>
                      <xsl:if test="p:orzeczenieLek">Orzeczenie lekarskie, </xsl:if>
                      <xsl:if test="p:orzeczeniePsych">Orzeczenie psychologiczne, </xsl:if>                 
                      <xsl:for-each select="p:inny"><xsl:value-of select="p:opis"/>, </xsl:for-each>
                    </xsl:if>
                  </xsl:with-param>
                </xsl:call-template>
              </td>
            </tr>
          </table>
        </p>
    
      </xsl:template>
    
      <xsl:template name="sposobPrzekazania" match="p:sposobPrzekazania">
    
        <p>
          <b>F. SPOSÓB PRZEKAZANIA DOKUMENTU</b>
          <br/>
          <table border="0" width="100%">
            <tr>
              <td width="1">
                1.
              </td>
              <td colspan="2">
                Wnioskowany dokument (zaznaczyć właściwe kwadraty literą "X"):<br/>
              </td>
            </tr>
            <tr>
              <td/>
              <td>
                <xsl:choose>
                  <xsl:when test="p:odbior='osobisty'">
                    <input name="odbiorOsobisty" type="checkbox" disabled="true" checked="true"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <input name="odbiorOsobisty" type="checkbox" disabled="true"/>
                  </xsl:otherwise>
                </xsl:choose>
                odbiorę osobiście
              </td>
              <td>
                <xsl:choose>
                  <xsl:when test="p:odbior='poczta'">
                    <input name="odbiorPoczta" type="checkbox" disabled="true" checked="true"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <input name="odbiorPoczta" type="checkbox" disabled="true"/>
                  </xsl:otherwise>
                </xsl:choose>
                proszę przesłać za pośrednictwem poczty
              </td>
            </tr>
            <tr>
              <td valign="top">
                2.
              </td>
              <td colspan="2">
                Proszę o przesłanie informacji o możliwości odbioru dokumentu w urzędzie za pośrednictwem:<br/>
                (numer telefonu i e-mail podany w części A wniosku)
              </td>
            </tr>
            <tr>
              <td>
              </td>
              <td>
                <xsl:choose>
                  <xsl:when test="p:powiadomienie='sms'">
                    <input name="powiadomienieSMS" type="checkbox" disabled="true" checked="true"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <input name="powiadomienieSMS" type="checkbox" disabled="true"/>
                  </xsl:otherwise>
                </xsl:choose>
                SMS
              </td>
              <td>
                <xsl:choose>
                  <xsl:when test="p:powiadomienie='e-mail'">
                    <input name="powiadomienieEMail" type="checkbox" disabled="true" checked="true"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <input name="powiadomienieEMail" type="checkbox" disabled="true"/>
                  </xsl:otherwise>
                </xsl:choose>
                E-mail
              </td>
            </tr>
          </table>
        </p>
    
      </xsl:template>
    
      <xsl:template name="oswiadczenie" match="p:oswiadczenie">
    
        <p>
          <b>G. OŚWIADCZENIE</b>
          <br/>
    
          <table>
            <tr>
              <td colspan="3">
                Ja, niżej podpisany, będąc uprzedzony o odpowiedzialności karnej za składanie fałszywych zeznań (art. 233 § 1 k.k.),
                oświadczam, iż na dzień złożenia wniosku (zaznaczyć właściwe kwadraty literą "X"):<br/>
              </td>
            </tr>
    
            <tr>
              <td>
                <xsl:choose>
                  <xsl:when test="p:zgodnosc='true'">
                    <input name="zgodnosc" type="checkbox" disabled="true" checked="true"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <input name="zgodnosc" type="checkbox" disabled="true"/>
                  </xsl:otherwise>
                </xsl:choose>
              </td>
              <td>
                1)
              </td>
              <td>
                podane w części A, B, E dane są zgodne ze stanem faktycznym,
              </td>
            </tr>
    
            <tr>
              <td>
                <xsl:choose>
                  <xsl:when test="p:brakUzaleznien='true'">
                    <input name="brakUzaleznien" type="checkbox" disabled="true" checked="true"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <input name="brakUzaleznien" type="checkbox" disabled="true"/>
                  </xsl:otherwise>
                </xsl:choose>
              </td>
              <td>
                2)
              </td>
              <td>
                nie stwierdzono u mnie aktywnej formy uzależnienia od alkoholu lub podobnie działającego środka,<br/>
              </td>
            </tr>
    
            <tr>
              <td>
                <xsl:choose>
                  <xsl:when test="p:brakZakazu='true'">
                    <input name="brakZakazu" type="checkbox" disabled="true" checked="true"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <input name="brakZakazu" type="checkbox" disabled="true"/>
                  </xsl:otherwise>
                </xsl:choose>
              </td>
              <td>
                3)
              </td>
              <td>
                nie został orzeczony w stosunku do mnie - prawomocnym wyrokiem sądu - zakaz prowadzenia pojazdów samochodowych,
              </td>
            </tr>
    
            <tr>
              <td>
                <xsl:choose>
                  <xsl:when test="p:nieZatrzymane='true'">
                    <input name="nieZatrzymane" type="checkbox" disabled="true" checked="true"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <input name="nieZatrzymane" type="checkbox" disabled="true"/>
                  </xsl:otherwise>
                </xsl:choose>
              </td>
              <td>
                4)
              </td>
              <td>
                nie mam zatrzymanego
    			<xsl:choose>
                  <xsl:when test="p:sprawa='wtornikPj'">
                    prawa jazdy/<s>pozwolenia</s></xsl:when>
                  <xsl:when test="p:sprawa='wtornikPt'">
                    <s>prawa jazdy</s>/pozwolenia</xsl:when>
                  <xsl:otherwise>
                    prawa jazdy/pozwolenia</xsl:otherwise>
                </xsl:choose><sup>2)</sup>,
              </td>
            </tr>
    
            <tr>
              <td>
                <xsl:choose>
                  <xsl:when test="p:nieCofniete='true'">
                    <input name="nieCofniete" type="checkbox" disabled="true" checked="true"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <input name="nieCofniete" type="checkbox" disabled="true"/>
                  </xsl:otherwise>
                </xsl:choose>
              </td>
              <td>
                5)
              </td>
              <td>
                nie mam cofniętego uprawnienia do kierowania pojazdami,
              </td>
            </tr>
    
            <tr>
              <td>
                <xsl:choose>
                  <xsl:when test="p:nieInne='true'">
                    <input name="nieInne" type="checkbox" disabled="true" checked="true"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <input name="nieInne" type="checkbox" disabled="true"/>
                  </xsl:otherwise>
                </xsl:choose>
              </td>
              <td>
                6)
              </td>
              <td>
                nie posiadam innego dokumentu stwierdzającego uprawnienie do kierowania pojazdem silnikowym,
              </td>
            </tr>
            <tr>
              <td>
                <xsl:choose>
                  <xsl:when test="p:utrata='true'">
                    <input name="utrata" type="checkbox" disabled="true" checked="true"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <input name="utrata" type="checkbox" disabled="true"/>
                  </xsl:otherwise>
                </xsl:choose>
              </td>
              <td>
                7)
              </td>
              <td>
                utraciłem
                <xsl:choose>
                  <xsl:when test="p:sprawa='wtornikPj'">
                    prawa jazdy/<s>pozwolenia</s></xsl:when>
                  <xsl:when test="p:sprawa='wtornikPt'">
                    <s>prawa jazdy</s>/pozwolenia</xsl:when>
                  <xsl:otherwise>
                    prawa jazdy/pozwolenia</xsl:otherwise>
                </xsl:choose><sup>2)</sup>,
              </td>
            </tr>
    
            <tr>
              <td>
                <xsl:choose>
                  <xsl:when test="p:pobytRP='true'">
                    <input name="pobytRP" type="checkbox" disabled="true" checked="true"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <input name="pobytRP" type="checkbox" disabled="true"/>
                  </xsl:otherwise>
                </xsl:choose>
              </td>
              <td>
                8)
              </td>
              <td>
                posiadam miejsce zamieszkania zgodnie z art. 11 ust. 1 pkt 5 ustawy o kierujących pojazdami,<br/>
              </td>
            </tr>
    
            <tr>
              <td>
                <xsl:choose>
                  <xsl:when test="p:przewoz='true'">
                    <input name="przewoz" type="checkbox" disabled="true" checked="true"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <input name="przewoz" type="checkbox" disabled="true"/>
                  </xsl:otherwise>
                </xsl:choose>
              </td>
              <td>
                9)
              </td>
              <td>
                Wykonuję przewóz drogowy różnymi pojazdami, dla których jest wymagane posiadanie prawa jazdy co najmniej jednej spośród kategorii C1, C1+E, C lub C+E oraz D1,D1+E, D lub D+E,<br/>
              </td>
            </tr>
          </table>  
        </p>
    
        <p align="center">
    
          <table border="0">
            <tr>
              <td align="center">
                <div style="width: 270px; height: 90px; border-style: solid; border-width: 7px; text-align: cengter; vertical-align: middle;">
                </div>
                <div class="przypis">(własnoręczny podpis wnioskodawcy (nie wykraczać poza ramkę))</div>
              </td>
              <td width="20"/>
              <td align="center" valign="middle">
                <div style="width: 160px; height: 205px; border-style: solid; border-width: 7px; text-align: cengter;">
                  <div style="width: 130px; height: 175px; border-style: solid; border-width: 1px; position: relative; top: 8px;">
                    <div style="position: relative; top: 45px;">
                      Fotografia<br/>
                      o wymiarach:<br/>
                      <u>3,5cm x 4,5cm</u>
                    </div>
                  </div>
                </div>
                <div class="przypis">(nie wykraczać poza ramkę wewnętrzną)</div>
              </td>
            </tr>
          </table>
    
        </p>
    
      </xsl:template>
    
      <xsl:template name="decyzja" match="p:decyzja">
    
        <p>
    
          <b>H. Informacja o uzyskaniu uprawnienia do kierowania pojazdami</b>
          <br/>
    
          <table border="0">
    
            <tr>
              <td colspan="4">
                Stwierdzam, że osoba, o której mowa w części A, spełniająca określone przepisami wymogi, na podstawie
    			art. 10 ust. 1-3, art. 15 ust. 1, art. 18 ust. 2, art. 124 ustawy z dnia 5 stycznia 2011 r. o kierujących pojazdami
    			(Dz. U. Nr 30, poz. 151, z późn. zm.) uzyskała uprawnienia do kierowania pojazdami i wydano jej:
              </td>
            </tr>
    
            <tr>
              <td width="1">
                1)
              </td>
              <td width="50%">
                prawo jazdy ważne do dnia
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">decyzjaPrawoDo</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:value-of select="p:prawoDo"/>
                  </xsl:with-param>
                </xsl:call-template>
              </td>
              <td width="50%">
                nr
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">decyzjaPrawoNumerPj</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:value-of select="p:prawoNumerPj"/>
                  </xsl:with-param>
                </xsl:call-template>
              </td>
              <td>
                <sup>2)</sup>
              </td>
            </tr>
    
            <tr>
              <td>
                2)
              </td>
              <td>
                pozwolenie ważne do dnia
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">decyzjaPozwolenieDo</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:value-of select="p:pozwolenieDo"/>
                  </xsl:with-param>
                </xsl:call-template>
              </td>
              <td>
                nr
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">decyzjaPozwolenieNumer</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:value-of select="p:pozwolenieNumer"/>
                  </xsl:with-param>
                </xsl:call-template>
              </td>
              <td>
                <sup>2)</sup>
              </td>
            </tr>
    
            <tr>
              <td>
                3)
              </td>
              <td>
                międzynarodowe prawo jazdy ważne do dnia
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">decyzjaMiedzyPrawoDo</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:value-of select="p:miedzyPrawoDo"/>
                  </xsl:with-param>
                </xsl:call-template>
              </td>
              <td>
                nr
                <xsl:call-template name="textbox">
                  <xsl:with-param name="name">decyzjaMiedzyPrawoNumerPj</xsl:with-param>
                  <xsl:with-param name="value">
                    <xsl:value-of select="p:miedzyPrawoNumerPj"/>
                  </xsl:with-param>
                </xsl:call-template>
              </td>
              <td>
                <sup>2)</sup>
              </td>
            </tr>
    
          </table>
    
        </p>
    
        <p>
          <table border="1" cellspacing="0" width="100%" id="tabela">
            <tr>
              <td colspan="4">
                PRAWO JAZDY
              </td>
            </tr>
    
            <tr>
              <td>
                Kat.
              </td>
              <td align="center">
                Data uzyskania
              </td>
              <td align="center">
                Data ważności
              </td>
              <td align="center">
                Ograniczenia
              </td>
            </tr>
    
            <xsl:call-template name="decyzja-kategoria">
              <xsl:with-param name="kategoria">AM</xsl:with-param>
            </xsl:call-template>
    
            <xsl:call-template name="decyzja-kategoria">
              <xsl:with-param name="kategoria">A2</xsl:with-param>
            </xsl:call-template>
    
            <xsl:call-template name="decyzja-kategoria">
              <xsl:with-param name="kategoria">A1</xsl:with-param>
            </xsl:call-template>
    
            <xsl:call-template name="decyzja-kategoria">
              <xsl:with-param name="kategoria">A</xsl:with-param>
            </xsl:call-template>
    
            <xsl:call-template name="decyzja-kategoria">
              <xsl:with-param name="kategoria">B1</xsl:with-param>
            </xsl:call-template>
    
            <xsl:call-template name="decyzja-kategoria">
              <xsl:with-param name="kategoria">B</xsl:with-param>
            </xsl:call-template>
    
            <xsl:call-template name="decyzja-kategoria">
              <xsl:with-param name="kategoria">C1</xsl:with-param>
            </xsl:call-template>
    
            <xsl:call-template name="decyzja-kategoria">
              <xsl:with-param name="kategoria">C</xsl:with-param>
            </xsl:call-template>
    
            <xsl:call-template name="decyzja-kategoria">
              <xsl:with-param name="kategoria">D1</xsl:with-param>
            </xsl:call-template>
    
            <xsl:call-template name="decyzja-kategoria">
              <xsl:with-param name="kategoria">D</xsl:with-param>
            </xsl:call-template>
    
            <xsl:call-template name="decyzja-kategoria">
              <xsl:with-param name="kategoria">B+E</xsl:with-param>
            </xsl:call-template>
    
            <xsl:call-template name="decyzja-kategoria">
              <xsl:with-param name="kategoria">C1+E</xsl:with-param>
            </xsl:call-template>
    
            <xsl:call-template name="decyzja-kategoria">
              <xsl:with-param name="kategoria">C+E</xsl:with-param>
            </xsl:call-template>
    
            <xsl:call-template name="decyzja-kategoria">
              <xsl:with-param name="kategoria">D1+E</xsl:with-param>
            </xsl:call-template>
    
            <xsl:call-template name="decyzja-kategoria">
              <xsl:with-param name="kategoria">D+E</xsl:with-param>
            </xsl:call-template>
    
            <xsl:call-template name="decyzja-kategoria">
              <xsl:with-param name="kategoria">T</xsl:with-param>
            </xsl:call-template>
    
            <tr>
              <td>
                Kod ogólny
              </td>
    
              <td>
                <xsl:value-of select="p:prawoKat[p:kodOgolny]/p:dataUzysk"/>
              </td>
    
              <td>
                <xsl:value-of select="p:prawoKat[p:kodOgolny]/p:dataWaz"/>
              </td>
    
              <td>
                <xsl:value-of select="p:prawoKat[p:kodOgolny]/p:ograniczenia"/>
              </td>
    
            </tr>
    
          </table>
    
        </p>
        <p>
    
          <table border="0" width="100%">
            <tr>
              <td/>
              <td>
                <table border="0" width="50%" align="right">
                  <tr>
                    <td style="height: 100px; border-style: solid; border-width: 1px; border-color: black;" align="center">
                      <xsl:value-of select="p:podpisOrgWydajacego"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="center">
                      Podpis i pieczęć organu wydającego
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
          </table>
          
        </p>
    
        <p>
          <table border="1" cellspacing="0" width="100%" id="tabela">
            <tr>
              <td>
                Poz.
              </td>
              <td>
                Rodzaj dokumentu
              </td>
              <td>
                Numer druku
              </td>
              <td>
                Data wydania
              </td>
              <td>
                Data odbioru<sup>5)</sup>/zwrotu
              </td>
              <td>
                Data unieważnienia
              </td>
            </tr>
    
            <tr>
              <td>
                1
              </td>
              <td>
                Prawo jazdy
              </td>
              <td>
                <xsl:value-of select="p:odebraneUpr/p:odebraniePJ/p:numerDruku"/>
              </td>
              <td>
                <xsl:value-of select="p:odebraneUpr/p:odebraniePJ/p:dataWyd"/>
              </td>
              <td>
                <xsl:value-of select="p:odebraneUpr/p:odebraniePJ/p:dataOdeb"/>
              </td>
              <td>
                <xsl:value-of select="p:odebraneUpr/p:odebraniePJ/p:dataUni"/>
              </td>
            </tr>
    
            <tr>
              <td>
                2
              </td>
              <td>
                Pozwolenie
              </td>
              <td>
                <xsl:value-of select="p:odebraneUpr/p:odebraniePT/p:numerDruku"/>
              </td>
              <td>
                <xsl:value-of select="p:odebraneUpr/p:odebraniePT/p:dataWyd"/>
              </td>
              <td>
                <xsl:value-of select="p:odebraneUpr/p:odebraniePT/p:dataOdeb"/>
              </td>
              <td>
                <xsl:value-of select="p:odebraneUpr/p:odebraniePT/p:dataUni"/>
              </td>
            </tr>
    
            <tr>
              <td>
                3
              </td>
              <td>
                Międzynarodowe prawo jazdy
              </td>
              <td>
                <xsl:value-of select="p:odebraneUpr/p:odebranieMPJ/p:numerDruku"/>
              </td>
              <td>
                <xsl:value-of select="p:odebraneUpr/p:odebranieMPJ/p:dataWyd"/>
              </td>
              <td>
                <xsl:value-of select="p:odebraneUpr/p:odebranieMPJ/p:dataOdeb"/>
              </td>
              <td>
                <xsl:value-of select="p:odebraneUpr/p:odebranieMPJ/p:dataUni"/>
              </td>
            </tr>
    
          </table>
        </p>
    
        <p>
          <table border="0" width="100%">
            <tr>
              <td align="center" style="height: 50px;">
                <xsl:value-of select="p:podpisOsOdb"/>
              </td>
              <td align="center">
                <xsl:value-of select="p:podpisOrgUniew"/>
              </td>
            </tr>
            <tr>
              <td align="center">
                .......................................................................................<br/>
                (podpis osoby odbierającej)
              </td>
              <td align="center">
                .......................................................................................<br/>
                (podpis i pieczęć organu unieważniającego)
              </td>
            </tr>
          </table>
          
        </p>
        
      </xsl:template>
    
      <xsl:template name="decyzja-kategoria">
        <xsl:param name="kategoria">B</xsl:param>
    
        <tr>
          <td>
            <xsl:value-of select="$kategoria"/>
          </td>
    
          <td>
            <xsl:value-of select="p:prawoKat[p:kategoria=$kategoria]/p:dataUzysk"/>
          </td>
    
          <td>
            <xsl:value-of select="p:prawoKat[p:kategoria=$kategoria]/p:dataWaz"/>
          </td>
    
          <td>
            <xsl:value-of select="p:prawoKat[p:kategoria=$kategoria]/p:ograniczenia"/>
          </td>
    
        </tr>
      </xsl:template>
    
      <xsl:template name="textbox">
        <xsl:param name="name">name</xsl:param>
        <xsl:param name="value">value</xsl:param>
        <xsl:param name="size">20</xsl:param>
        
        <xsl:element name="input">
          <xsl:attribute name="type">text</xsl:attribute>
          <xsl:attribute name="name">
            <xsl:value-of select="$name"/>
          </xsl:attribute>
          <xsl:if test="$readonly">
            <xsl:attribute name="disabled"/>
          </xsl:if>
          <xsl:attribute name="maxlength">50</xsl:attribute>
          <xsl:attribute name="value">
            <xsl:value-of select="$value"/>
          </xsl:attribute>
          <xsl:attribute name="size">
            <xsl:value-of select="$size"/>
          </xsl:attribute>
        </xsl:element>
      </xsl:template>
    
    </xsl:stylesheet>