Are you talking one file with multiple XML messages or one XML message with multople loops?
You can do the second case in Xlate as long as the schema supports it. However, in any case, I would split into single messages and feed through Xlate one at a time