package{
import flash.display.Sprite;
public class Main extends Sprite{
public function Main(){
var contentTest:XML =
Lorem Ipsum
;
trace(contentTest.a.hasSimpleContent()); // Displays: true
trace(contentTest.b.hasSimpleContent()); // Displays: true
trace(contentTest.c.hasSimpleContent()); // Displays: false
trace(contentTest.d.hasComplexContent()); // Displays: false
}
}
}