cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Gardler <>
Subject Re: Can cocoon write pdf to a file?
Date Thu, 15 Aug 2002 18:28:57 GMT
kyle koss wrote:
> Is it possible for Cocoon to do an XML+XSL ->  PDF transformation, but instead of
serving the PDF into the browser, 
> writing it to a file?

You can from the command line (I think the following will work (although 
I have never used it):

java -cp [classpath] org.apache.cocoon.Main -c -d[docs.dir] 
-w[] [start.file]


> What I would like to do is, take information entered into a form on a 
> jsp page, turn it into an XML file, and then apply my XSL to it to 
> produce a PDF which is then stored to disk on the server.
> Can this be done using Cocoon, or would it be easier to just use FOP 
> embedded in a servlet? If it can be done, what do I have to do?
> Regards, Kyle Koss

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message