597
ID | 597 |
Data | 2011-06-08 |
Symbol | 2011/06/08/597 |
Instytucja | Ministerstwo Spraw Wewnętrznych i Administracji |
Nazwa | Odpowiedź na wniosek o weryfikację zgodności danych zawartych w dowodzie rejestracyjnym/pozwoleniu czasowym z danymi zgromadzonymi w CEPiK |
Czy Aktualny | 1 |
---|
Ustawy (1)
Pliki
Styl
<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:str="http://crd.gov.pl/xml/schematy/struktura/2009/03/06/" xmlns:wnio="http://crd.gov.pl/wzor/2011/06/08/597/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:adr="http://crd.gov.pl/xml/schematy/adres/2009/03/06/" xmlns:oso="http://crd.gov.pl/xml/schematy/osoba/2009/03/06/" xmlns:inst="http://crd.gov.pl/xml/schematy/instytucja/2009/03/06/" xmlns:meta="http://crd.gov.pl/xml/schematy/meta/2009/03/06/" xmlns:zp="http://crd.gov.pl/xml/schematy/ppzp/">
<xsl:output method="html" encoding="utf-8" indent="yes"/>
<xsl:template match="/">
<xsl:apply-templates select="wnio:Dokument"/>
</xsl:template>
<xsl:template match="wnio:Dokument">
<xsl:param name="tresc" select="wnio:TrescDokumentu"/>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=unicode"/>
<style type="text/css">
.body, .body p, .body table
{
text-align: left;
font-family: verdana, arial, helvetica, sans-serif !important;
font-size: 11px;
font-style: normal;
font-variant: normal;
line-height: 25px;
}
table th, th { background: #FFFFFF; }
.up td {text-align: left !important;font-weight: normal;}
.label { font-weight: bold;}
.tytul, .tytul span, .tytul p { text-align: center !important;font-weight: bold;font-size: 13px !important;padding-top: 10px; }
.tytul .podtytul, .tytul .podtytul span { text-align: left;font-weight: bold;font-size: 12px; }
.value {font-weight: bold !important;}
</style>
</head>
<body class="body">
<div style="width: 680px;">
<p class="tytul">
Odpowiedź na wniosek o weryfikację zgodności danych zawartych w dowodzie rejestracyjnym/pozwoleniu czasowym z danymi zgromadzonymi w CEPiK
</p>
<xsl:for-each select="$tresc/wnio:ePUAPZapytanieOPojazd">
<div>
<br/>
<p style="font-weight: bold">Dane wniosku:</p>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="width: 130px">Numer rejestracyjny:</td>
<td class="value" style="font-weight: bold !important">
<xsl:value-of select="wnio:NumerRejestracyjny"/>
</td>
</tr>
<tr>
<td>Numer podwozia (VIN/nadwozia):</td>
<td class="value" style="font-weight: bold !important">
<xsl:value-of select="wnio:NumerVIN"/>
</td>
</tr>
<tr>
<td>Rodzaj dokumentu:</td>
<td class="value" style="font-weight: bold !important">
<xsl:value-of select="wnio:RodzajDokumentu"/>
</td>
</tr>
<tr>
<td>Seria i numer dokumentu:</td>
<td class="value" style="font-weight: bold !important">
<xsl:value-of select="wnio:SeriaINumerDokumentu"/>
</td>
</tr>
<tr>
<td>Marka:</td>
<td class="value" style="font-weight: bold !important">
<xsl:value-of select="wnio:Marka"/>
</td>
</tr>
<tr>
<td>Data pierwszej rejestracji:</td>
<td class="value" style="font-weight: bold !important">
<xsl:value-of select="wnio:DataPierwszejRejestracji"/>
</td>
</tr>
</table>
<br/>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="width: 150px;font-weight: normal;">Właściciel:</td>
<td style="width: 155px;font-weight: bold;">
<xsl:choose>
<xsl:when test="count(wnio:WlascicielPojazdu/wnio:OsobaFizyczna)>0">
Osoba fizyczna
</xsl:when>
<xsl:otherwise>
Firma
</xsl:otherwise>
</xsl:choose>
</td>
<td style="font-weight: bold;"/>
</tr>
<xsl:for-each select="wnio:WlascicielPojazdu/wnio:OsobaFizyczna">
<tr class="up">
<td>
</td>
<td>
Nazwisko właściciela:
</td>
<td style="padding-left: 5px;">
<xsl:value-of select="wnio:NazwiskoWlasciciela"/>
</td>
</tr>
<tr class="up">
<td>
</td>
<td>
Imię właściciela:
</td>
<td style="padding-left: 5px;">
<xsl:value-of select="wnio:ImieWlasciciela"/>
</td>
</tr>
<tr class="up">
<td>
</td>
<td>
PESEL:
</td>
<td style="padding-left: 5px;">
<xsl:value-of select="wnio:PESEL"/>
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="wnio:WlascicielPojazdu/wnio:Firma">
<tr class="up">
<td>
</td>
<td>
Nazwa skrócona:
</td>
<td style="padding-left: 5px;">
<xsl:value-of select="wnio:NazwaSkroconaWlasciciela"/>
</td>
</tr>
<tr class="up">
<td>
</td>
<td>
REGON:
</td>
<td style="padding-left: 5px;">
<xsl:value-of select="wnio:REGON"/>
</td>
</tr>
</xsl:for-each>
</table>
</div>
</xsl:for-each>
<br/>
<p style="font-weight: bold">Odpowiedź:</p>
<xsl:value-of select="$tresc/wnio:Odpowiedz"/>
<br/>
<xsl:call-template name="Zalaczniki"/>
<xsl:call-template name="Podpis"/>
</div>
</body>
</html>
</xsl:template>
<xsl:template name="Zalaczniki">
<xsl:param name="zalaczniki" select="wnio:TrescDokumentu/str:Zalaczniki"/>
<xsl:if test="count($zalaczniki/str:Zalacznik) > 0">
<p style="font-size: 11px;font-family: Verdana;line-height: 25px;padding: 0px;margin:0px">Załączniki:</p>
<ol style="padding-top: 0px;margin-top: 0px;">
<xsl:for-each select="$zalaczniki/str:Zalacznik">
<li>
<xsl:if test="string-length(str:OpisZalacznika) > 0">
<xsl:value-of select="str:OpisZalacznika"/>
</xsl:if>
<xsl:if test="string-length(@nazwaPliku) > 0">
<xsl:if test="string-length(str:OpisZalacznika) > 0"> - </xsl:if>
<xsl:value-of select="@nazwaPliku"/>
</xsl:if>
</li>
</xsl:for-each>
</ol>
</xsl:if>
</xsl:template>
<xsl:template name="Adres">
<xsl:param name="adres"/>
<xsl:param name="inline" select="'false'"/>
<xsl:if test="string-length($adres/adr:KodPocztowy) > 0 or string-length($adres/adr:Miejscowosc) > 0">
<xsl:if test="string-length($adres/adr:KodPocztowy) > 0">
<xsl:value-of select="$adres/adr:KodPocztowy"/>
<xsl:value-of select="' '"/>
</xsl:if>
<xsl:value-of select="$adres/adr:Miejscowosc"/>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
</xsl:if>
<xsl:if test="string-length($adres/adr:Ulica) > 0">
<xsl:value-of select="$adres/adr:Ulica"/>
<xsl:value-of select="' '"/>
<xsl:value-of select="$adres/adr:Budynek"/>
<xsl:if test="string-length($adres/adr:Lokal) > 0">
<xsl:value-of select="' '"/>/<xsl:value-of select="' '"/><xsl:value-of select="$adres/adr:Lokal"/></xsl:if>
</xsl:if>
<xsl:if test="string-length($adres/adr:Wojewodztwo) > 0">
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
<xsl:value-of select="concat('Województwo: ',$adres/adr:Wojewodztwo)"/>
</xsl:if>
<xsl:if test="string-length($adres/adr:Powiat) > 0">
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
<xsl:value-of select="concat('Powiat: ',$adres/adr:Powiat)"/>
</xsl:if>
<xsl:if test="string-length($adres/adr:Gmina) > 0">
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
<xsl:value-of select="concat('Gmina: ',$adres/adr:Gmina)"/>
</xsl:if>
</xsl:template>
<xsl:template name="InLine">
<xsl:param name="value" select="'true'"/>
<xsl:choose>
<xsl:when test="$value='false'">
<br/>
</xsl:when>
<xsl:otherwise>, </xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="PodmiotOsoba">
<xsl:param name="osoba" select="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot/oso:Osoba"/>
<xsl:param name="inline" select="'false'"/>
<xsl:value-of select="$osoba/oso:Imie"/>
<xsl:if test="string-length($osoba/oso:ImieDrugie) > 0">
<xsl:value-of select="' '"/>
<xsl:value-of select="$osoba/oso:ImieDrugie"/>
</xsl:if>
<xsl:for-each select="$osoba/oso:Nazwisko[string-length(.) > 0]">
<xsl:value-of select="' '"/>
<xsl:value-of select="."/>
</xsl:for-each>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
<xsl:if test="count($osoba/adr:Adres) > 0">
<xsl:call-template name="Adres">
<xsl:with-param name="adres" select="$osoba/adr:Adres"/>
<xsl:with-param name="inline" select="$inline"/>
</xsl:call-template>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
</xsl:if>
<xsl:if test="count($osoba/oso:IdOsoby) > 0">
<xsl:call-template name="PodmiotIdentyfikatory">
<xsl:with-param name="id" select="$osoba/oso:IdOsoby"/>
<xsl:with-param name="inline" select="$inline"/>
</xsl:call-template>
</xsl:if>
<xsl:if test="count($osoba/adr:Kontakt) > 0">
<xsl:call-template name="PodmiotKontakt">
<xsl:with-param name="kontakt" select="$osoba/adr:Kontakt"/>
<xsl:with-param name="inline" select="$inline"/>
</xsl:call-template>
</xsl:if>
</xsl:template>
<xsl:template name="PodmiotKontakt">
<xsl:param name="kontakt" select="adr:Kontakt"/>
<xsl:param name="inline" select="'false'"/>
<xsl:for-each select="$kontakt/adr:Telefon">
<xsl:if test="string-length(.) > 0">
<xsl:value-of select="concat('Telefon: ',.)"/>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
</xsl:if>
</xsl:for-each>
<xsl:for-each select="$kontakt/adr:Faks">
<xsl:if test="string-length(.) > 0">
<xsl:value-of select="concat('Faks: ',.)"/>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
</xsl:if>
</xsl:for-each>
<xsl:for-each select="$kontakt/adr:Email">
<xsl:if test="string-length(.) > 0">
<xsl:value-of select="concat('Email: ',.)"/>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
</xsl:if>
</xsl:for-each>
<xsl:for-each select="$kontakt/adr:URIKontakt">
<xsl:if test="string-length(.) > 0">
<xsl:value-of select="concat('',.)"/>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
</xsl:if>
</xsl:for-each>
<xsl:for-each select="$kontakt/adr:InnyKontakt">
<xsl:if test="string-length(.) > 0">
<xsl:value-of select="concat('',.)"/>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
</xsl:if>
</xsl:for-each>
</xsl:template>
<xsl:template name="PodmiotIdentyfikatory">
<xsl:param name="id" select="oso:IdOsoby"/>
<xsl:param name="inline" select="'false'"/>
<xsl:if test="string-length($id/oso:PESEL) > 0">
<xsl:value-of select="concat('PESEL: ',$id/oso:PESEL)"/>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
</xsl:if>
<xsl:if test="string-length($id/oso:NIP) > 0">
<xsl:value-of select="concat('NIP: ',$id/oso:NIP)"/>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
</xsl:if>
<xsl:for-each select="$id/oso:InnyIdentyfikator">
<xsl:if test="string-length(oso:WartoscIdentyfikatora) > 0">
<xsl:if test="string-length(oso:TypIdentyfikatora) > 0">
<xsl:value-of select="oso:TypIdentyfikatora"/>
<xsl:value-of select="': '"/>
</xsl:if>
<xsl:value-of select="oso:WartoscIdentyfikatora"/>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
</xsl:if>
</xsl:for-each>
<xsl:if test="string-length($id/inst:KRS) > 0">
<xsl:value-of select="concat('KRS: ',$id/inst:KRS)"/>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
</xsl:if>
<xsl:if test="string-length($id/inst:NIP) > 0">
<xsl:value-of select="concat('NIP: ',$id/inst:NIP)"/>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
</xsl:if>
<xsl:if test="string-length($id/inst:REGON) > 0">
<xsl:value-of select="concat('REGON: ',$id/inst:REGON)"/>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
</xsl:if>
<xsl:if test="string-length($id/inst:InnyIdentyfikator/inst:WartoscIdentyfikatora) > 0">
<xsl:if test="string-length($id/inst:InnyIdentyfikator/inst:TypIdentyfikatora) > 0">
<xsl:value-of select="$id/inst:InnyIdentyfikator/inst:TypIdentyfikatora"/>
<xsl:value-of select="': '"/>
</xsl:if>
<xsl:value-of select="$id/inst:InnyIdentyfikator/inst:WartoscIdentyfikatora"/>
<xsl:call-template name="InLine">
<xsl:with-param name="value" select="$inline"/>
</xsl:call-template>
</xsl:if>
</xsl:template>
<xsl:template name="Podpis">
<p align="right" style="text-align: right;font-size: 10px;font-family: Verdana;line-height: 25px;">
<table style="float: right;">
<tr>
<td style="width: 340px;">
<p align="center" style="text-align: center;font-size: 10px;font-family: Verdana;line-height: 25px;">
<xsl:choose>
<xsl:when test="string-length(//wnio:Dokument/ds:Signature/ds:SignatureValue) > 0">
<xsl:text>Dokument został podpisany, aby go zweryfikować należy użyć oprogramowania do weryfikacji podpisu</xsl:text>
<xsl:choose>
<xsl:when test="count(//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']) > 1">
<br/>
<xsl:text>Daty złożenia podpisu: </xsl:text>
<xsl:for-each select="//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']">
<xsl:value-of select="."/>
</xsl:for-each>
</xsl:when>
<xsl:when test="count(//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']) = 1">
<br/>
<xsl:text>Data złożenia podpisu: </xsl:text>
<xsl:for-each select="//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']">
<xsl:value-of select="."/>
</xsl:for-each>
</xsl:when>
<xsl:when test="0 >= count(//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime'])">
</xsl:when>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:text>Dokument nie zawiera podpisu</xsl:text>
</xsl:otherwise>
</xsl:choose>
<br/>
<span style="font-size: 7pt;font-weight: bold;">
Podpis elektroniczny
</span>
</p>
</td>
</tr>
</table>
</p>
<div style="clear: both;"/>
</xsl:template>
</xsl:stylesheet>