It is possible, but quite a bit of a roundabout method. Any particular reason you need to use XML?
Here is a rough idea of the steps:
Import your XML file as a project file. https://www.scirra.com/manual/141/files
Load the XML file into memory with AJAX.request. https://www.scirra.com/manual/107/ajax
Access the data with AJAX.lastdata.
Use tokenat() to parse the information you need from your XML file. https://www.scirra.com/manual/126/system-expressions
Use the information you got to set the Sprite Animation, or to destroy and replace with another Sprite.
I want to use to set a specific frame in according to the text that is shown, but it seems it takes a lot of work, so, I''try to find another solution. Thanks at all.