News only shown for this term
This commit is contained in:
parent
f16589479e
commit
4dc258e620
|
@ -117,7 +117,7 @@
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="newsdefs">
|
<xsl:template match="newsdefs">
|
||||||
<xsl:apply-templates select="newsitem"/>
|
<xsl:apply-templates select="newsitem[csc:term(@date) = csc:term($date)]"/>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="newsitem">
|
<xsl:template match="newsitem">
|
||||||
|
|
2
news.xml
2
news.xml
|
@ -3,7 +3,7 @@
|
||||||
<!DOCTYPE newdefs SYSTEM "csc.dtd">
|
<!DOCTYPE newdefs SYSTEM "csc.dtd">
|
||||||
<newsdefs>
|
<newsdefs>
|
||||||
<newsitem author="sjdutoit" date="2002-09-16">
|
<newsitem author="sjdutoit" date="2002-09-16">
|
||||||
The Fall elections have been done and the <a
|
The Fall elections have occured and the <a
|
||||||
href="/about/exec.html">results</a> are in.
|
href="/about/exec.html">results</a> are in.
|
||||||
</newsitem>
|
</newsitem>
|
||||||
<newsitem author="sjdutoit" date="2002-08-10">
|
<newsitem author="sjdutoit" date="2002-08-10">
|
||||||
|
|
Loading…
Reference in New Issue