Copied to clipboard

Flag this post as spam?

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


  • Gary 40 posts 129 karma points
    Aug 01, 2013 @ 11:34
    Gary
    0

    Is there a way to show content if parent and grandparent/ancestorID=

    Hello,

    I have an if statement like this

    <xsl:if test="($currentPage/descendant-or-self::*[@isDoc and @parentID='4254'])">
    <div> some info in here </div
    </xsl:if>
    

    I would like to show the info on the page if parent/grandparent or ancestor ID='4254'

    Can anyone give me guidance on this?

    I know it's a basic question but we gotta start somewhere right??

    Thanks folks.

    Gary

Please Sign in or register to post replies

Write your reply to:

Draft