package{
import flash.display.Sprite;
public class Main extends Sprite{
public function Main(){
var novel:XML =
ActionScript
J, J
Books Ltd
;
trace(novel.TITLE.*[0].parent()); // Reference to the element
trace(novel.TITLE.*[0].nodeKind()); // Returns the string "text"
trace(novel.TITLE.*[0].toString()); // Returns the string "ActionScript"
}
}
}