began to fix bugs with currently selected page in nav menu list

svn path=/branches/design/; revision=18003
This commit is contained in:
samtuke
2010-10-29 16:11:28 +00:00
parent 9f432fc808
commit 18da777b94
2 changed files with 13 additions and 3 deletions
+4 -3
View File
@@ -218,9 +218,10 @@
and not(@id=/buildinfo/textset/text/@id)]"/>
</xsl:when>
<xsl:when test=". = concat(/buildinfo/@filename ,'.html')">
<xsl:value-of select="/buildinfo/textset/text[@id=$id]|
/buildinfo/textsetbackup/text[@id=$id
and not(@id=/buildinfo/textset/text/@id)]"/>
<xsl:element name="span">
<xsl:attribute name="id">selected</xsl:attribute>
<xsl:value-of select="/buildinfo/textset/text[@id=$id]| /buildinfo/textsetbackup/text[@id=$id and not(@id=/buildinfo/textset/text/@id)]"/>
</xsl:element>
</xsl:when>
<xsl:otherwise>
<xsl:element name="a">