i dont understand why this isnt working. i just want to display a list of nodes(excluding the one specified) and then under each node of that first tier display their child nodes. the top tier works but the 2nd tier isnt.
<xsl:for-each select="$currentPage/* [@isDoc and string(@id) != '2144']">
i dont understand this at all. if i change the inner loop to a wild card <xsl:for-each select="$currentPage/* [@isDoc]"> it will show the same values as the outer loop but this is the only value i can get it to loop. i cant even get it to show ancestors. any ideas?
loop 2 tier loop
i dont understand why this isnt working. i just want to display a list of nodes(excluding the one specified) and then under each node of that first tier display their child nodes. the top tier works but the 2nd tier isnt.
<xsl:for-each select="$currentPage/* [@isDoc and string(@id) != '2144']">
<xsl:value-of select="@nodeName"/>
<xsl:for-each select="$currentPage/descendant::node [@isDoc]">
<xsl:value-of select="@nodeName"/>
</xsl:for-each>
</xsl:for-each>
i dont understand this at all. if i change the inner loop to a wild card <xsl:for-each select="$currentPage/* [@isDoc]"> it will show the same values as the outer loop but this is the only value i can get it to loop. i cant even get it to show ancestors. any ideas?
Hi Phil,
Give this a try (not tested)
You will see that I've change the 3rd line to @id this should add the id of the page you are looping through and then get those pages below that.
Tom
Hi Phil
Could you give this snippet a try:
/Kim A
is working on a reply...