changing mysql to xml