danhodkinson
January 30th, 2008, 12:54 PM
on the following Link http://www.kirupa.com/developer/flashcs3/using_xml_as3_pg6.htm
in the section Filtering Attribute Information
Kirupa takes you through filtering by the ISBN number, these results include the XML tags as well could anybody advise me how i would eliminate them in this section:
function ParseBooks(bookInput:XML):void {
trace("XML Output");
trace("------------------------");
var authorList:XMLList = bookInput.Book.(@ISBN == "0743203178");
trace(authorList);
}
i beleive its using the .text(); function but i can't find where to put it.
also, in order to load this information into a dynamic text box do i just replace trace with the destination of my text box?
Thanks
Daniel Hodkinson
in the section Filtering Attribute Information
Kirupa takes you through filtering by the ISBN number, these results include the XML tags as well could anybody advise me how i would eliminate them in this section:
function ParseBooks(bookInput:XML):void {
trace("XML Output");
trace("------------------------");
var authorList:XMLList = bookInput.Book.(@ISBN == "0743203178");
trace(authorList);
}
i beleive its using the .text(); function but i can't find where to put it.
also, in order to load this information into a dynamic text box do i just replace trace with the destination of my text box?
Thanks
Daniel Hodkinson