XML text in a String into an actual XML object, whereas a cast would fail.
package{
import flash.display.Sprite;
publicclass Main extends Sprite{
public function Main(){
var myXml:XML = XML("<root><party><time>Now</time><location>Here</location></party></root>");
trace(myXml.party[0].time); //Now
}
}
}