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
hi,
i am unsure of why this does not work..it errors on yhe href=umbraco.niceurl part.. if i just have a href = {@id} instead it works and outputs the correct id, slightly lost here, only happens with the 4.5 XML.
<xsl:variable name="rootNode" select="$currentPage/ancestor-or-self::* [@level=1]" /><xsl:for-each select="$rootNode/* [string(umbracoNaviHide) != '1']"> <li> <a href="{umbraco.library:NiceUrl(@id)}"> <span>About</span> </a> </li></xsl:for-each>
Stupid question but did you create the XSLT in umbraco or in an IDE?
If in IDE then you maybe missing the umbraco XSLT extension which this relies on
Tom
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
4.5 XSLT umbraco.Nice Url
hi,
i am unsure of why this does not work..it errors on yhe href=umbraco.niceurl part.. if i just have a href = {@id} instead it works and outputs the correct id, slightly lost here, only happens with the 4.5 XML.
Stupid question but did you create the XSLT in umbraco or in an IDE?
If in IDE then you maybe missing the umbraco XSLT extension which this relies on
Tom
is working on a reply...