Hank
Put two dots between tree and * to get all descendants of arbitrary depth:
tree..*.(@data == n)
- Gordon
From: [email protected] [mailto: [email protected]] On Behalf Of hank williams
Sent: Tuesday, June 27, 2006 5:52 PM
To: [email protected]
Subject: [flexcoders] simple E4X question
I have an XML _expression_ that is a tree. I want to find the node that has and id of "n", where the node could be at any level of the tree. It seems to me the e4x stuff that I have read seem to presume you are attempting to access a structured tree where all of the fields of a particular type are at a given level, but this cant be true.
In any case, the below code works for the top level, but does not find matching nodes that are below the top level.
var item:XMLList=tree.*.(@data="">
Hank
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

