Populate a Component with Complex XML Data
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"> <mx:XMLList id="foodXML"> <menu label="Menu"> <breakfast_menu label="Breakfast"> <food label="A" price="$6.5" description="Option A"/> <food label="B" name="name for B" price="$7.5" description="Option B"/> </breakfast_menu> <lunch_menu label="Lunch"> <food label="C" price="$8.5" description="Option C"/> </lunch_menu> </menu> </mx:XMLList> </mx:Application>