3 <xsl:stylesheet version="1.0"
4 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
6 <xsl:import href="common.xsl"/>
8 <xsl:output method="html"/>
10 <xsl:template match="/">
13 <title>News Archive</title>
14 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
15 <link rel="stylesheet" href="../style/mowgli.css" type="text/css"/>
18 <xsl:call-template name="head">
19 <xsl:with-param name="path_to_top" select="'.'"/>
23 <xsl:apply-templates/>
25 <xsl:call-template name="foot">
26 <xsl:with-param name="path_to_top" select="'.'"/>
32 <xsl:template match="event">
33 <xsl:param name="small" select="false()"/>
35 <b><xsl:value-of select="date"/></b>
36 <xsl:if test="header">
37 <xsl:value-of select="' -- '"/>
39 <xsl:value-of select="header"/>
44 <xsl:value-of select="description"/>
45 <xsl:if test="not($small) and who">
48 <xsl:variable name="who" select="document(concat('../xml/people/',who/@file,'.xml'))/person"/>
50 <a href="people/{who/@file}.html">
52 <xsl:call-template name="person-name">
53 <xsl:with-param name="file" select="who/@file"/>