rbmyxml is a PHP class to generate XML data files from generic SQL queries. It works with MySQL.

URL is :
http://www.errebit.com/opensource/index.php?rb=rbmyxml