3 <xsl:stylesheet version="1.0"
4 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5 xmlns:mowgli="http://mowgli.cs.unibo.it/website">
7 <xsl:import href="common.xsl"/>
9 <xsl:output method="html"/>
11 <xsl:param name="path_to_top" select="'.'"/>
12 <xsl:param name="current-date"/>
14 <xsl:template match="html">
17 <title><xsl:value-of select="head/title"/></title>
18 <link rel="stylesheet" href="{$path_to_top}/../style/mowgli.css" type="text/css"/>
21 <xsl:call-template name="head">
22 <xsl:with-param name="path_to_top" select="$path_to_top"/>
24 <xsl:apply-templates select="body/node()"/>
25 <xsl:call-template name="foot">
26 <xsl:with-param name="path_to_top" select="$path_to_top"/>
32 <xsl:template match="*|text()|@*">
34 <xsl:apply-templates select="*|text()|@*"/>
38 <xsl:template match="mowgli:latest-news">
39 <xsl:copy-of select="document('../html/latest-news.xml')/*/*"/>
42 <xsl:template match="mowgli:approaching-deadlines">
43 <xsl:copy-of select="document('../html/approaching-deadlines.xml')/*/*"/>
46 <xsl:template match="mowgli:date">
47 <xsl:copy-of select="$current-date"/>