> From: Alexandre Victoor [mailto:[EMAIL PROTECTED]] > > Hello, > I have a web site under Cocoon1 and I am willing to update to Cocoon2. > Under Cocoon1, I use my own producer for all the requests. > Because my boss doesn't want me to spend too much time on it, I have too > change as less code as possible, even if the implementation is temporary > and that will change it later. What is the best solution ? Implement my own > C2 generator or use a servelt as a generator ?
Implement your generator, invoke (as a temporary measure) your producer from there, and parse result into SAX. If your producer can generate DOM, you could use cocoon.xml.dom.DOMStreamer, and generator implementation will be very simple. Vadim --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>