how can i create xml files from mysql database. Currently i'm doing that with simple file handling in php. but i believe there is a better way to do that. May be xml writer, but have never used that.
I am using php 5 and tried dom methods like domxml_new_doc,add_root etc. but those methods are not working may becoz of the version of php.