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.
Tracy
________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Jason
Sent: Friday, July 18, 2008 3:25 PM
To: [email protected]
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, why did you say, "attribute() method is
safer than @"? Just curious - I'm always eager to learn..
Jason