# XML traversal

**URL:** https://forum.kirupa.com/t/xml-traversal/255857
**Category:** flash
**Created:** [March 27, 2008, 4:58pm UTC](https://forum.kirupa.com/t/xml-traversal/255857 "2008-03-27T16:58:31Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ednasgoldfishuk](https://avatars.discourse-cdn.com/v4/letter/e/f6c823/32.png) [@ednasgoldfishuk](https://forum.kirupa.com/u/ednasgoldfishuk)
#### Post date: [March 27, 2008, 4:58pm UTC](https://forum.kirupa.com/t/xml-traversal/255857/1 "2008-03-27T16:58:31Z")

</div>

As with most people im new to this AS3 thing, I have been using flash for a while and also recently been dropped into flex, if someone could clarify if the syntax im using to traverse an XML is correct? my ‘where’ clause is the id of the content but i then need to get the name of the parent node?

```
    var str2:String = xmlPropertyDataObjects.Property.Category.Scene.Content.(@ID == currentPresentationItem)[0].parent.@Name;

```

thanks in advance, ive been using this site for years, the tutorials are ace!
