svn commit: r591855 - /lenya/sandbox/pubs/docu/lenya/modules/sitetree/xslt/navigation/tabs.xsl

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: andreas
Date: Sun Nov  4 14:22:42 2007
New Revision: 591855

URL: http://svn.apache.org/viewvc?rev=591855&view=rev
Log:
Don't include nodes without children in tabs

Modified:
    lenya/sandbox/pubs/docu/lenya/modules/sitetree/xslt/navigation/tabs.xsl

Modified: lenya/sandbox/pubs/docu/lenya/modules/sitetree/xslt/navigation/tabs.xsl
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/lenya/modules/sitetree/xslt/navigation/tabs.xsl?rev=591855&r1=591854&r2=591855&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/lenya/modules/sitetree/xslt/navigation/tabs.xsl (original)
+++ lenya/sandbox/pubs/docu/lenya/modules/sitetree/xslt/navigation/tabs.xsl Sun Nov  4 14:22:42 2007
@@ -30,7 +30,7 @@
   <xsl:template match="nav:site">
     
     <ul id="tabs">
-      <xsl:for-each select="nav:node[nav:label[normalize-space(.) != '']]">
+      <xsl:for-each select="nav:node[nav:label[normalize-space(.) != ''] and nav:node]">
         <xsl:choose>
           <xsl:when test="@visibleinnav = 'false'"/>
           <xsl:when test="descendant-or-self::nav:node[@current = 'true']">
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.