XML parse and animation