Hello
I would like to use the descendant accessor operator to extract all time-entry
nodes from
the event data containing the following XML and loop through them.
<time-invested>
<group-by>person</group-by>
<start-date>2008-03-23</start-date>
<end-date>2008-03-29</end-date>
<groups>
<group>
<title>me</title>
<total>12.45</total>
<time-entries>
<time-entry>
---nodes are here ----
</time-entry>
</time-entries>
</group>
</groups>
</time-invested>
I have tried this...
for each (var t:XML in event.result..time-entry)
but I get an error "1120: Access of undefined property entry".
I know this is due to the "-" in the element name but I do not know how to
escape it.
any help would be appreciated
Thanks
Todd