1 Reply Latest reply on Jul 14, 2006 1:33 PM by mac_martine

    Flex binding to an xml attribute

    bobjase
      Does flex binding allow using an xml attribute?

      I can't seem to get it to wkr. the code i am using is below:


      <mx:XMLList id="gridData">
      <rssFeeds>
      <feed label="label1" urlText=" http://www.url1.com/index.rdf" />
      <feed label="label2" urlText=" http://www.url2.com/index.rdf" />
      </rssFeeds>
      </mx:XMLList>



      <mx:DataGrid id="dgFeeds" width="95%" height="95%"
      dataProvider="{gridData.rssFeeds}">
      <mx:columns>
      <mx:DataGridColumn headerText="Feed Name" dataField="@label" />
      <mx:DataGridColumn headerText="Link" dataField="@urlText" />
      </mx:columns>
      </mx:DataGrid>

      Can anyone help?