> From: Stefani L. [mailto:[EMAIL PROTECTED]]
> 
> To anyone who can help me,
> 
> I have recently installed C2 and it works well with tomcat 4.0.1.
However, I
> have a java servlet that outputs XML and would like to have C2 take
this and
> transform it to the appropriate format as defined by the XML file
(i.e. with
> the appropriate stylesheet).
> 
> I read the email sent a few days ago regarding how to do this, but
couldn't
> figure out exactly how to implement this.
> 
> Could anyone write specific examples on how to do this? How do you
call
> cocoon from a java servlet?

Cocoon will call your servlet.


> what modifications must be made to the sitemap?

Check out sub/sitemap.xmap, entry for "external XSP" example. Take this
pipeline as a starting point, replace http://... with the URL to your
servlet, and use your stylesheet.


> Which component of the javadocs is appropriate to look at?

Read documentation on sitemap - it might have information on specifying
src="" tag on generators. That's what you need, use
src="http://host/app/your-servlet";.

Vadim
 
> I did not find any documentation regarding this issue.
> 
> Many thanks,
> Stefani L.
> 
> ----------------
> Radon--


---------------------------------------------------------------------
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]>

Reply via email to