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,
I setup DAMP to store id only (not full xml) and my xslt output looks like this
<pagemultiimages>1538,1547,1539</pagemultiimages>
How do I loop through individual id in for-each clause?
<xsl:variable name="Items" select="$currentPage/PageMultiImages"/> <xsl:for-each select="$Items"> <img src="{umbraco.library:GetMedia(.,false())/umbracoFile}" /> </xsl:for-each> </xsl:if>
P.S. I know I can store full XML and use it, but not in this case.
Hello,
I think you can use the Split method for this: http://our.umbraco.org/wiki/reference/umbracolibrary/split.
Jeroen
Hi Jeroen,
Thanks a lot!
Regards Den
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Get individual id from comma separated list of id's
Hi,
I setup DAMP to store id only (not full xml) and my xslt output looks like this
How do I loop through individual id in for-each clause?
P.S. I know I can store full XML and use it, but not in this case.
Hello,
I think you can use the Split method for this: http://our.umbraco.org/wiki/reference/umbracolibrary/split.
Jeroen
Hi Jeroen,
Thanks a lot!
Regards Den
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.