I am pretty sure I used something before that will automatically make the XML file for the sprite you select, it was a website but I cannot remember it, does anyone know of one or an app?
I know of one where you upload an archive of images and it converts them to a sprite sheet then gives you the locations for each.. but it doesn't do it ino an .XML file.