I am importing an XML file into Flash, but when I trace the content of the XML file, only the 1st two nodes show. Is there something wrong with my XML mark-up?
XML:
and loading XML in Flash thusly:Code:<?xml version="1.0" encoding="utf-8" standalone="yes"?> <company> <quote url="images/pall_logo.png">Stability was a key factor in choosing AssurX. We were able to go into their demo server and test the product on our own allowing us to fully evaluate functionality and performance.</quote> <quote url="images/genzy_corp_logo.png">We felt AssurX's ease of configurability allowed us to continue to adapt our processes and solutions to Genzyme's increasing product portfolio, facilities and international markets.</quote> <quote url="images/abn_amro.png">Within two weeks of our on—site meeting with AssurX, we were entering data into a validated system configured to the way we do business.</quote> <quote url="images/echolab_logo.png">It's just an outstanding solution that is helping us more and more each day.</quote> <quote url="images/quote5_logo.png">Quote 5.</quote> <quote url="images/quote6_logo.png">Quote 6.</quote> </company>
Code:var myXML:XML = new XML(); myXML.ignoreWhite=true; myXML.load("news_content2.xml"); myXML.onLoad = function(success:Boolean):Void { if (success) { trace (myXML); }; }



Reply With Quote
Bookmarks