]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/mowgli/home/xsl/latest-news.xsl
ocaml 3.09 transition
[helm.git] / helm / mowgli / home / xsl / latest-news.xsl
index dbbd9f0d2cb361037cd45e1ac97127fa8621c972..974c2e9819e99d2524de241bc7a45c4f77d3b7ec 100644 (file)
@@ -6,11 +6,18 @@
 <xsl:import href="common.xsl"/>
 <xsl:import href="news.xsl"/>
 
-<xsl:output method="html"/>
+<xsl:output method="xml"/>
 
 <xsl:template match="/">
-  <xsl:apply-templates select="news/event[position() &lt; 4]"/>
+ <html-fragment>
+  <h3>Latest News</h3>
+  <dl>
+  <xsl:apply-templates select="news/event[position() &lt; 4]">
+    <xsl:with-param name="small" select="true()"/>
+  </xsl:apply-templates>
+  </dl>
+  <a href="news.html">Older news</a>
+ </html-fragment>
 </xsl:template>
 
 </xsl:stylesheet>
-