XML and animation