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="/">
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="'.'"/>
21 <h1>Mowgli Events</h1>
23 <h1>Events Of Interest to MOWGLI ---
24 <a href="deadlines.html">Order by deadlines!</a></h1>
26 <xsl:apply-templates/>
28 <xsl:call-template name="foot">
29 <xsl:with-param name="path_to_top" select="'.'"/>
35 <xsl:template match="event">
37 <a href="{url}"><xsl:value-of select="name"/></a>
41 <b><xsl:value-of select="where"/></b>
42 <xsl:text> </xsl:text>
45 <b><xsl:value-of select="when"/></b>
48 <xsl:if test="description">
49 <p><xsl:value-of select="description"/></p>
51 <xsl:if test="deadline">
54 <xsl:apply-templates select="deadline"/>
61 <xsl:template match="deadline">
64 <xsl:call-template name="print_date">
65 <xsl:with-param name="date" select="date/text()"/>
68 <xsl:text> </xsl:text>
69 <xsl:value-of select="description"/>