Sorting on wrong menu.

svn path=/branches/test/; revision=14297
This commit is contained in:
ato
2010-01-21 19:04:30 +00:00
parent 4c9a58e172
commit 78266ddb20

View File

@@ -89,12 +89,12 @@
<!-- Menu -->
<xsl:for-each select="/buildinfo/menuset/menu[not(@parent)]">
<!--<xsl:sort select="@id"/>-->
<xsl:sort select="." />
<xsl:sort select="@id" />
<xsl:variable name="menu"><xsl:value-of select="@id"/></xsl:variable>
<xsl:element name="ul">
<xsl:for-each select="/buildinfo/menuset/menu[@parent=$menu]">
<xsl:sort select="@id"/>
<!--<xsl:sort select="@id"/>-->
<xsl:sort select="." />
<xsl:variable name="id"><xsl:value-of select="@id"/></xsl:variable>
<xsl:element name="li">
<xsl:choose>