[Hypercontent-users] Quick xsl question
Brought to you by:
alexvigdor
From: Carl B. <C.P...@hu...> - 2005-04-01 10:42:14
|
Depending on which site it is here at Hull. I'm auto generating two menus, one alone the top of the page and one down the side. The top menu is generated by picking up the directories in root : <xsl:for-each select="$navigation/nav-item"> The one down the side picks up all the directories and files in those top level directories: <xsl:for-each select="$navigation/nav-item/nav-item[starts-with(/cms:wrapper/cms:source/ @directory,@directory)]"> For one particular site I want the side menu to just pick up directories and not the files. I just can't seem to be able to do it. Can anyone see where I'm going wrong? Many Thanks Carl -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |