Does the xquery do any processing on the xml, or does it just use eXist's update extensions to store it as-is? If you need to do the latter you can use an XMLDBSource to write the file directly into eXist from your flowscript.

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

On 1/5/06, Geert Josten <[EMAIL PROTECTED]> wrote:
Thanks for the replies.
The problem is that I then have use the xml in a pipeline that starts
with an xquery generator (this is the pipeline I call from the
flowscript):
    <map:generate src="xq/discuss.xq" type="xquery">
    <map:parameter name="cleanedxml" value="{flow-attribute:cleanxml}"/>
How is the xquery using the xml in the parameter? Is it an idea to have another 
pipe that
*generates* the discuss.xq which has your cleanedxml fragment included 
somewhere?

Cheers,
Geert

---------------------------------------------------------------------
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]

--

Met vriendelijke groet,

Suzan Foster
Software Engineer

*NEROC'MEDIAWARE *
De Run 1131
5503 LB Veldhoven
T +31 (0)40 258 66 66
F +31 (0)40 258 66 77

E [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

================================================
De informatie opgenomen in dit bericht kan vertrouwelijk zijn en
is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht
onterecht ontvangt, wordt u verzocht de inhoud niet te gebruiken en
de afzender direct te informeren door het bericht te retourneren.
================================================
The information contained in this message may be confidential
and is intended to be exclusively for the addressee. Should you
receive this message unintentionally, please do not use the contents
herein and notify the sender immediately by return e-mail.

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