You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Phil Blake <ph...@tcp.net.au> on 2001/11/08 01:12:01 UTC

Can not convert #RTREEFRAG to a NodeList!

Hi all,

I'm getting this error and I think it's because I have a tree-fragment 
and I need a node set. How can I convert a variable containing a 
tree-fragment into a node-set?

Thanks in advance,

Phil

java.lang.RuntimeException: Can not convert #RTREEFRAG to a NodeList!


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: Can not convert #RTREEFRAG to a NodeList!

Posted by Jörg Heinicke <jo...@gmx.de>.
Hi Phil,

I assume that you are using Xalan when using Cocoon. Then you can use the
extension-function nodeset():
http://xml.apache.org/xalan-j/extensionslib.html#nodeset. Other processors
like MSXML or Saxon have similar functions.

Joerg

> Hi all,
>
> I'm getting this error and I think it's because I have a tree-fragment
> and I need a node set. How can I convert a variable containing a
> tree-fragment into a node-set?
>
> Thanks in advance,
>
> Phil
>
> java.lang.RuntimeException: Can not convert #RTREEFRAG to a NodeList!



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>