oops
var listAttribs:XMLList = myxml.t...@*;
var noOfAttribs:int = listAttribs.length();
var attrib:XML;
for (var i:int = 0; i < noOfAttribs; i++)
{
     attrib = listAttribs[i];
}

On 8 November 2010 13:58, allandt bik-elliott (thefieldcomic.com) <
alla...@gmail.com> wrote:

> yep
>
> var listAttribs:XMLList = myxml.t...@*;
> trace(listAttribs.length());
>
> best
> a
>
>
> On 8 November 2010 13:42, Lehr, Theodore <ted_l...@federal.dell.com>wrote:
>
>> Is there a way to return the attributes name of an xml node?
>>
>> So if I have:
>>
>> <tag a="1" b="2" c="3"/>
>>
>> I would get back:
>>
>> a, b, c
>>
>> _______________________________________________
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>
>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to