# Xml attribute name

**URL:** <https://forum.kirupa.com/t/xml-attribute-name/230802>\
**Category:** Uncategorized\
**Created:** [June 29, 2007, 1:12am UTC](https://forum.kirupa.com/t/xml-attribute-name/230802 "2007-06-29T01:12:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sasxa](https://avatars.discourse-cdn.com/v4/letter/s/da6949/32.png) [@sasxa](https://forum.kirupa.com/u/sasxa)\
**Post date:** [June 29, 2007, 1:12am UTC](https://forum.kirupa.com/t/xml-attribute-name/230802/1 "2007-06-29T01:12:44Z")

</div>

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

```auto

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

```

I need ‘name’ in this case…
