What is the Flex/AS3/E4X equivalent of this xpath query?
- by Chris R
Given this document:
<doc>
<element>
<list>
<key attr='val'/>
</list>
</element>
<element>
<list>
<key attr='other'/>
</list>
</element>
<element>
<list/>
</element>
</doc>
I want an e4x equivalent of the xpath //element[list/key/@attr="val"]. Is it possible to do that?