Mega Code Archive
Attribute parent() returns the element on which the attribute is defined
package{
import flash.display.Sprite;
public class Main extends Sprite{
public function Main(){
var novel:XML =
ActionScript
J, J
Books Ltd
A very thick book.;
trace(novel.@ISBN.parent()); // Returns the element
}
}
}