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
Hi all
I have 5 values from data [@alias = 'download_1'], data [@alias = 'download_2'], etc
I want to output them using "value-of select" or similar, so i don't have to write the same code 5 times. How to do that?
Thanks,
/Mathias
Hi Mathias,
This should work for you:
<xsl:for-each select="$currentPage/data [substring(@alias,1,8) = string('download')] "> <!-- This will output each of your download_ values --> <xsl:value-of select="."/> <br/></xsl:for-each>
Cheers,
Chris
Thanks, just what I needed!
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Select several data alias
Hi all
I have 5 values from data [@alias = 'download_1'], data [@alias = 'download_2'], etc
I want to output them using "value-of select" or similar, so i don't have to write the same code 5 times. How to do that?
Thanks,
/Mathias
Hi Mathias,
This should work for you:
Cheers,
Chris
Thanks, just what I needed!
/Mathias
is working on a reply...