cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorg Heymans>
Subject Re: Injecting a String XML document into a pipeline
Date Sat, 04 Jun 2005 09:54:32 GMT
Sebastien Arbogast wrote:
> Hi,
> I'm looking for a simple way to inject the string content of a
> flowscript variable into a pipeline for serialization and sending. Of
> course I could do a sendPage() but that would force me to :
> 1 - create a dummy JXTemplate to inject the value of my flow variable
> 2 - create an XSLT stylesheet to extract the content again.
> In other words, I'm in my flowscript function, I have a variable which
> contains exactly the XML document I want to send to the client. How
> can I do that ?

I would put the string in the request scope, then sendPage() to a
pipeline where a custom generator picks it up and feeds it to the SAX

How does that sound?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message