[XML-SIG] xml to pdf... a newbie question...

Gisbert Amm gia@webde-ag.de
Thu, 6 Mar 2003 09:27:14 +0100

> thanks... but one last question...
> can that happen on the server, for example, in one operation???
> what i mean is, can a user, through zope, get a pdf report 
> generated by python 
> through xml to html to htmldoc... that will result to pdf??? 
> or even post 
> script???
In this case it would be better to left out the step via XML and sacrifice
maintainablity at this point for the benefit of performance. That means:
generate HTML, call htmldoc with that HTML and transfer the resulting PDF to
the user. For not so big documents and not so much requests that should

Unfortunately you have to invoke htmldoc with a system call, there is no API
available (see http://www.easysw.com/htmldoc/htmldoc.html)

For a high number of requests or larger documents I'd keep a solution with
ReportLab in mind.

BTW: We are fairly OT with this thread, aren't we? ;-)