There is a pear package that does this: XML_sql2xml.
It's at: http://pear.php.net/package-info.php?pacid=18
There is more info at: http://php.chregu.tv/sql2xml/
It's pretty flexible. But not so complicated that you cannot read through the code to figure out what's going on.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php