Creating an XMLList component to drive a List component : XMLList « Data Model « Flex
- Flex
- Data Model
- XMLList
Creating an XMLList component to drive a List component

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:XMLList id="myXMLList">
<user id="1">A</user>
<user id="2">B</user>
</mx:XMLList>
<mx:List dataProvider="{myXMLList}" />
</mx:Application>
Related examples in the same category