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 the following
<xsl:variable name="Categories"> <Category Item="A" /> <Category Item="B" /> <Category Item="C" /> <Category Item="D" /> <Category Item="D" /></xsl:variable>
I will like to use it in the following by concatenating the curent category in the for-each loop to an attribute in order to
get the value of that attribute
<xsl:for-each select="Categories"> <tr class="odd"> <td align="left" style="height:48px;"> <xsl:value-of select="umbraco.library:ReplaceLineBreaks($currentPage/* [@alias = concat('Dept', @Item)])" disable-output-escaping="yes"/> </td>
....
</tr>
</xsl:for-each>
...
The issue I am seeing is it is not even transversing the loop
Please help
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
Need help with parsing and concatenating array values in xslt
I have the following
<xsl:variable name="Categories">
<Category Item="A" />
<Category Item="B" />
<Category Item="C" />
<Category Item="D" />
<Category Item="D" />
</xsl:variable>
I will like to use it in the following by concatenating the curent category in the for-each loop to an attribute in order to
get the value of that attribute
<xsl:for-each select="Categories">
<tr class="odd">
<td align="left" style="height:48px;">
<xsl:value-of select="umbraco.library:ReplaceLineBreaks($currentPage/* [@alias = concat('Dept', @Item)])" disable-output-escaping="yes"/>
</td>
....
</tr>
</xsl:for-each>
...
The issue I am seeing is it is not even transversing the loop
Please help
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.