Add the begging of the XML builder
Add a test/debug script
Add a function to get the data form DB

Missing the end of the XML builder

Bugged function get_list_quest() in gen_xml.php