# XML list all nodes with a specific attribute?

**URL:** <https://forum.kirupa.com/t/xml-list-all-nodes-with-a-specific-attribute/323687>\
**Category:** Uncategorized\
**Created:** [July 12, 2011, 6:55pm UTC](https://forum.kirupa.com/t/xml-list-all-nodes-with-a-specific-attribute/323687 "2011-07-12T18:55:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Uli](https://avatars.discourse-cdn.com/v4/letter/u/ccd318/32.png) [@Uli](https://forum.kirupa.com/u/Uli)\
**Post date:** [July 12, 2011, 6:55pm UTC](https://forum.kirupa.com/t/xml-list-all-nodes-with-a-specific-attribute/323687/1 "2011-07-12T18:55:19Z")

</div>

I’m looking for a way to list all XMLNode that have a certain attribute, in my case, the “link” attribute.  
So i do :

```auto

var list:XMLList = xml..@link;
for each(var i in list)	{
	trace(i);
}

```

But this traces the value of the attribute and not the node containing the attribute…  
How to trace the node??
