I understand abiword uses an XML based format, see http://www.abisource.com/twiki/bin/view/Abiword/FaqFileFormat You should find the xml.dom modules useful, perhaps parsing and updating a template created in abiword. Paul Clinch