Loading XML(names) from array?

ok so i have this array from which i wanna fetch names of the XML files i want to load in their XML object, so i write like this but it doesn’t work

var meniXML = new Array(“onama”, “ponuda”, “ref_lista”, “show_room”, “kontakt”);

for (i=0; i<meniXML.length; i++) {

meniXML* = new XML();
meniXML*.ignoreWhite = true;
meniXML*.load(meniXML*+".xml");

}

i did try some other variations, but hope someone tells me correct one :slight_smile: