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

Home
Flex
1.Chart
2.Components
3.Container
4.Data Model
5.Development
6.Effects
7.Event
8.Graphics
9.Grid
10.Style
Flex » Data Model » XML Data BindingScreenshots 
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
w_ww___._ja___va2___s___.c___om | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.