]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/mowgli/home/xsl/latest-news.xsl
- main page now generated automatically
[helm.git] / helm / mowgli / home / xsl / latest-news.xsl
diff --git a/helm/mowgli/home/xsl/latest-news.xsl b/helm/mowgli/home/xsl/latest-news.xsl
new file mode 100644 (file)
index 0000000..dbbd9f0
--- /dev/null
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+
+<xsl:stylesheet version="1.0"
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<xsl:import href="common.xsl"/>
+<xsl:import href="news.xsl"/>
+
+<xsl:output method="html"/>
+
+<xsl:template match="/">
+  <xsl:apply-templates select="news/event[position() &lt; 4]"/>
+</xsl:template>
+
+</xsl:stylesheet>
+