You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2009/02/02 21:41:44 UTC

svn commit: r740100 - /lenya/branches/BRANCH_2_0_X/src/modules/sitetree/xslt/navigation/sitetree2nav.xsl

Author: andreas
Date: Mon Feb  2 20:41:44 2009
New Revision: 740100

URL: http://svn.apache.org/viewvc?rev=740100&view=rev
Log:
Add visibleinnav attribute even when not present in sitetree XML.

Modified:
    lenya/branches/BRANCH_2_0_X/src/modules/sitetree/xslt/navigation/sitetree2nav.xsl

Modified: lenya/branches/BRANCH_2_0_X/src/modules/sitetree/xslt/navigation/sitetree2nav.xsl
URL: http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/modules/sitetree/xslt/navigation/sitetree2nav.xsl?rev=740100&r1=740099&r2=740100&view=diff
==============================================================================
--- lenya/branches/BRANCH_2_0_X/src/modules/sitetree/xslt/navigation/sitetree2nav.xsl (original)
+++ lenya/branches/BRANCH_2_0_X/src/modules/sitetree/xslt/navigation/sitetree2nav.xsl Mon Feb  2 20:41:44 2009
@@ -93,10 +93,9 @@
       <xsl:call-template name="resolve-existing-language"/>
     </xsl:variable>
 
-    <nav:node>
+    <nav:node visibleinnav="{string(@visibleinnav) != 'false'}">
 
       <xsl:copy-of select="@id"/>
-      <xsl:copy-of select="@visibleinnav"/>
       <xsl:copy-of select="@protected"/>
       <xsl:copy-of select="@folder"/>
       <xsl:copy-of select="@uuid"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org