You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Rob Tice <ro...@fdgroup.com> on 2002/07/09 08:47:46 UTC

xsl-for-each

Just a general posting as I am not sure if it is a bug or a feature of xsl.

Using the latest xalan (don't know about the behaviour in previous 
versions) I cannot wrap an xsl:for-each as a variable e.g. <xsl:variable 
name="test"><xsl:for-each ......etc... ></xsl:for-each></xsl:variable> I 
get a 'cannot convert tree fragment to node-list exception'.
However, if I put the 'for each' in a template I can wrap the return from 
this template in a variable. This seems inconsistent. Any comments

Rob Tice