<xsl:import href="common.xsl"/>
<xsl:import href="deadlines.xsl"/>
-<xsl:output method="html"/>
+<xsl:output method="xml"/>
<xsl:param name="today"/>
<xsl:template match="/">
+ <html-fragment>
<h3>Approaching Deadlines:</h3>
<xsl:for-each select="events/event/deadline[date >= $today]">
<xsl:sort select="date" data-type="number"/>
<xsl:apply-templates select="."/>
</xsl:if>
</xsl:for-each>
+ </html-fragment>
</xsl:template>
</xsl:stylesheet>