Xml attribute name

is there a way to get attribute name from xml? I can’t find any property that would return it…


var x:XML = <aaa name="something"/>;

I need ‘name’ in this case…