I have a response coming back from an HTTPService call in e4x format
as shown below.
In the debugger I can get to a lookup node by doing
_service.lastResult[0][0][0][0].id or something similar.
What I would expect to do is
_service.lastResult.response.data.lookups[0].id but this wont evaluate.
What am I doing wrong ?
I have tried casting the results to both an XML and XMLList variables
Using flex 2 release version
Thanks
BOb
<root>
<response name="GetLookup" language="en-UK">
<request>
<parameters>
<parameter value="*" name="seedValue"/>
<parameter value="GetLookup" name="action"/>
<parameter value="user_types" name="controller"/>
</parameters>
<starttime>29 Jun 2006 13:15:44</starttime>
<endtime>29 Jun 2006 13:15:44</endtime>
<duration>0.0</duration>
</request>
<status>
<code>OK</code>
<message/>
</status>
<errors/>
<data>
<lookups>
<lookup>
<id>6</id>
<col1>code 1</col1>
<col2>Code 1 name ---------X</col2>
</lookup>
<lookup>
<id>15</id>
<col1>code 10</col1>
<col2>Code 10 name ---------X</col2>
</lookup>
</lookups>
</data>
</response>
</root>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Something is new at Yahoo! Groups. Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~->
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/