RE: [PHP] Document generation from XML
| From: | Burhan Khalid | Date: | Wed, 04 Feb 2004 16:33:22 +0000 |
| Subject: | RE: [PHP] Document generation from XML | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-176812@lists.php.net to get a copy of this message | ||
Russell Seymour wrote:
> Ray,
>
> I can create the XML of the document that I want to generate using
> the built in XML functions in PHP.
>
> THe thing I then want to do is be able to do is then use that XML to
> create documents in multiple formats, e.g. PDF.
>
> I think that I can use DocBook or Apache FO to do this, but I am not
> sure which one to use or how to go about doing it.
>
> Basically I want to be abel to speciy an output format and run the
> XML through a transformation to get that format.
>
> Does that make any more sense?
Yes, actually.
There is a great tutorial[1] over at IBM's DeveroperWorks that talks about
this. They call it the Toot-O-Matic, and it is a Java application that uses
an XML document to create PDF, ZIP, HTML, and even JPEG files to
auto-generate tutorials.
[ trimmed ]
[1] http://www-106.ibm.com/developerworks/xml/library/x-toot/index.html
( there are several links to toot-o-matic, but that should get you started )
--
Burhan Khalid
phplist[at]meidomus[dot]com