I'm looking for a way to exclude a node with a certain ID using my xslt:
<xsl:for-each select="$currentPage/ancestor-or-self::* [@isDoc and @level=$level]/* [@isDoc and string(showInNavigation) = '1']">
I can't figure it out though. I want to exclude the node id #1168. The reason I want it excluded is because it's set to TRUE in showInNavigation and it needs to be this way. But I'm having different menus for logged in people and a public menu.
Exclude a node with ID in the menu
Hi.
I'm looking for a way to exclude a node with a certain ID using my xslt:
I can't figure it out though. I want to exclude the node id #1168. The reason I want it excluded is because it's set to TRUE in showInNavigation and it needs to be this way. But I'm having different menus for logged in people and a public menu.
Appreciate your help!
Hi Daniel
Could you try this:
/Kim A
Kim, that worked like a charm! This will be useful through the whole projekt. Big thanks!
Cool Daniel. I'm glad I could help you out.
Have a nice weekend!
/Kim A
is working on a reply...