hello, I am trying to parse through the xml responce as detailed below. I am specifically interested in "ValueList" and "LabelList"
I have made some attempts :
var xmlData:XML=new XML(result["ValueList"]);
trace(xmlData);
the trace output shows
"undefined,undefined,undef
ined,undef
ined,undef
ined"
funny enough it shows the correct number of items.
Where have I gone wrong..can any one help me out?
<ItemDescription>22-WS-010
Transfer Conveyor t/h Scaled</ItemDescription>
<ItemName>A21004WIT</ItemN
ame>
<ItemValue>1192</ItemValue
>
<time>5/31/2008 1:52:51 PM</time>
<PoleRate>15</PoleRate>
<numitems>BPB undefined</numitems>
- <ValueList>
<string>66</string>
<string>668</string>
<string>961</string>
<string>1109</string>
<string>1192</string>
</ValueList>
- <LableList>
<string>5/31/2008 12:59:31 PM</string>
<string>5/31/2008 1:12:51 PM</string>
<string>5/31/2008 1:26:11 PM</string>
<string>5/31/2008 1:39:31 PM</string>
<string>5/31/2008 1:52:51 PM</string>
</LableList>
Start Free Trial