Load Multiple xml files

Hi,

I have an array filled with xml files locations.

I want to load each one in and then attach the result to a variable, which describes its content, e.g. contact, home, support etc.

Is there a wau of doing this with a loop?

Also I would like to know the total size of all the files and how much is loaded whilst loading, for the preloader.

thanks in advance.

ash