In ActionScript, I whittle down my XML to a series of nodes, all formed like this:
<option letter="A">
<letter>A</letter>
<response>Thank you</response>
<posFeed>Excellent</posFeed>
<negFeed>Terrible</negFeed>
<score>-1</score>
<elimOptions>B</elimOptions>
</option>
When I set this series as the dataProvider for my Spark list that uses a custom item renderer with a Spark label, I set the label.text={data}, which displays each full set of nodes as a list item.
If I don't want to whittle the XML down to just the nodes beforehand (I'd like the full set intact for other functions I have to perform), how can I set just the response node to be the data to use for the label in the itemRenderer? I tried setting the label text={data.response}, but that doesn't work (a full set of nodes still appears as each list item.
label.text = xml.response.text();- alxx