cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <>
Subject RE: Cocoon1 -> Cocoon2
Date Wed, 13 Feb 2002 13:40:01 GMT
> From: []
> Hi guys,
>  I've had a simple java code which produced XML
> output. In Cocoon1, I had to implement some Producer
> interface, so my java code became integrated in the
> Cocoon servlet. Does anybody know how to do similar
> thing in Cocoon2 ?

Implement a generator or write an XSP page.

> I've read the code snippet written
> by Jupin, but I have something else in my mind. I don't
> want to send an other HTTP request to Cocoon, I want to
> write string

Not a string...

> XML directly into the pipeline.

... but a SAX events. If you really want to have an advantage of
skipping XML parsing, you should generate SAX events.

If you don't have knowledge of how to do this, take a look at Java code
generated out of XSP page.


> I guess
> I would have to implement some kind of a generator.
>   Can somebody help me ? I want to port my cocoon1
> implementation to cocoon2. Thanx.

Please check that your question has not already been answered in the
FAQ before posting. <>

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

View raw message