Perhaps you misunderstood Alexander. Cocoon doesn't do HTML to PDF, it does XML to PDF and also does XML to HTML. It does this using the FOP processor from Apache (http://xml.apache.org/fop/index.html), which is available as a separate download as well as being included with Cocoon. It (FOP) uses XSL to transform an XML doc into another XML doc that is then fed into the FOP processor, which produces PDF. So, how it looks it defined by how you set up the stylesheets, both XML > HTML and XML > PDF.
Robert -----Original Message----- From: Lauren Commons [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 29, 2001 3:22 PM To: [EMAIL PROTECTED] Subject: RE: html to pdf Thanks for the clarification. Now a judgement call: how well do the HTML and PDF output match up? Obviously this depends onhow the prowser would render the html (it's OK if the PDF doesn't look like Lynx rendering!!), but I've seen some html-to-pdf conversions that are not exactly ready for prime time. Is this something that requires experimenting to get a good match, or is it a futile effort? Or should I expect good results if I configure everything correctly? Thanks for the ideas. --- Alex Kachanov <[EMAIL PROTECTED]> wrote: > you use cocoon for generating both html and pdf > files > the original source of the content is stored in xml > file. > > Cocoon2 already has couple of sample stylesheets to > convert > xml file to html and to pdf > > > > with best wishes > Alexander Kachanov > > -----Original Message----- > From: Lauren Commons [mailto:[EMAIL PROTECTED]] > Sent: 29 „~„ˆ„‘„q„‚„‘ 2001 „s. 22:32 > To: [EMAIL PROTECTED] > Subject: html to pdf > > > Mornin' > I'm writing an app to generate some html pages, but > the client also wants to generate PDFs from these, > and > other html pages. > Can I use cocoon to do this? > Thanks for tolerating the newbie question... > > ===== > ------------------------- > Mr Lauren Commons > A person of moderate zeal > > __________________________________________________ > Do You Yahoo!? > Yahoo! GeoCities - quick and easy web site hosting, > just $8.95/month. > http://geocities.yahoo.com/ps/info1 > > --------------------------------------------------------------------- > 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]> > > > --------------------------------------------------------------------- > 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]> > ===== ------------------------- Mr Lauren Commons A person of moderate zeal __________________________________________________ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 --------------------------------------------------------------------- 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]> --------------------------------------------------------------------- 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]>