how to use xml conversion