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
Doesn't work<xsl:apply-templates select="$RootNode//* [@isDoc][(self::$IType) and string(umbracoNaviHide) != '1']">
Does Work<xsl:apply-templates select="$RootNode//* [@isDoc][(self::BlogPost) and string(umbracoNaviHide) != '1']">Error is System.Xml.Xsl.XslLoadException: Expected a node test, found '$'.
How can I pass in a parameter?
Haven't tested but possibly: name() = $IType instead of self::$IType ?
Well that doesn't throw an error when I save but does when I view the page...
That does work sorry :)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Parameters and NodeTypeAlias
Doesn't work
<xsl:apply-templates select="$RootNode//* [@isDoc][(self::$IType) and string(umbracoNaviHide) != '1']">
Does Work
<xsl:apply-templates select="$RootNode//* [@isDoc][(self::BlogPost) and string(umbracoNaviHide) != '1']">
Error is System.Xml.Xsl.XslLoadException: Expected a node test, found '$'.
How can I pass in a parameter?
Haven't tested but possibly: name() = $IType instead of self::$IType ?
Well that doesn't throw an error when I save but does when I view the page...
That does work sorry :)
is working on a reply...