i want to hand these outcomes one by one to an x-path function.
so you don't want a result tree fragment at all, you want a node set.
Save the rtf variable as you had it then to query in to that with xpath
use your processors xx:node-set() extension to convert the rtf to a node
set.
<xsl:for-each select="xx:node-set($space)/a/b/c">
...
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list