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,
On the site I'm currently developing there is a specific section on the site that requires an additional stylesheet loading.
I'm trying to write an <xsl:if> statement which basically says - If current page, ancestor or self has the ID of '1065'
I can't quite get it right though, how could I achieve this?
Thanks!'
<xsl if test="$currentPage/ancestor-or-self::*[isDoc]/@id = '1065'">
Chris
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Check if current page is a descendant of a certain page?
Hi,
On the site I'm currently developing there is a specific section on the site that requires an additional stylesheet loading.
I'm trying to write an <xsl:if> statement which basically says - If current page, ancestor or self has the ID of '1065'
I can't quite get it right though, how could I achieve this?
Thanks!'
Chris
is working on a reply...