That would work, if I could do it...
But xqueries are not written in XML, so how can I then include the XML
in a good place in my xquery?

:-(
Hans

On 1/5/06, Geert Josten <[EMAIL PROTECTED]> wrote:
> No, this is not what I meant. You can replace:
>
>         src="xq/discuss.xq"
>
> by:
>
>         src="cocoon:/insert-whtm-in-query/discuss.xq/path-to-whtm"
>
> And create an new pipeline that includes the cleaned whtm into your xquery 
> instruction.
>
> :-)
>
> Jonas Lundberg wrote:
>
> > The xquery stores the XML file in eXist.
> > Thus, if I try to insert the xml file using an Xinclude in discuss.xq,
> > and then use an xinclude transformer after generation,
> > then it will be put there *after* the query is executed. Which is not
> > useful in this case, since the XML is needed during execution.
> >
> > Regards
> > Hans
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]