XML, Looping through an array

I have an XML document that loading into Flash. I have a dynamic text box on the stage that I am writing the XML to. My problem is, I have 6 group names that I am pulling from my XML file and I want to write each one of them to the text box and add a line break to the end. This is my code:

var group= this.firstChild.firstChild.childNodes;
for (var i=2; i<group.length; i++){
divBox[‘divInfoLinks’].htmlText = this.firstChild.firstChild.childNodes*.attributes.name;
}

When I trace * it lists all 6 names, however my text box only shows the last name in the array. Any thoughts?