package{
import flash.display.Sprite;
public class Main extends Sprite{
public function Main(){
var dialog:String = "Lorem ipsum dolor sit amet";
var XMLString:String = "";
var xml:XML = XML(XMLString);
trace(xml.text()); // Displays: Lorem ipsum dolor sit amet
}
}
}