Use .. notation during XML binding : XML Data Binding « Data Model « Flex






Use .. notation during XML binding

Use .. notation during XML binding
        

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
  <mx:Script>
    
    [Bindable]
    public var xdata:XML = <order>
        <item id = "1">
          <description>A</description>
        </item>
        <item id = "2">
          <description>B</description>
        </item>
      </order>;
  </mx:Script>
  <mx:Label text="Using .. notation." />
  <mx:List width="25%" dataProvider="{xdata..description}" />
</mx:Application>

   
    
    
    
    
    
    
    
  








Related examples in the same category

1.XML BindingXML Binding