]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/mowgli/home/xsl/approaching-deadlines.xsl
ocaml 3.09 transition
[helm.git] / helm / mowgli / home / xsl / approaching-deadlines.xsl
index ced2defa88822b23bcbf6bdeb1f6c893c1f08616..7a7317fb532371175162fd3f9253c8bb86fa18af 100644 (file)
@@ -6,11 +6,12 @@
 <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 &gt;= $today]">
    <xsl:sort select="date" data-type="number"/>
@@ -18,6 +19,7 @@
     <xsl:apply-templates select="."/>
    </xsl:if>
   </xsl:for-each>
+ </html-fragment>
 </xsl:template>
 
 </xsl:stylesheet>