Skip this: var myXML:XML = dataSet[0]; //dataSet is aleady XML
Do: trace(dataSet.toXMLString()); // USE toXMLString() always with xml Try: var myXMLList:XMLList = dataSet..Trackpoint; //NOTE CASE of TrackPoint Tracy ________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nate Pearson Sent: Thursday, April 17, 2008 4:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Problems walking XML file with E4X So I'm new to this whole xml thing (i usually use objects). I have this xml file: http://trail.motionbased.com/trail/export.mb?episodePkValues=5413584&tra iningCenterExport.courseMode=true <http://trail.motionbased.com/trail/export.mb?episodePkValues=5413584&tr ainingCenterExport.courseMode=true> The structure is like this: <TrainingCenterDatabase> <Courses> <CourseFolder> <Course> <Track> <Trackpoint/> <Trackpoint/> <Trackpoint/> I want to get to the Trackpoint data. In my App I have (I renamed the file): <mx:XML id="dataSet" source="data/frankTT.xml" format="e4x" /> Then to put it into an XMLList I go: var myXML:XML = dataSet[0] var myXMLList:XMLList = myXML..TrackPoint That doesn't work though, myXMLList is empty! How do I walk this file? Thanks! Nate