A utility class to generate XML of a mysql table. You have to define the database and table name, furthermore you have to specify the xml tag names to be used for each table column. Support for SQL where clauses is also available. The mysql2xml class requires the PEAR db class.
I have not tested the class myself, but it seems to be an interesting utility class. I packed the mysql2xml class together with the lates PEAR db class and uploaded it to my download site and blogtorrent.