Can not convert #RTREEFRAG to a NodeList!
2003-10-13 00:24:28 Daniel Zambonini
[Reply]
I used Sablotron, which luckily lets me get away with a few things that I shouldn't...
If you're using Xalan (which I assume you are from the error message), you'll need to include the xalan namespace, and wrap a
xalan:node-set(...)
function around where the XSLT uses 'result tree fragments' (most of the XSLT parameters and variables in the stylesheet). Similarly, if you're using xt or saxon, the functions are called xt:node-set or saxon:node-set.
For an example, see:
http://xml.apache.org/xalan-c/extensionslib.html#nodeset
- Can not convert #RTREEFRAG to a NodeList!
2005-03-04 02:17:03 RalphHodgson
[Reply]
Using
<xsl:variable name="" select=""/>
instead of
<xsl:variable name="">
<xsl:value-of select=""/>
<xsl:variable>
fixes this problem for me although it only became an issue for me at JDK1.5.