cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonas Lundberg <my.name.is.h...@gmail.com>
Subject Re: How to return xml from a flowscript?
Date Thu, 05 Jan 2006 12:33:29 GMT
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 <Geert.Josten@daidalos.nl> 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: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message