It's because you don't have any content yet. The for loop is going up to the Home node (level 1) and listing out child nodes, and since there are none it never hits the for loop.
If you add some subpages under Home they should show up.
I typically add the Home link manually right before the for-each loop, just linking it to "/"
basic XSLT macro for top naviagtion based on tutorial video
hi guys,
I can't get the basic macro working. Here is the xslt
The macro above always renders this below (ie the for loop is never iterated)
Here is the site content structure. Just a homepage so far.
Hi,
It's because you don't have any content yet. The for loop is going up to the Home node (level 1) and listing out child nodes, and since there are none it never hits the for loop.
If you add some subpages under Home they should show up.
I typically add the Home link manually right before the for-each loop, just linking it to "/"
Thanks,
Tom
thanks so much
is working on a reply...