cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Nikiforov <de...@ural.org>
Subject java.io.OutputStream -> org.xml.sax.ContentHandler
Date Tue, 21 Mar 2006 15:06:34 GMT
(transmit-message (Hello *Human*)
(Say '(

I have a class (ResultSetFormatter) which writes xml data to
java.io.OutputStream. How can I forward this data to ContentHandler?
Something like this:

OutputStream os = OutputStreamToSAX(contentHandler);
ResultSetFormatter.outputAsXML(os, results);

I need a class OutputStreamToSAX which parses xml and generates sax
events.

-- 
))) => t
(WBR '(Denis Nikiforov) :mailto denis@ural.org)

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


Mime
View raw message