--- /dev/null
+<?xml version="1.0"?>
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<xsl:import href="common.xsl"/>
+
+<xsl:output method="html"/>
+
+<xsl:template match="/">
+ <html>
+ <head>
+ <title>Events Ordered by Deadlines</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>Mowgli Events Ordered by Deadlines</h1>
+ <hr />
+ <h1>Events Of Interest to MOWGLI Ordered by Deadlines ---
+ <a href="events.html">Order by events!</a></h1>
+ <ul>
+ <xsl:apply-templates select="events/event/deadline">
+ <xsl:sort select="date" data-type="number"/>
+ </xsl:apply-templates>
+ </ul>
+ <xsl:call-template name="foot">
+ <xsl:with-param name="path_to_top" select="'.'"/>
+ </xsl:call-template>
+ </body>
+ </html>
+</xsl:template>
+
+<xsl:template match="deadline">
+ <li>
+ <b>
+ <xsl:call-template name="print_date">
+ <xsl:with-param name="date" select="date/text()"/>
+ </xsl:call-template>
+ </b>
+ <xsl:text> </xsl:text>
+ <xsl:value-of select="description"/>
+ <xsl:text> </xsl:text>
+ <a href="{../url}"><xsl:value-of select="../name"/></a>
+ </li>
+</xsl:template>
+
+</xsl:stylesheet>