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
Hii every body,
I want to display 0 level nodes in my Navigatin Menu like Home, Products, Contact Us etc. in Xslt.
I specity <xsl:variable name="level" select="0"/> but it does not show, I have no child level Document Type.
Thanks....
Regards,Anees
Hi Muhammad.
I think this will work for you:
<ul> <xsl:for-each select="$currentPage/ancestor-or-self::root/* [string(umbracoNaviHide) != '1' and @isDoc]"> <li> <a href="{umbraco.library:NiceUrl(@id)}"> <xsl:value-of select="@nodeName"/> </a> </li> </xsl:for-each></ul>
The top most nodes are actually level 1, but anyway.
/Kim A
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How to display 0 Level nodes in Xslt
Hii every body,
I want to display 0 level nodes in my Navigatin Menu like Home, Products, Contact Us etc. in Xslt.
I specity <xsl:variable name="level" select="0"/> but it does not show, I have no child level Document Type.
Thanks....
Regards,
Anees
Hi Muhammad.
I think this will work for you:
The top most nodes are actually level 1, but anyway.
/Kim A
is working on a reply...