[flexcoders] Re: Flex2B2 simple question regarding xml attributes

2006-04-12 Thread bhaq1972
xl.length(); i++) > > { > > trace (xl[0].toXMLString(); > > // or try typeof, nodeKind(), etc. > > } > > > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of bhaq1972 > Sent: Tuesday, April 11, 2006 1:40 AM > To: flex

RE: [flexcoders] Re: Flex2B2 simple question regarding xml attributes

2006-04-11 Thread Werner Sharp
etc. }   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of bhaq1972 Sent: Tuesday, April 11, 2006 1:40 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex2B2 simple question regarding xml attributes   i did the following for each (

[flexcoders] Re: Flex2B2 simple question regarding xml attributes

2006-04-11 Thread bhaq1972
i did the following for each (var a:Object in [EMAIL PROTECTED]) { trace (a.name()); trace (a.toXMLString()); } a.name doesn't trace anything. a.toXMLString() traces the attribute value. so we're half way their. --- In flexcoders@yahoogroups.com, "bhaq1972" <[EMAIL PROTECTED]> wrote:

[flexcoders] Re: Flex2B2 simple question regarding xml attributes

2006-04-11 Thread bhaq1972
Hi Werner. Thanks the suggestion. I wasn't able to run this because i'm getting a "access to undefined property 'a'" compile error --- In flexcoders@yahoogroups.com, "Werner Sharp" <[EMAIL PROTECTED]> wrote: > > How about this... > > > > var xml1:XML = > > > > for each (a in [EMAIL PROT