I have following question, basically i just would like to create a custom array, something like - Yellow | Red | Green
And after loop through this items using for-each and printing the values, i created something like this:
<xsl:variable name="Colors">
<m>Yellow</m>
<m>Red</m>
<m>Green</m>
</xsl:variable>
And then i try to loop on it:
<xsl:for-each select="$Colors">
<xsl:value-of select ="current()" />
</xsl:for-each>
But i get this error: Exrpession must evalutate to a node-set $Colors
Any idea, what could be wrong?