webmasterbeta
New Member
Ok, but I don't know how to create a variable that contains a list of nodes (node-set) through a for-each.
<xsl:variable name"test">
<xsl:for-each select"initial_list">
<xsl:value-of select="current()"/>
</xsl:for-each>
</xsl:variable>
I want that variable 'test' to contain a list of nodes.
Is it possible to do something like this? (to change the value of a variable during a for-each cycle?)
<xsl:variable name"test">
<xsl:for-each select"initial_list">
<xsl:value-of select="current()"/>
</xsl:for-each>
</xsl:variable>
I want that variable 'test' to contain a list of nodes.
Is it possible to do something like this? (to change the value of a variable during a for-each cycle?)