1694
ID | 1694 |
Data | 2014-07-03 |
Symbol | 2014/07/03/1694 |
Instytucja | Ministerstwo Sprawiedliwości |
Nazwa | Postanowienie z Krajowego Rejestru Karnego |
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" xmlns:odpowiedz="http://crd.gov.pl/wzor/2014/07/03/1694/" version="1.0">
<xsl:output omit-xml-declaration="yes" indent="yes" method="html"/>
<xsl:template match="//odpowiedz:pismo/odpowiedz:trescPisma/odpowiedz:postanowienie/odpowiedz:tresc">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="//odpowiedz:pismo/odpowiedz:trescPisma/odpowiedz:postanowienie/odpowiedz:decyzja">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="//odpowiedz:pismo/odpowiedz:trescPisma/odpowiedz:postanowienie/odpowiedz:uzasadnienie">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="//odpowiedz:pismo/odpowiedz:trescPisma/odpowiedz:postanowienie/odpowiedz:pouczenie">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="text()" name="insertBreaks">
<xsl:param name="pText" select="."/>
<xsl:choose>
<xsl:when test="not(contains($pText, '
'))">
<p>
<xsl:copy-of select="$pText"/>
</p>
</xsl:when>
<xsl:otherwise>
<p>
<xsl:value-of select="substring-before($pText, '
')"/>
</p>
<xsl:call-template name="insertBreaks">
<xsl:with-param name="pText" select="substring-after($pText, '
')"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="//odpowiedz:pismo">
<html>
<head>
<title>postanowienie</title>
<style type="text/css">
body{
margin:0;
padding:0;
}
.page{
width:21cm;
margin:0 auto;
padding:0.5cm;
}
*{
font-family:Arial, sans-serif;
font-size:12px;
}
h1{
font-size:18px;
padding:0px;
matgin:0px;
}
h2{
font-size:15px;
padding:0px;
matgin:0px;
}
h3{
font-size:12px;
padding:0px;
matgin:0px;
}
h1.title,h2.title,h3.title{
margin-top:20px;
margin-bottom:20px;
text-align: center;
}
table{
border-spacing:0px;
border-collapse:separate;
width:100%;
}
td{
padding:5px 10px;
vertical-align:top;
}
.nadawca{
text-align:center;
display:block;
}
.adresat{
display:block;
width:200px;
}
p{
text-align:justify;
text-indent:30px;
}
.right{
text-align:right;
}</style>
</head>
<body>
<div class="page">
<table>
<tr>
<td colspan="2" class="right"> Warszawa, <xsl:value-of select="odpowiedz:dataPisma"/>
</td>
</tr>
<tr>
<td style=" width: 50%;">
<div class="nadawca">
<h1>MINISTER SPRAWIEDLIWOŚCI</h1>
<h3>
<xsl:value-of select="odpowiedz:sygnaturaPisma"/>
</h3>
<xsl:if test="string-length(odpowiedz:sygnaturaPismaZewnetrznego) > 0">
<h3>dot. <xsl:value-of select="odpowiedz:sygnaturaPismaZewnetrznego"/></h3>
</xsl:if>
</div>
</td>
<td style=" width: 50%;" class="right"> </td>
</tr>
</table>
<h2 class="title">POSTANOWIENIE</h2>
<xsl:apply-templates select="odpowiedz:trescPisma/odpowiedz:postanowienie/odpowiedz:tresc"/>
<h2 class="title">
<xsl:choose>
<xsl:when test="odpowiedz:trescPisma/odpowiedz:postanowienie/odpowiedz:decyzja/@rodzaj = 'odmowa'">ODMAWIAM</xsl:when>
<xsl:when test="odpowiedz:trescPisma/odpowiedz:postanowienie/odpowiedz:decyzja/@rodzaj = 'zwrot'">ZWRACAM</xsl:when>
<xsl:when test="odpowiedz:trescPisma/odpowiedz:postanowienie/odpowiedz:decyzja/@rodzaj = 'uchylenie'">UCHYLAM</xsl:when>
<xsl:when test="odpowiedz:trescPisma/odpowiedz:postanowienie/odpowiedz:decyzja/@rodzaj = 'utrzymanie'">UTRZYMUJĘ W MOCY</xsl:when>
</xsl:choose>
</h2>
<xsl:apply-templates select="odpowiedz:trescPisma/odpowiedz:postanowienie/odpowiedz:decyzja"/>
<h2 class="title" style=" text-decoration: underline; letter-spacing: 5px">Uzasadnienie</h2>
<xsl:apply-templates select="odpowiedz:trescPisma/odpowiedz:postanowienie/odpowiedz:uzasadnienie"/>
<h2 style=" text-align: center;">POUCZENIE</h2>
<xsl:apply-templates select="odpowiedz:trescPisma/odpowiedz:postanowienie/odpowiedz:pouczenie"/>
<br/>
<br/>
<!-- z upoważnienia -->
<p class="right">
<xsl:value-of select="odpowiedz:upowaznienie"/>
</p>
<!-- podpis -->
<p class="right">
<xsl:value-of select="odpowiedz:podpis"/>
</p>
<br/>
<br/>
<br/>
<br/>
<!-- otrzymuje -->
<div class="adresat">
<h3>Otrzymuje:</h3>
<h3>
<xsl:value-of select="odpowiedz:odbiorca/odpowiedz:nazwaOdbiorcy"/>
<br/>
<xsl:value-of select="odpowiedz:odbiorca/odpowiedz:adresOdbiorcy"/>
</h3>
</div>
</div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>