Hello Robert, I would suggest that if your data is such that it can use DocBook, definitely go the DocBook route. You can also use Apache's Cocoon publish your DocBook content to PDF/HTML/RTF/SVG/TXT etc. Here are some samples that use Apache Cocoon to perform dynamic conversion to PDF/HTML: http://www.xml-dev.com/blog/#88 Here are some other utilities to convert to PDF: http://www.xml-dev.com/blog/#101 This one is pretty good: http://html2pdf.seven49.net/seven49.aspx? Thanks. Saqib Ali http://validate.sf.net robert mena <[EMAIL PROTECTED]> wrote on 09/06/2004 04:56:18 AM: > Hi, > > I plan to dynamic generate some of the documents I need on a regular > basis. Sometimes they only differ by the name of the company so my > first attempt would be to generate "templates" in word and ask/replace > for the values needed. > > I am evaluating the http://www.ros.co.nz/pdf/, www.fpdf.org and php > classes that generate pdf and as another option use docbook to > convert. > > I am not sure which way is better. > > From my point of view: > a) Both classes seem to be fine but in order to generate (static) > tables and other elements I will need a lot of programming > calls/variables. So I'd have a manual and perhaps tedious/error > procedure to convert the document into the "programable-version" of > it. > > b) I do not have experience with DocBook (even tough I can code html > and latex) but I could use an editor to generate the document with > the tables, place images etc. Identify the template variables and > call docbook to generate the pdf. I'd still have to manually convert > the file but would not need a lot of calls to generate a table or even > use a php programmer. I am assuming the the tags needed are more > easly understanded than $pdf->addCell($data,width..) > > Any ideias ? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php