Are you getting a compile error?  If so, I start deleting parts of the
XML until it stops complaining and then examine what made the
difference.

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Greg Morphis
Sent: Friday, March 16, 2007 9:19 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] xml document not well-formed?

 

I'm trying to load XML data into a list.. I can see the data in the
Eclipse Console and it looks well-formed to me..
<locations>
<default>
<locationid>4131</locationid>
<city>Footown</city>
<stateid>AL</stateid>
<location>123 Hwy, Footown, AL</location>
<state>ALABAMA</state>
<mgrname>Hams,Johnny C</mgrname>
<c_schedulestatusid>-1</c_schedulestatusid>
</default>
</locations>

I'm trying to access it like this...

<mx:List borderStyle="none"
id="defaultlocs"
dataProvider="{MyModel.getInstance().DALocationsXML.default}"

 

Reply via email to