# Select all attributes of the same name in an XML file

**URL:** <https://forum.kirupa.com/t/select-all-attributes-of-the-same-name-in-an-xml-file/326019>\
**Category:** flash\
**Created:** [November 17, 2011, 6:19pm UTC](https://forum.kirupa.com/t/select-all-attributes-of-the-same-name-in-an-xml-file/326019 "2011-11-17T18:19:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flashgroove](https://avatars.discourse-cdn.com/v4/letter/f/b5e925/32.png) [@flashgroove](https://forum.kirupa.com/u/flashgroove)\
**Post date:** [November 17, 2011, 6:19pm UTC](https://forum.kirupa.com/t/select-all-attributes-of-the-same-name-in-an-xml-file/326019/1 "2011-11-17T18:19:55Z")

</div>

Is it possible to select all attributes of the same name in an XML file ?

I have managed to select all elements of the same name but I cannot find a solution to select all attributes of the same name.

```auto
for each(item in xmlObject..elementName)
{
    // something
}

```
