I'm trying to use a macro to hide the @nodeName on certain pages. We have created a property called 'hidePageTitle' as true/false. However with this XSLT:
<xsl:if test="$currentPage/self::* [@isDoc and string(hidePageTitle) != '1']"> <xsl:value-of select="@nodeName"/> </xsl:if>
It is not displaying the @nodeName on pages where hidePageTitle is unchecked.
Hide Page Title
Hi,
I'm trying to use a macro to hide the @nodeName on certain pages. We have created a property called 'hidePageTitle' as true/false. However with this XSLT:
<xsl:if test="$currentPage/self::* [@isDoc and string(hidePageTitle) != '1']">
<xsl:value-of select="@nodeName"/>
</xsl:if>
It is not displaying the @nodeName on pages where hidePageTitle is unchecked.
Is my logic wrong?
Erp...
<xsl:value-of select="$currentPage/@nodeName"/>
It's late!
is working on a reply...