# Dynamic XMLList

**URL:** <https://forum.kirupa.com/t/dynamic-xmllist/274413>\
**Category:** Uncategorized\
**Created:** [October 29, 2008, 6:24pm UTC](https://forum.kirupa.com/t/dynamic-xmllist/274413 "2008-10-29T18:24:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrbelv](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@mrbelv](https://forum.kirupa.com/u/mrbelv)\
**Post date:** [October 29, 2008, 6:24pm UTC](https://forum.kirupa.com/t/dynamic-xmllist/274413/1 "2008-10-29T18:24:07Z")

</div>

if I have this…

var base:XML = XMLfile.someNode;

var foo:XMLList = base.service.testTest.sb.description;

…and everything works so far, but then I need to pass a variable to replace the “sb” node, how can I essentialydo this:

var foo:XMLList = base.service.testTest. + someVar + .description;

I know you can’t do it this way, but I’ve tried it too many different ways to post them all here and nothing works at all.
