Made news right order

This commit is contained in:
Webmaster 2002-09-18 06:25:33 +00:00
parent 4dc258e620
commit 6cacfc6a11
2 changed files with 7 additions and 3 deletions

View File

@ -117,7 +117,11 @@
</xsl:template>
<xsl:template match="newsdefs">
<xsl:apply-templates select="newsitem[csc:term(@date) = csc:term($date)]"/>
<xsl:apply-templates select="newsitem[csc:term(@date) = csc:term($date)]">
<xsl:sort select="translate(@date, '-', '')"
order="descending"
data-type="number"/>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="newsitem">

View File

@ -6,7 +6,7 @@
The Fall elections have occured and the <a
href="/about/exec.html">results</a> are in.
</newsitem>
<newsitem author="sjdutoit" date="2002-08-10">
<newsitem author="sjdutoit" date="2002-09-18">
We've changed to the new site! Please send your comments to the <a
href="webmaster@csclub.uwaterloo.ca">webmaster</a>. The <a
href="/old/">old site</a> is still available. A few things may not