Loop through array to create XML objects

Hey Guys,
IM trying to loops through an array to create an XML object for each item…I dont seem to be able to nail the syntax though!

The code Im using is below…can anyone help?
[AS]
var sections:Array = [“newsXML”,“showsXML”];

for(var i:Number = 0; i < sections.length; i++){
var tempObj+""+i:XML = new XML();
}
[/AS]