You do not need to modify fop. Cocoon will do all the stages for you. You are almost there I think. If you are generating dynamic html, you simply have to add a transformation to your pipeline that will give you <xsl:fo> xml. Then change the serializer from html to fo2pdf.
Try asking over on the cocoon lists... this is one of the first things new cocoon users figure out JD -----Original Message----- From: Ashish Kumar [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 5:49 AM To: [EMAIL PROTECTED] Subject: {Spam?} newbie: using database to generate PDF hi all, i have to use a pgSQL database to generate dynamic pdf documents at client side, when accessed from the server. for this i have embedded fop on the tomcat configured on server side. i don't how to use fop to handle database queries, i mean how should i modify FopServlet.java & other codes. someone told me i can use apache cocoon for database access, but then how can i generate pdf from it. i have also configured cocoon on tomcat and am able to generate dynamic HTML documents using the database, but can't proceed further for generating pdf documents. thanking in advance, ashish --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
