legal news page, first draft

svn path=/trunk/; revision=22096
このコミットが含まれているのは:
nicoulas 2012-01-23 22:13:57 +00:00
コミット 65a6a31ff0
3個のファイルの変更63行の追加0行の削除

24
news/legal-news.en.xhtml ノーマルファイル
ファイルの表示

@ -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 ノーマルファイル
ファイルの表示

@ -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 ノーマルファイル
ファイルの表示

@ -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>