Load XML node into text field?

I"m at a point where I can’t figure out the next step.

I’m trying to lead some of the text from an XML file into a text field.
I’m pretty sure this needs to be a dynamic text field so I can put an instance name on it.

I just dont know how to implement that.

Any help would be appreciated.



var xmlLoader:URLLoader = new URLLoader();
var xmlData:XML = new XML();
 
xmlLoader.addEventListener(Event.COMPLETE, LoadXML);
 
xmlLoader.load(new URLRequest("http://www.kirupa.com/net/files/sampleXML.xml"));
 

function LoadXML(e:Event):void {

xmlData = new XML(e.target.data);
ParseBooks(xmlData);

}
 
function ParseBooks(bookInput:XML):void {

trace("XML Output");
trace("------------------------");
trace(bookInput.Book.author.text()[0]);

}


Yeah I want to make them as symbols on the stage, not by using AS, but I’m not sure how to make the XML node appear in it.

For example
http://dnadillo.dn.ua/fla/XML/XML.swf
http://dnadillo.dn.ua/fla/XML/mur_xml_file.xml
http://dnadillo.dn.ua/fla/XML/XML.rar

[SIZE=2]Question? Why I have a comma at the beginning phrases?
[/SIZE]