The ODF-XSLT Document Generator is a library written in PHP 5 that brings the full power of XSLT to OpenDocument files. It enables you to use ODF files as if they were plain XSLT templates. It also includes a few extra parsing options that allow you to edit the XSLT parts of these ODF from within your favourite office suite. ODF-XSLT is released as Free Software (GPLv3).

PHP OpenOffice.Org Template

Creator: Provincia di Lucca, ciancia at di.unipi.it

This is a project to build a simple template engine to modify ODF documents from PHP. The purpose is to enable ODF users to write templates, including user variables that can be set programmatically. This gives one the possibility to create pre-defined forms directly in an application, and then to fill in the form fields from PHP, e.g. taking the input from an html form, and to serve an ODT, RTF or PDF document.

The power of the library comes from XSLT manipulation of the odt format. You can create your own xslt transformations and apply those to the odt document, that can subsequently be converted using php-o3-template. If no conversion (e.g. into PDF or RTF) takes place, then the system will not use other software (e.g. an openoffice.org runtime), and it will be very fast. If needed, an openoffice.org instance will be automatically run in a virtual X server, and will be kept running to minimise response times on subsequent invocations.

http://php-o3-template.sourceforge.net