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 am probably not the first, but I'am trying to mimic the recusive property with XSLT.
I found already this
<xsl:value-of select="$currentPage/ancestor-or-self::* [@isDoc][string(headerImage)!=''] [position()=last()] /headerImage"/>
But this give the property from the root. And that is not what the "recursive" property comes up with.
e.g. First example. Here I get from the recursive 1005, but from my xslt 1001
- 1001 - - 1005 - - - [empty] - - - - current node
e.g. First example. Here I get from the field with recursive option still 1005, but from my xslt 1001
- 1001 - - [empty] - - - 1005 - - - - current node
What's wrong with my xslt?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
mimic recusive property from a field
I am probably not the first, but I'am trying to mimic the recusive property with XSLT.
I found already this
But this give the property from the root. And that is not what the "recursive" property comes up with.
e.g. First example. Here I get from the recursive 1005, but from my xslt 1001
- 1001
- - 1005
- - - [empty]
- - - - current node
e.g. First example. Here I get from the field with recursive option still 1005, but from my xslt 1001
- 1001
- - [empty]
- - - 1005
- - - - current node
What's wrong with my xslt?
is working on a reply...