Reading Text Nodes and Their Values
package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var book:XML = <book> <title>ActionScript</title> </book>; var title:String = book.title.toString( ); trace( title ); } } }