Tracy Spratt wrote:
> This should be really easy, but I am struggling.  I need to return a
> node based on the value of its text node.  Below is the code I am using.

You need to specify the text node like so:

<code>

trace(myXML.item.(text() == "burger")[EMAIL PROTECTED]);

</code>

This returns 1.  Replacing the string "burger" with "fries" returns 2. 
I assume that this is the behavior that you're looking for.  E4X makes 
XML node resolution much easier than before, but getting the proper 
syntax for some of the more unusual constructions can be a little 
tricky.  :(

Jim Cheng
effectiveUI

Reply via email to