Tracy
From: [email protected] [mailto:[email protected]] On Behalf Of flex scripter
Sent: Thursday, June 09, 2005 3:26 PM
To: [email protected]
Subject: [flexcoders] Doubt about DataGrid and XML
My code looks like this :
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx=" http://www.macromedia.com/2003/mxml" >
<mx:Model id="temp" source="xml_src.xml"></mx:Model>
<mx:DataGrid id="dg" dataProvider="{temp.employee}"/>
</mx:Application>
and in my XML file if I have
<employees>
<employee name ="Christina Coenraets" phone ="555-219-2270" email=" [EMAIL PROTECTED]" active="true"/>
<employee name ="Louis Freligh" phone="555-219-2100" email=" [EMAIL PROTECTED]" active="true"/>
</employees>
The data grid is populated. But if I have just
<employees>
<employee name ="Christina Coenraets" phone ="555-219-2270" email=" [EMAIL PROTECTED] " active="true"/>
</employees>
My data grid isnt getting populated.
What am I missing here ??
Thanks for your time and advice
Regards
Fx.
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

