package{
import flash.display.Sprite;
public class Main extends Sprite{
public function Main(){
var movieList:XML =
My favorite movies
Titus
1999
J T
Rushmore
1998
W A
Hall
1977
Woody Allen
;
movieList.movie.(@id == 123).setChildren(null);
trace(movieList.movie.(@id == 222).toXMLString());
movieList.movie.(@id == 123).setChildren(Sleep +
2006 +
M G +
Romance );
trace(movieList.movie.(@id == 123).toXMLString());
}
}
}