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="xml"/>
10 <xsl:template match="/">
13 <title>News Archive</title>
18 <xsl:apply-templates/>
24 <xsl:template match="event">
25 <xsl:param name="small" select="false()"/>
27 <b><xsl:value-of select="date"/></b>
28 <xsl:if test="header">
29 <xsl:value-of select="' -- '"/>
31 <xsl:value-of select="header"/>
36 <xsl:copy-of select="description/*|description/text()"/>
37 <xsl:if test="not($small) and who">
40 <xsl:variable name="who" select="document(concat('../xml/people/',who/@file,'.xml'))/person"/>
42 <a href="people/{who/@file}.html">
44 <xsl:call-template name="person-name">
45 <xsl:with-param name="file" select="who/@file"/>