cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <>
Subject Re: response xml from Document
Date Thu, 14 Feb 2008 13:14:41 GMT
On 13.02.2008 05:56, nanomonk wrote:

> so, I have an xml generated by java(in Document now)...
> I need to do response this xml to client...
> pls tell me a true-way how to do that with cocoon 2.2?

I guess you are talking about a DOM Document (org.w3c.dom.Document)? 
Then you can use the org.apache.cocoon.xml.dom.DOMStreamer and its 
stream method. But it very much depends on how you plug your Java code 
into Cocoon since you need access to a SAX ContentHandler.


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

View raw message