> If you use @label in an e4x expression, and if any of the nodes in the
> xml does not have the "label" attribute, the expression will error.
If
> you use the attribute("label") syntax it will not error.
Good to know, thanks.
Jason
s.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jason
Sent: Friday, July 18, 2008 3:25 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Expanding Tree Node Based On Attribute Match
I'm working on answering your questions - may not get to them before
the weekend, but meanwhile, wh
I'm working on answering your questions - may not get to them before
the weekend, but meanwhile, why did you say, "attribute() method is
safer than @"? Just curious - I'm always eager to learn..
Jason
?
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jason
Sent: Friday, July 18, 2008 2:22 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Expanding Tree Node Based On Attribute Match
> Did you look at my example?
Thanks, and I did, but I couldn
> Did you look at my example?
Thanks, and I did, but I couldn't pick out anything that would help, at
least noting that I am not already doing. It's part of a huge Flex app
(well, huge to me, 110+ class files so far), so what part would you
like me to post? I'm not sure what information you'r
44 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Expanding Tree Node Based On Attribute
Match
Did you look at my example?
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jason
Sent: Thursday, July 17, 2008 5:
Did you look at my example?
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jason
Sent: Thursday, July 17, 2008 5:03 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Expanding Tree Node Based On Attribute Match
--- In flexcoders@yahoogroups.com, "Jason" <[EMAIL PROTECTED]> wrote:
>
> Thanks Tracy, that got me really close to wrapping this up. I was
> able to find the node and isolate it, however the tree is not
> expanding that node.
>
> var topic:String = "Add Skill";
> var xmlListSearch:XMLList = xm
Thanks Tracy, that got me really close to wrapping this up. I was
able to find the node and isolate it, however the tree is not
expanding that node.
var topic:String = "Add Skill";
var xmlListSearch:XMLList = xml.menuTree..folder.(attribute("topic")
== topic);
var foundNode:XML = xmlListSearch
9 matches
Mail list logo