How can I pass XML generated by JSP to Cocoon for further processing?
Created May 8, 2012
Ethan Winograd [
I am using tomcat 3.2.1 and cocoon 1.8.2. and I am using JSP's for dynamic generation of XML. How can i give this XML output to cocoon to apply XSLT (based on the requested client) and to give the appropriate output.]
See The Apache XML Project: How To Get Read All Over .
Cocoon allows you to take content in XML, tweak it using Java code in a "logicsheet" and apply styling from an XSL stylesheet. This makes it easy to transform into any SGML-like markup language; with the addition of Apache Formatting Objects Processor (FOP), you can go right to printable PDFs.