]> matita.cs.unibo.it Git - helm.git/blob - helm/mowgli/home/xsl/latest-news.xsl
* "Older news" link added to the first page.
[helm.git] / helm / mowgli / home / xsl / latest-news.xsl
1 <?xml version="1.0"?>
2
3 <xsl:stylesheet version="1.0"
4                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
5
6 <xsl:import href="common.xsl"/>
7 <xsl:import href="news.xsl"/>
8
9 <xsl:output method="html"/>
10
11 <xsl:template match="/">
12   <xsl:apply-templates select="news/event[position() &lt; 4]">
13     <xsl:with-param name="small" select="true()"/>
14   </xsl:apply-templates>
15   <dt><a href="news.html">Older news</a></dt><dd></dd>
16 </xsl:template>
17
18 </xsl:stylesheet>