Add an XMLList to an XML Object : XMLList « Data Model « Flex






Add an XMLList to an XML Object

         

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">

<mx:Script>
        

          var xmlNode:XML = <data>
            <item id="1"/>
            <item id="2"/>
            <item id="3"/>
                </data>
    
  
    </mx:Script>
</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.Creating an XMLList component to drive a List componentCreating an XMLList component to drive a List component
4.Using XMLListUsing XMLList
5.Wrapping an XMLListCollection around an XMLList
6.Use an XMLListCollection objectUse an XMLListCollection 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