2568

ID2568
Data2015-09-08
Symbol2015/09/08/2568
InstytucjaMinisterstwo Spraw Wewnętrznych
NazwaWniosek o dopisanie do spisu wyborców
Czy Aktualny0

Ustawy (1)

  • URI://Dziennik_Ustaw/2014/1114/16b/1
  • Art. 16b ust. 1 ustawy z dnia 17 lutego 2005 r. o informatyzacji działalności podmiotów realizujących zadania publiczne (t. j. z 2014r. poz. 1114)

    Pliki

    Styl

    <?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:adr="http://crd.gov.pl/xml/schematy/adres/2009/11/09/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:inst="http://crd.gov.pl/xml/schematy/instytucja/2009/11/16/" xmlns:meta="http://crd.gov.pl/xml/schematy/meta/2009/11/16/" xmlns:oso="http://crd.gov.pl/xml/schematy/osoba/2009/11/16/" xmlns:str="http://crd.gov.pl/xml/schematy/struktura/2009/11/16/" xmlns:wnio="http://crd.gov.pl/wzor/2015/09/08/2568/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="1.0">
    	<xsl:template match="wnio:Dokument">
    
    		<html xmlns="http://www.w3.org/1999/xhtml">
    			<head>
    				<style>
    				body {
    					font-family: Arial;
    					font-size: 14px;
    				}
    
    				table {
    					width: 100%;
    				}
    
    				table td {
    					vertical-align: top;
    				}
    
    				table td {
    					vertical-align: top;
    				}
    
    				.border_top_none {
    					border-top: 0px;
    				}
    
    				.border_left_none {
    					border-left: none;
    				}
    
    				.border_right_none {
    					border-right: none;
    				}
    
    				.pole {
    					background-color: #E0E0E0;
    					vertical-align: top;
    				}
    
    				.bold {
    					font-weight: bold;
    				}
    
    				.italic {
    					font-style: italic;
    					font-size: 14px;
    				}
    
    				.tbl {
    					border: 1px solid black;
    					border-collapse: collapse;
    				}
    
    				.tbl tr {
    					border: 1px solid black;
    				}
    
    				.tbl th {
    					text-align: left;
    					background-color: #E0E0E0;
    					border: 1px solid black;
    					padding: 5px 5px 5px 5px;
    					height:43px;
    				}
    
    				.tbl td {
    					border: 1px solid black;
    					padding: 5px 5px 5px 5px;
    					font-size: 12px;
    					height:43px;
    				}
    
    				.right {
    						float: right;
    				}
    
    				#title {
    					text-align: center;
    					font-size: 18px;
    					font-weight: bold;
    					margin: 0 auto;
    				}
    				div.tabelaOdpowiedz {
    					border:1px solid red;
    				}
    				
    
    				div.headerOdpowiedz {
    					padding:10px 5px 10px 5px;
    					background-color: white;
    					font-weight: bold;
    				}
    
    				div.rowOdpowiedz {
    
    					border-top:1px solid red;
    					padding:10px 5px 10px 5px;
    					background-color:white;
    				}
    				</style>
    			</head>
    			<body>
    
    				<xsl:variable name="miejscowosc" select="wnio:TrescDokumentu/wnio:MiejscowoscWniosek"/>
    				<xsl:variable name="data" select="replace(wnio:TrescDokumentu/wnio:DataWniosek,'(\d{4}).(\d{2}).(\d{2})', '$3-$2-$1')"/>
    				<xsl:variable name="rodzajWyborow" select="wnio:TrescDokumentu/wnio:RodzajWyborow"/>
    				<xsl:variable name="wyborcaImie" select="wnio:TrescDokumentu/wnio:DaneWyborcy/wnio:Imie"/>
    				<xsl:variable name="wyborcaImieOjca" select="wnio:TrescDokumentu/wnio:DaneWyborcy/wnio:ImieOjca"/>
    				<xsl:variable name="wyborcaNazwisko" select="wnio:TrescDokumentu/wnio:DaneWyborcy/wnio:Nazwisko"/>
    				<xsl:variable name="wyborcaDrugieImie" select="wnio:TrescDokumentu/wnio:DaneWyborcy/wnio:DrugieImie"/>
    				<xsl:variable name="wyborcaCzyPolskieObywatelstwo" select="wnio:TrescDokumentu/wnio:DaneWyborcy/wnio:Obywatelstwo/wnio:CzyPolskieObywatelstwo"/>
    				<xsl:variable name="wyborcaObywatelstwo" select="wnio:TrescDokumentu/wnio:DaneWyborcy/wnio:Obywatelstwo/wnio:ObywatelstwoTekst"/>
    				<xsl:variable name="wyborcaRodzajDokumentuCzyPaszport" select="wnio:TrescDokumentu/wnio:DaneWyborcy/wnio:RodzajDokumentu/wnio:CzyPaszport"/>
    				<xsl:variable name="wyborcaRodzajDokumentuNazwaDokumentu" select="wnio:TrescDokumentu/wnio:DaneWyborcy/wnio:RodzajDokumentu/wnio:NazwaDokumentu"/>
    				<xsl:variable name="wyborcaRodzajDokumentuSeriaINumer" select="wnio:TrescDokumentu/wnio:DaneWyborcy/wnio:RodzajDokumentu/wnio:SeriaINumer"/>
    				<xsl:variable name="wyborcaPesel" select="wnio:TrescDokumentu/wnio:DaneWyborcy/wnio:Obywatelstwo/wnio:PESEL"/>
    				<xsl:variable name="wyborcaNazwaDokumentu" select="wnio:TrescDokumentu/wnio:DaneWyborcy/wnio:RodzajDokumentu/wnio:NazwaDokumentu"/>
    				<xsl:variable name="wniosek" select="wnio:TrescDokumentu/wnio:Wniosek"/>
    				<xsl:variable name="wniosekTekst1" select="wnio:TrescDokumentu/wnio:WniosekTekst1"/>
    				<xsl:variable name="wniosekTekst2" select="wnio:TrescDokumentu/wnio:WniosekTekst2"/>
    				<xsl:variable name="wniosekTekst3" select="wnio:TrescDokumentu/wnio:WniosekTekst3"/>
    				<xsl:variable name="wniosekTekst4" select="wnio:TrescDokumentu/wnio:WniosekTekst4"/>
    				<xsl:variable name="naglowek" select="wnio:TrescDokumentu/wnio:Naglowek"/>
    				<xsl:variable name="wyborcaDataUrodzenia" select="replace(wnio:TrescDokumentu/wnio:DaneWyborcy/wnio:Obywatelstwo/wnio:DataUrodzenia, '(\d{4}).(\d{2}).(\d{2})', '$3-$2-$1')"/>
    				<xsl:variable name="zamieszkanieGmina" select="wnio:TrescDokumentu/wnio:Adres/wnio:Gmina"/>
    				<xsl:variable name="zamieszkanieMiejscowosc" select="wnio:TrescDokumentu/wnio:Adres/wnio:Miejscowosc"/>
    				<xsl:variable name="zamieszkanieUlica" select="wnio:TrescDokumentu/wnio:Adres/wnio:Ulica"/>
    				<xsl:variable name="zamieszkanieNrDomu" select="wnio:TrescDokumentu/wnio:Adres/wnio:NrDomu"/>
    				<xsl:variable name="zamieszkanieNrLokalu" select="wnio:TrescDokumentu/wnio:Adres/wnio:NrLokalu"/>
    				<xsl:variable name="zamieszkanieKodPocztowy" select="wnio:TrescDokumentu/wnio:Adres/wnio:KodPocztowy"/>
    
    				<xsl:variable name="wyborcaAdresZameldowaniaMiejscowosc" select="wnio:TrescDokumentu/wnio:DaneWyborcy/wnio:AdresZameldowania/wnio:Miejscowosc"/>
    				<xsl:variable name="wyborcaAdresZameldowaniaKodPocztowy" select="wnio:TrescDokumentu/wnio:DaneWyborcy/wnio:AdresZameldowania/wnio:KodPocztowy"/>
    				<xsl:variable name="wyborcaAdresZameldowaniaNrDomu" select="wnio:TrescDokumentu/wnio:DaneWyborcy/wnio:AdresZameldowania/wnio:NrDomu"/>
    				<xsl:variable name="wyborcaAdresZameldowaniaNrLokalu" select="wnio:TrescDokumentu/wnio:DaneWyborcy/wnio:AdresZameldowania/wnio:NrLokalu"/>
    				<xsl:variable name="wyborcaAdresZameldowaniaUlica" select="wnio:TrescDokumentu/wnio:DaneWyborcy/wnio:AdresZameldowania/wnio:Ulica"/>
    				<xsl:variable name="odpowiedz" select="wnio:TrescDokumentu/wnio:FormularzOdpowiedzi"/>
    				<xsl:if test="$odpowiedz != ''">
    					<div class="tabelaOdpowiedz">
    						<div class="headerOdpowiedz">Odpowiedź:
    						</div>
    						<div class="rowOdpowiedz">
    							<xsl:value-of select="$odpowiedz"/>
    						</div>
    					</div>
    					<br/>
    				</xsl:if>
    				<div class="right">
    				<xsl:value-of select="$miejscowosc"/>, dnia <xsl:value-of select="$data"/>
    				</div>
    				<br/>
    				<br/>
    				<div id="title">WNIOSEK O DOPISANIE DO SPISU WYBORCÓW</div>
    				<br/>
    				<br/>
    				<table>
    					<tr>
    						<td>
    							<xsl:choose>
    								<xsl:when test="$wniosek = $wniosekTekst1">
    									☒
    								</xsl:when>
    								<xsl:otherwise>
    									☐
    								</xsl:otherwise>
    							</xsl:choose>
    						</td>
    						<td style="vertical-align:bottom;"><xsl:value-of select="$wniosekTekst1"/>
    						</td>
    					</tr>
    					<tr>
    						<td>
    							<xsl:choose>
    								<xsl:when test="$wniosek = $wniosekTekst2">
    									☒
    								</xsl:when>
    								<xsl:otherwise>
    									☐
    								</xsl:otherwise>
    							</xsl:choose>
    						</td>
    						<td style="vertical-align:bottom;"><xsl:value-of select="$wniosekTekst2"/>
    						</td>
    					</tr>
    					<tr>
    						<td>
    							<xsl:choose>
    								<xsl:when test="$wniosek = $wniosekTekst3">
    									☒
    								</xsl:when>
    								<xsl:otherwise>
    									☐
    								</xsl:otherwise>
    							</xsl:choose>
    						</td>
    						<td style="vertical-align:bottom;"><xsl:value-of select="$wniosekTekst3"/>
    						</td>
    					</tr>
    					<tr>
    						<td>
    							<xsl:choose>
    								<xsl:when test="$wniosek = $wniosekTekst4">
    									☒
    								</xsl:when>
    								<xsl:otherwise>
    									☐
    								</xsl:otherwise>
    							</xsl:choose>
    						</td>
    						<td style="vertical-align:bottom;"><xsl:value-of select="$wniosekTekst4"/>
    						</td>
    					</tr>
    				</table>
    				<br/>
    				<br/>
    				<table class="tbl">
    				<colgroup>
    					<col style="width: 50%"/>
    					<col style="width: 50%"/>
    				</colgroup>
    					<tr>
    						<th colspan="2">
    							<xsl:value-of select="$naglowek"/>
    						</th>
    					</tr>
    					<tr>
    						<td>
    							Miejscowość:<br/>
    							<span class="italic">
    								<xsl:value-of select="$zamieszkanieMiejscowosc"/>
    							</span>
    						</td>
    						<td>
    							Kod pocztowy:<br/>
    							<span class="italic">
    								<xsl:value-of select="$zamieszkanieKodPocztowy"/>
    							</span>
    						</td>
    					</tr>
    					<tr>
    						<td colspan="2">
    							Ulica:<br/>
    							<span class="italic">
    								<xsl:value-of select="$zamieszkanieUlica"/>
    							</span>
    						</td>
    					</tr>
    					<tr>
    						<td>
    							Numer domu:<br/>
    							<span class="italic">
    								<xsl:value-of select="$zamieszkanieNrDomu"/>
    							</span>
    						</td>
    						<td>
    							Numer mieszkania:<br/>
    							<span class="italic">
    								<xsl:value-of select="$zamieszkanieNrLokalu"/>
    							</span>
    						</td>
    					</tr>
    				</table>
    				<br/>
    				<br/>
    				<table class="tbl">
    				<tr>
    					<th>
    						Wybory, których dotyczy wniosek
    					</th>
    				</tr>
    				<tr>
    					<td>
    						Rodzaj wyborów:<br/>
    						<span class="italic">
    							<xsl:value-of select="$rodzajWyborow"/>
    						</span>
    					</td>
    				</tr>
    				</table>
    				<br/>
    				<br/>
    				
    				<table class="tbl">
    				<colgroup>
    					<col style="width: 35%"/>
    					<col style="width: 25%"/>
    					<col style="width: 40%"/>
    				</colgroup>
    				  <tr>
    					<th colspan="3">Dane wyborcy</th>
    				  </tr>
    				  <tr>
    					<td colspan="3">
    						Imię (imiona):
    						<br/>
    						<span class="italic">
    							<xsl:value-of select="concat($wyborcaImie, ' ', $wyborcaDrugieImie)"/>
    						</span>
    					</td>
    				  </tr>
    				  <tr>
    					<td colspan="3">
    						Nazwisko:<br/>
    						<span class="italic">
    							<xsl:value-of select="$wyborcaNazwisko"/>
    						</span>
    					</td>
    				  </tr>
    				  <tr>
    					<td colspan="3">
    						Imię ojca:<br/>
    						<span class="italic">
    							<xsl:value-of select="$wyborcaImieOjca"/>
    						</span>
    					</td>
    				  </tr>
    				  <tr>
    					<td colspan="3">Obywatelstwo:<br/>
    						<span class="italic">
    							<xsl:choose>
    								<xsl:when test="$wyborcaCzyPolskieObywatelstwo = 'Tak'">
    									polskie
    								</xsl:when>
    								<xsl:otherwise>
    									<xsl:value-of select="$wyborcaObywatelstwo"/>
    								</xsl:otherwise>
    							</xsl:choose>
    						</span>
    					</td>
    				  </tr>
    				  <tr>
    					<td colspan="3">
    						Numer paszportu lub innego dokumentu stwierdzającego tożsamość:<br/>
    						<span class="italic">
    						<xsl:choose>
    							<xsl:when test="$wyborcaRodzajDokumentuCzyPaszport = 'Nie'">
    								<xsl:value-of select="$wyborcaNazwaDokumentu"/>: 
    							</xsl:when>
    						</xsl:choose>
    						<xsl:value-of select="$wyborcaRodzajDokumentuSeriaINumer"/>
    						</span>
    					</td>
    				  </tr>
    				  <tr>
    					<td>
    					Data urodzenia:<br/>
    						<span class="italic">
    								<xsl:value-of select="$wyborcaDataUrodzenia"/>
    						</span>
    					</td>
    					<td style="border-right:0px;">Numer ewidencyjny PESEL:<br/>
    						<span class="italic">
    								<xsl:value-of select="$wyborcaPesel"/>
    						</span>
    					</td>
    				  </tr>
    				</table>
    				<table class="tbl border_top_none" style="border-top:0px;">
    				<colgroup>
    					<col style="width: 20%"/>
    					<col style="width: 40%"/>
    					<col style="width: 40%"/>
    				</colgroup> 
    				  <tr class="border_top_none" style="border-top:0px;">
    					<th class="border_top_none pole" rowspan="3" style="border-top:0px;">
    					<span class="bold">Adres stałego zamieszkania</span> <br/><span style="font-weight: normal; font-size:14px;">(adres, pod którym wyborca jest ujęty w rejestrze wyborców)</span></th>
    					<td class="border_top_none" style="border-top:0px;">Miejscowość:<br/>
    						<span class="italic">
    								<xsl:value-of select="$wyborcaAdresZameldowaniaMiejscowosc"/>
    						</span>
    					</td>
    					<td class="border_top_none" style="border-top:0px;">Kod pocztowy:<br/>
    						<span class="italic">
    								<xsl:value-of select="$wyborcaAdresZameldowaniaKodPocztowy"/>
    						</span>
    						
    					</td>
    				  </tr>
    				  <tr>
    					<td colspan="2">Ulica:<br/>
    						<span class="italic">
    								<xsl:value-of select="$wyborcaAdresZameldowaniaUlica"/>
    						</span>
    					</td>
    				  </tr>
    				  <tr>
    					<td>Numer domu:<br/>
    						<span class="italic">
    								<xsl:value-of select="$wyborcaAdresZameldowaniaNrDomu"/>
    						</span>
    					</td>
    					<td>Numer mieszkania:<br/>
    						<span class="italic">
    								<xsl:value-of select="$wyborcaAdresZameldowaniaNrLokalu"/>
    						</span>
    					</td>
    				  </tr>
    				</table>
    			</body>
    		</html>
    	</xsl:template>
    </xsl:stylesheet>