legal news page, first draft
svn path=/trunk/; revision=22096
This commit is contained in:
parent
c4712da894
commit
65a6a31ff0
24
news/legal-news.en.xhtml
Normal file
24
news/legal-news.en.xhtml
Normal file
@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>Legal News Archive – FSFE</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Legal News Archive</h1>
|
||||
|
||||
<p id="introduction">
|
||||
This page collects all news items about legal matters.
|
||||
</p>
|
||||
|
||||
<legal-news/>
|
||||
|
||||
</body>
|
||||
|
||||
<timestamp>$Date: 2011-04-22 17:37:47 +0200 (ven. 22 avril 2011) $ $Author: ato $</timestamp>
|
||||
</html>
|
||||
<!--
|
||||
Local Variables: ***
|
||||
mode: xml ***
|
||||
End: ***
|
||||
-->
|
8
news/legal-news.sources
Normal file
8
news/legal-news.sources
Normal file
@ -0,0 +1,8 @@
|
||||
news/*/news:global
|
||||
news/generated_xml/:global
|
||||
de/news/*/news:de
|
||||
es/news/*/news:es
|
||||
fi/news/*/news:fi
|
||||
fr/news/*/news:fr
|
||||
it/news/*/news:it
|
||||
se/news/*/news:se
|
31
news/legal-news.xsl
Normal file
31
news/legal-news.xsl
Normal file
@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
<xsl:import href="../tools/xsltsl/tagging.xsl" />
|
||||
|
||||
<xsl:output method="xml" encoding="UTF-8" indent="yes" />
|
||||
|
||||
<xsl:template match="/">
|
||||
<xsl:copy>
|
||||
<xsl:apply-templates select="@*|node()"/>
|
||||
</xsl:copy>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="legal-news">
|
||||
<xsl:call-template name="fetch-news">
|
||||
<xsl:with-param name="tag" select="'legal-news'" />
|
||||
</xsl:call-template>
|
||||
</xsl:template>
|
||||
|
||||
<!-- Do not copy <set> and <text> to output at all -->
|
||||
<xsl:template match="/html/set" />
|
||||
<xsl:template match="/html/text" />
|
||||
|
||||
<!-- For all other nodes, copy verbatim -->
|
||||
<xsl:template match="@*|node()" priority="-1">
|
||||
<xsl:copy>
|
||||
<xsl:apply-templates select="@*|node()"/>
|
||||
</xsl:copy>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
Loading…
Reference in New Issue
Block a user