Here is my xml
<frags>Your partner for global.</frags>
<frags>Your partner for asia.</frags>
<frags>Your partner for africa.</frags>
My question is - With the above structure of XML I need to populate the data to a datagrid. I need only the string attribute from the txt node and frags node value. So my datagrid will only contain string number as first column and frags node text in the second column. My problem is txt node will be at any level in the xml document so how do I write my code to pick up all the txt & frags nodes irrespective of its level. lastresult.* doesn't seem to work? I'm using http service to get the xml as e4x.
Any help would be appreciated and sorry if this question was answered previously on this forum.
use .. to pick up any descendant:
dataProvidet = xml..txt
set "@string" as dataField for first column and "frags" as dataField for second