1
ID | 1 |
Data | 2008-05-09 |
Symbol | 2008/05/09/1 |
Instytucja | Ministerstwo Spraw Wewnętrznych i Administracji |
Nazwa | Wzór wyróżnika wzoru dokumentu elektronicznegi |
Czy Aktualny | 1 |
---|
Ustawy (4)
Pliki
Styl
<?xml version="1.0" encoding="UTF-8"?><?altova_samplexml wyroznik.xml?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wyr="http://crd.gov.pl/wzor/2008/05/09/1/" xmlns:adr="http://crd.gov.pl/xml/schematy/adres/2008/05/09/" xmlns:inst="http://crd.gov.pl/xml/schematy/instytucja/2008/05/09/" xmlns:meta="http://crd.gov.pl/xml/schematy/meta/2008/05/09/" xmlns:oso="http://crd.gov.pl/xml/schematy/osoba/2008/05/09/" xmlns:str="http://crd.gov.pl/xml/schematy/struktura/2008/05/09/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!--ATDJMJ-->
<xsl:output method="html" encoding="UTF-8"/>
<xsl:template match="/">
<html>
<head>
<style type="text/css">.element{ font-family: Arial; font-size: 10pt; color: #800000; }</style>
<style type="text/css">.tekst{ font-family: Arial; font-size: 10pt; color: #808080; }</style>
<style type="text/css">.naglowek{ font-family: Arial; font-size: 12pt; font-weight: bold; color: #000000; }</style>
<style type="text/css">.naglowek2{ font-family: Arial; font-size: 10pt; font-weight: bold; color: #000000; }</style>
<title/>
</head>
<body class="tekst">
<span class="naglowek2">
<xsl:text>Dane Wzoru</xsl:text>
</span>
<br/>
<xsl:for-each select="wyr:Dokument/wyr:OpisDokumentu/meta:Data">
<span class="element">
<xsl:text>Data Publikacji: </xsl:text>
</span>
<xsl:choose>
<xsl:when test="@typDaty='opublikowany'">
<xsl:value-of select="meta:Czas"/>
</xsl:when>
<xsl:otherwise>
<p style="color:red">Brak daty publikacji</p>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
<br/>
<xsl:for-each select="wyr:Dokument/wyr:OpisDokumentu/meta:Identyfikator">
<xsl:choose>
<xsl:when test="@typIdentyfikatora='JednolityIdentyfikator'">
<span class="element">
<xsl:text>Jednolity Identyfikator Wzoru: </xsl:text>
</span>
<xsl:value-of select="meta:Wartosc"/>
</xsl:when>
<xsl:otherwise>
<p style="color:red">Brak jednolitego identyfikatora</p>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
<br/>
<xsl:for-each select="wyr:Dokument/wyr:OpisDokumentu/meta:Relacja/meta:Identyfikator">
<xsl:choose>
<xsl:when test="@typIdentyfikatora='URIXSD'">
<span class="element">
<xsl:text>Odnośnik do Schematu XML: </xsl:text>
</span>
<xsl:value-of select="meta:Wartosc"/>
</xsl:when>
<xsl:when test="@typIdentyfikatora='URIXSL'">
<span class="element">
<xsl:text>Odnośnik do Stylu XSL: </xsl:text>
</span>
<xsl:value-of select="meta:Wartosc"/>
</xsl:when>
<xsl:otherwise>
<p style="color:red">Brak odnośnika do XSD lub XSL</p>
</xsl:otherwise>
</xsl:choose>
<br/>
</xsl:for-each>
<br/>
<span class="naglowek2">
<xsl:text>Dane Szczegółowe:</xsl:text>
</span>
<br/>
<span class="element">
<xsl:text>Nazwa Wyróżnika: </xsl:text>
</span>
<xsl:value-of select="wyr:Dokument/wyr:DaneDokumentu/str:Naglowek/str:NazwaDokumentu"/>
<br/>
<xsl:for-each select="wyr:Dokument/wyr:DaneDokumentu/str:Nadawcy/meta:Podmiot">
<span class="element">
<xsl:text>Podmiot przesyłający wzór do publikacji : </xsl:text>
</span>
<xsl:value-of select="inst:Instytucja/inst:NazwaInstytucji"/>
<br/>
</xsl:for-each>
<xsl:for-each select="wyr:Dokument/wyr:TrescDokumentu/wyr:Wartosc/wyr:PodstawaPrawna">
<span class="element">
<xsl:text>Nazwa aktu normatywnego na podstawie którego powstał dany wzór : </xsl:text>
</span>
<xsl:value-of select="wyr:NazwaPodstawy"/>
<br/>
</xsl:for-each>
<span class="element">
<xsl:text>Opis Wzoru: </xsl:text>
</span>
<xsl:value-of select="wyr:Dokument/wyr:TrescDokumentu/wyr:Wartosc/wyr:OpisWzoru"/>
<br/>
<br/>
<span class="naglowek2">
<xsl:text>Ważność Wzoru:</xsl:text>
</span>
<br/>
<xsl:if test="wyr:Dokument/wyr:TrescDokumentu/wyr:Wartosc/wyr:WaznoscWzoru/meta:Od!=''">
<span class="element">
<xsl:text>Od: </xsl:text>
</span>
<xsl:value-of select="wyr:Dokument/wyr:TrescDokumentu/wyr:Wartosc/wyr:WaznoscWzoru/meta:Od"/>
<br/>
</xsl:if>
<xsl:if test="wyr:Dokument/wyr:TrescDokumentu/wyr:Wartosc/wyr:WaznoscWzoru/meta:Do!=''">
<span class="element">
<xsl:text>Do: </xsl:text>
</span>
<xsl:value-of select="wyr:Dokument/wyr:TrescDokumentu/wyr:Wartosc/wyr:WaznoscWzoru/meta:Do"/>
<br/>
</xsl:if>
<xsl:if test="wyr:Dokument/wyr:TrescDokumentu/wyr:Wartosc/wyr:WaznoscWzoru/meta:Czas!=''">
<span class="element">
<xsl:value-of select="wyr:Dokument/wyr:TrescDokumentu/wyr:Wartosc/wyr:WaznoscWzoru/@typDaty"/> :
</span>
<xsl:value-of select="wyr:Dokument/wyr:TrescDokumentu/wyr:Wartosc/wyr:WaznoscWzoru/meta:Czas"/>
<br/>
</xsl:if>
<br/>
<br/>
<span class="naglowek2">
<xsl:text>Dane dokumentu którego dotyczy wzór:</xsl:text>
</span>
<br/>
<span class="element">
<xsl:text>Nazwa dokumentu którego dotyczy wzór: </xsl:text>
</span>
<xsl:value-of select="wyr:Dokument/wyr:TrescDokumentu/wyr:Wartosc/wyr:NazwaDokumentu"/>
</body>
</html>
</xsl:template>
</xsl:stylesheet>