Made news right order
This commit is contained in:
parent
4dc258e620
commit
6cacfc6a11
|
@ -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">
|
||||
|
|
2
news.xml
2
news.xml
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue