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
I have a structure like following:
Content
ContentLevel2
From ContentLevel2 I need to step back and iterate through the childs of Content. I've tried following without any success:
<xsl:for-each select="umbraco.library:GetXmlNodeById(./@parentID)/descendant [@isDoc and string(umbracoNaviHide) != '1']"> <a href="{umbraco.library:NiceUrl(@id)}"> <xsl:value-of select="@nodeName"/> </a>
</xsl:for-each>
If Content is a different document type you could try somthing like this:
<xsl:for-each select="$currentPage/ancestor-or-self::Content//* [@isDoc and string(umbracoNaviHide) != '1']"> <a href="{umbraco.library:NiceUrl(@id)}"> <xsl:value-of select="@nodeName"/> </a> </xsl:for-each>
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
For-each through parent childs
I have a structure like following:
Content
ContentLevel2
From ContentLevel2 I need to step back and iterate through the childs of Content. I've tried following without any success:
<xsl:for-each select="umbraco.library:GetXmlNodeById(./@parentID)/descendant [@isDoc and string(umbracoNaviHide) != '1']">
<a href="{umbraco.library:NiceUrl(@id)}">
<xsl:value-of select="@nodeName"/>
</a>
</xsl:for-each>
If Content is a different document type you could try somthing like this:
is working on a reply...