cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: writing custom serializer and generator
Date Mon, 17 Jun 2002 13:57:06 GMT
> From: Ricardo Trindade [mailto:Ricardo.Trindade@myrealbox.com]
> 
> Hi,
> 
> 	I'm writing a custom serializer and generator. I've already
written some
> custom actions, which was easy.
> 	I have libraries that generate XML, and I just want my generator
to get
> it
> from there. However, I don't understant how to define the output of
the
> generator. I've looked at FileGenerator.java, and there's a step where
a
> SourceResoler is used to convert from the filename to a Source. I
already
> have my xml in a string, just want to send it to the generator output.

You will have to covert your String into SAX XML events, Cocoon event
pipeline does not work with non-XML formats.

Use XML parser for it.

Vadim

> 
> Thanks for any help
> Ricardo


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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


Mime
View raw message