2 Replies Latest reply on Jul 31, 2009 7:22 AM by Gregory Lafrance

    How to: Use an XMLListCollection as data binding and use the underlying XML

    MikePeak8 Level 1

      I have the typical data-over-the-web-tutorial type problem where I want to get XML data from a web source and display it in a DataGrid.  I have this working.  Now I want to have the user select an entry from the DataGrid and use its position to allow me to select the XML and feed it into another web call as input data.

       

      What's the best way to do this?  I cannot use the XMLListCollection as XML, so I cannot utilize E4X for the second lookup.  If I switch the first web call to resultFormat="e4x" then the data binding doesn't work.  Do I get the data in e4x format and then build a XMLListCollection? TIA!