Exports the MySQL internal format as XML.