<xsl:import href="common.xsl"/>
-<xsl:output method="html"/>
+<xsl:output method="xml"/>
<xsl:template match="/">
<html>
<head>
<title>News Archive</title>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <link rel="stylesheet" href="../style/mowgli.css" type="text/css"/>
</head>
<body>
- <xsl:call-template name="head">
- <xsl:with-param name="path_to_top" select="'.'"/>
- </xsl:call-template>
<h1>News Archive</h1>
<dl>
<xsl:apply-templates/>
</dl>
- <xsl:call-template name="foot">
- <xsl:with-param name="path_to_top" select="'.'"/>
- </xsl:call-template>
</body>
</html>
</xsl:template>
<xsl:template match="event">
<xsl:param name="small" select="false()"/>
<dt>
- <b><xsl:value-of select="date"/></b>
+ <b>
+ <xsl:call-template name="print_date">
+ <xsl:with-param name="date" select="date"/>
+ </xsl:call-template>
+ </b>
<xsl:if test="header">
<xsl:value-of select="' -- '"/>
<em>
</xsl:if>
</dt>
<dd>
- <xsl:value-of select="description"/>
+ <xsl:copy-of select="description/*|description/text()"/>
<xsl:if test="not($small) and who">
<br/><br/>
<div class="right">