}
MergingReport build = mergingReportBuilder.build();
StdLogger stdLogger = new StdLogger(StdLogger.Level.INFO);
build.log(stdLogger);
stdLogger.error(null, build.getMergedDocument().get().prettyPrint());
return build;
}
// merge the optionally existing xmlDocument with a lower priority xml file.