You're probably getting an e4x error on the first empty node (because Attribute
doesn't exist there).
Try to avoid this issue by using the "hasOwnAttribute" function to make sure
that "Attribute" actually exists in that node. This probably isn't it, but
it's close:
xmlRoot..(hasOwnAttribute("
excoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael
Labriola
Sent: Friday, October 20, 2006 11:07 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: E4X Help
Tangent,
Remove the {} from around selected :
var counties:XMLList = _myXml.state.(@label=selected).county;
Mike
Tangent,
Remove the {} from around selected :
var counties:XMLList = _myXml.state.(@label=selected).county;
Mike
--- In flexcoders@yahoogroups.com, "Tan" <[EMAIL PROTECTED]> wrote:
>
> I try writing two comboboxes to facilitate selection of the
following XML,
>
>
>
>
>
3 matches
Mail list logo