parse moodle file xml