Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Darryl Godden 145 posts 197 karma points
    Oct 05, 2011 @ 19:29
    Darryl Godden
    0

    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?

  • Darryl Godden 145 posts 197 karma points
    Oct 05, 2011 @ 19:31
    Darryl Godden
    0

    Erp...

    <xsl:value-of select="$currentPage/@nodeName"/>

    It's late!

Please Sign in or register to post replies

Write your reply to:

Draft