Thanks for the reply.
Sorry I didn't understand what you mean by adding item tag. I am not sure if my question was clear. I have binded the list control with the tag description of the xml shown below. However, when I add the item to list through UI the added item shown in the list is not tag value as expected but somehow whole xml for the added elements gets added and displayed. I am not sure if I am missing some thing silly or some understanding of concept. The labelfunction works fine but not labelField. Do you have any ideas around that? Thanks Pradeep _____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Thursday, December 20, 2007 10:54 PM To: [email protected] Subject: RE: [flexcoders] Problem with XMLListCollection binding with listcontrol Try just adding item tag and not the outer order tag _____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Gupta, Pradeep Sent: Wednesday, December 19, 2007 10:05 PM To: [email protected] Subject: [flexcoders] Problem with XMLListCollection binding with listcontrol Hi, I am facing one problem while modifying the XMLListcollection binded with the list control. Every thing works fine as expected but when I modify the list (addition or renaming the list) through User Interface such as Pop up the added element the whole xml of the added item gets added however/! FONT> I was expecting the value of a particular tag. For e.g. XML is shown below List control has items binded to description element then it shows Big Screen Television DVD Player But when I add LCD Player through UI <order> <item id = "3456"> <description>LCD Player</description> <price>1299.99</price><quantity>1</quantity> </item> </order> is created. Any clues?? I am using the E4x format for the received xml and already defined the namespaces required for the xml parsing. public var xdata:XML = <order> <item id = "3456"> <description>Big Screen Television</description> <price>1299.99</price><quantity>1</quantity> </item> <item id = "56789"> <description>DVD Player</description> <price>399.99</price> <quantity>1</quantity> </item> </order>; Thanks

