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>Events Ordered by Deadlines</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="'.'"/>
21 <h1>Mowgli Events Ordered by Deadlines</h1>
23 <h1>Events Of Interest to MOWGLI Ordered by Deadlines ---
24 <a href="events.html">Order by events!</a></h1>
26 <xsl:apply-templates select="events/event/deadline">
27 <xsl:sort select="date" data-type="number"/>
28 </xsl:apply-templates>
30 <xsl:call-template name="foot">
31 <xsl:with-param name="path_to_top" select="'.'"/>
37 <xsl:template match="deadline">
40 <xsl:call-template name="print_date">
41 <xsl:with-param name="date" select="date/text()"/>
44 <xsl:text> </xsl:text>
45 <xsl:value-of select="description"/>
46 <xsl:text> </xsl:text>
47 <a href="{../url}"><xsl:value-of select="../name"/></a>