odf-xslt
The ODF-XSLT Document Generator is a library written in PHP 5 that brings the full power of XSLT to your OpenDocument files. It enables you to use ODF files as if they were plain XSLT templates. It supports multiple document types (text, spreadsheet, etcetera), has full XSLT support and it allows templates to be edited from within your favourite office suite, such as OpenOffice.org or KOffice 2. ODF-XSLT comes with a commandline tool for quick conversions.