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






Creating an XMLList component to drive a List component

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

1.Using an XMLList component to configure menu data
2.XMLListCollection component wrapped around an XMLList
3.Using XMLListUsing XMLList
4.Wrapping an XMLListCollection around an XMLList
5.Use an XMLListCollection objectUse an XMLListCollection object
6.Add an XMLList to an XML Object
7.Bind to an XMLList or an E4X QueryBind to an XMLList or an E4X Query
8.Filter and Sort an XMLListCollectionFilter and Sort an XMLListCollection
9.XMLListCollection With ListXMLListCollection With List
10.Time formatTime format