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
Ive got the following XSLT script
<div class="tags"> <xsl:if test="$currentPage/tagCloudItems/items/item "> <xsl:for-each select="$currentPage/tagCloudItems/items/item"> <h3> <a href="#"><xsl:value-of select="./data [@alias = 'Tag']" disable-output-escaping="yes" /></a> </h3> <div> <xsl:value-of select="./data [@alias = 'Size']" disable-output-escaping="yes" /> </div> </xsl:for-each> </xsl:if></div>
I set the Tag information on the Root of my site and the property alias is "tagCloudItems". How can i get the recursive items? I tryed to add "ancestor-or-self::*" but this doesnt work.
Can someone help?
ok i got it,
just added: $currentPage/ancestor-or-self::* [@level = 1]
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted