[FIXED JENKINS-14864] Merge multiple XMLs

Applied patch provided by David Churchill in the Jenkins issue.