Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
How would i write xslt to select all nodes with property bottomMenu set?
My tree looks like this
Content -- Site1 -- language1 -- Node with property bottomMenu=1 -- Node -- Node with property bottomMenu=1 -- Node-- Site2 -- language2 -- Node with property bottomMenu=1 -- Node -- Node with property bottomMenu=1 -- Node
Now i have
$currentPage/ancestor-or-self::root//* [@isDoc and bottomMenu = 1]
but it gives me pages from all lanugages
Instead of root, try specifying your level there:
$currentPage/ancestor-or-self::* [@level=2]//* [@isDoc and bottomMenu = 1]
-Tom
Works perfectly :) Thanks a million!!!!!!
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
ancestor-or-self until certain level
How would i write xslt to select all nodes with property bottomMenu set?
My tree looks like this
Content
-- Site1
-- language1
-- Node with property bottomMenu=1
-- Node
-- Node with property bottomMenu=1
-- Node
-- Site2
-- language2
-- Node with property bottomMenu=1
-- Node
-- Node with property bottomMenu=1
-- Node
Now i have
$currentPage/ancestor-or-self::root//* [@isDoc and bottomMenu = 1]
but it gives me pages from all lanugages
Instead of root, try specifying your level there:
$currentPage/ancestor-or-self::* [@level=2]//* [@isDoc and bottomMenu = 1]
-Tom
Works perfectly :) Thanks a million!!!!!!
is working on a reply...