Received: from 211.39.138.69 (211.39.138.69) 
	at KTMAIL with ESMTP Hanmir
	by hanmir.com;Thu, 05 Feb 2004 01:34:43 +0900
X-MsgID: 1075912483110433582.22.hanmir
Message-ID: <1075912483110433582.22.hanmir@hanmir.com>
X-RECEIVED-IP: 216.92.131.4
Received: (qmail 29239 invoked by uid 1010); 4 Feb 2004 16:33:25 -0000
Mailing-List: contact php-general-help@lists.php.net; run by ezmlm
Precedence: bulk
list-help: <mailto:php-general-help@lists.php.net>
list-unsubscribe: <mailto:php-general-unsubscribe@lists.php.net>
list-post: <mailto:php-general@lists.php.net>
Delivered-To: mailing list php-general@lists.php.net
Received: (qmail 29220 invoked by uid 1010); 4 Feb 2004 16:33:25 -0000
Delivered-To: ezmlm-scan-php-general@lists.php.net
Delivered-To: ezmlm-php-general@lists.php.net
Reply-To: <php-general@lists.php.net>
From: "Burhan Khalid" <phplist@meidomus.com>
To: "'Russell Seymour'" <russell.seymour@turtlesystems.co.uk>,
	<php-general@lists.php.net>
Date: Wed, 4 Feb 2004 19:33:22 +0300
MIME-Version: 1.0
Content-Type: text/plain;
	charset="windows-1256"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook, Build 11.0.5510
In-Reply-To: <20040204042401.49231.qmail@pb1.pair.com>
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Thread-Index: AcPq1rZd1T1WrnlzT4eWue/egJrreQAZPy9w
Y-Message-Id: <E1AoPxm-00067c-Fj@dell.kuwaitnet.net>
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - dell.kuwaitnet.net
X-AntiAbuse: Original Domain - lists.php.net
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - meidomus.com
Subject: RE: [PHP] Document generation from XML

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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

