1 Reply Latest reply on Jun 26, 2007 7:27 AM by golubeva

    2 XML files in one table

    RandallWright
      How do I include 2 XML files in one table? I hink I am on the right track.

      <mx:HTTPService
      id="declare1ID"
      url=" http://dev.website.com/rss/file1xml"
      useProxy="false"/>

      <mx:HTTPService
      id="declare2ID"
      url=" http://dev.website.com/rss/file2xml"
      useProxy="false"/>

      <mx:DataGrid x="20" y="69" id="dgPosts" width="652" dataProvider="{declare1ID.lastResult.rss.channel.item}" height="256" cornerRadius="4" color="#000000" themeColor="#44697D" borderStyle="inset" borderThickness="0">
      <mx:columns>
      <mx:DataGridColumn headerText="Article Title" dataField="title"/>
      <mx:DataGridColumn headerText="Date Published" dataField="pubDate" width="190"/>
      </mx:columns>
      </mx:DataGrid>

      Now I just need to combine the content and display it in the grid together preferably sorted by pubDate.