Dear All,

I am returning XML string from PHP. It is just Static String .Format is
below .

<record><Company name="abc" /><Company name="bcd" /><Company name="efg"
/></record>

In flex I am converting into   XMList using :-       new
XMLList(event.result as String)

and assigning it to Combox

<mx:ComboBox id="IDSub" dataProvider="{abc1}" labelField="@name"/

But this is not working . As per my understanding it should not consider
root element and should populate the combobox.

If I send the XML in the below formatted String it is working fine

<Company name="abc" /><Company name="bcd" /><Company name="efg" />

Can some body explain me why ?

Regards
Kiran

--

You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.


Reply via email to