Yannick Warnier wrote:

> but you can't generate a PDF using XML and XSLT, although XSLT is, to
> my understanding, made to enable export in various formats from the
> same XML file.

XSLT is a style language, and you could quite possibly make it produce a
PDF. 

> It seems that in this case (exporting from XML to PDF), you need to
> first convert the XML to a XSL-FO format (using XSLT) and then convert
> that XSL-FO format into PDF, and the only way to do that last step at
> the moment seems to be to use Apache's FOP project, which requires
> Java and a server-side component that you are unlikely to be
> authorized to install on a low-cost hosting server.

There is more than one way to skin a cat.  I generate PDFs in batch
using an OpenOffice document template (which is XML anyway), merge that
with my XML data using xalanc, and then openoffice to create the PDF. 


/Per Jessen, Zürich

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to