# Accessing an XML node through a variable

**URL:** <https://forum.kirupa.com/t/accessing-an-xml-node-through-a-variable/282565>\
**Category:** Uncategorized\
**Created:** [February 23, 2009, 7:35pm UTC](https://forum.kirupa.com/t/accessing-an-xml-node-through-a-variable/282565 "2009-02-23T19:35:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![andriusain](https://avatars.discourse-cdn.com/v4/letter/a/e5b9ba/32.png) [@andriusain](https://forum.kirupa.com/u/andriusain)\
**Post date:** [February 23, 2009, 7:35pm UTC](https://forum.kirupa.com/t/accessing-an-xml-node-through-a-variable/282565/1 "2009-02-23T19:35:41Z")

</div>

Hello I would like to access an xml node through a variable.

something like the following:

```auto
my_images = myXML.(myVariable.name).IMAGE;

```

but of course it does not work.

Any help would be much appreciated.

Andres.
