Classic point of confusion. In XSLT 1.0, a Result Tree Fragment is not a Nodeset, so xsl:copy is the wrong operation to perform.
Just reference the variable's value to output the fragment, rather than trying to perform an xsl:copy from it. If you need to actually process it as a nodeset (for example, if you need to navigate into it as a tree of nodes), you'll need to use the exslt node-set function to convert it first. XSLT 2.0 removes the distinction between RTFs and Nodesets... but alas, Xalan does not support 2.0. ______________________________________ "... Three things see no end: A loop with exit code done wrong, A semaphore untested, And the change that comes along. ..." -- "Threes" Rev 1.1 - Duane Elms / Leslie Fish ( http://www.ovff.org/pegasus/songs/threes-rev-11.html)
