Newssortierung repariert

git-svn-id: svn://svn.c3d2.de/c3d2-web/trunk@327 31f61c52-7bfb-0310-b897-fc00f8a278f0
This commit is contained in:
astro 2006-05-24 14:17:00 +00:00
parent 31d1b4a48d
commit 49f7316f6a
1 changed files with 2 additions and 1 deletions

View File

@ -144,10 +144,11 @@
<xsl:template match="/page/news">
<xsl:for-each select="newsfile">
<xsl:sort select="date:seconds(document(concat('../content/', .))/item/@date)" data-type="number" order="descending" />
<xsl:variable name="newsfile"><xsl:value-of select="."/></xsl:variable>
<xsl:for-each select="document(concat('../content/', $newsfile))/item">
<xsl:sort select="date:seconds(@date)" data-type="number" order="descending" />
<h3 class="news">
<a>