# Loaded XML content problem

**URL:** <https://forum.kirupa.com/t/loaded-xml-content-problem/269387>\
**Category:** flash\
**Created:** [August 26, 2008, 9:22pm UTC](https://forum.kirupa.com/t/loaded-xml-content-problem/269387 "2008-08-26T21:22:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![spectator](https://avatars.discourse-cdn.com/v4/letter/s/47e85d/32.png) [@spectator](https://forum.kirupa.com/u/spectator)\
**Post date:** [August 26, 2008, 9:22pm UTC](https://forum.kirupa.com/t/loaded-xml-content-problem/269387/1 "2008-08-26T21:22:41Z")

</div>

Hi all 🙂 I am trying to load info from a xml file and then use it. I can load the info and store it into a XML or XMLList, but a problem appears after that. I have a xml with questions node and two nodes which are named part1 and part2. In both part1 and part2 there are questions nodes and options nodes. What I am trying to do is push question from part1 and part2 into a Array. I have this code

```auto
function ShowQuestions():void {
	for (var i:Number=0; i < questions; i++) {
		ArrayJoin = "xmlList.part" + (i+1) +".question.text()";
		QuestArray.push(xmlList.part1.question.text());
		QuestArray.push( "sasfasf");
		trace(QuestArray);
		trace (ArrayJoin);
		
	}

```

questions var shows me how many parts I have. I was trying to do something with the variable ArrayJoin and use it to show which part of the xmlList I want to push into the array. But when this variable is String it just adds the String to the array. Please help me. 10x in advance 🙂
