Add codes to get xml samples