}
private static String createDataSourceXml(DataSource dataSource, Map<FileAndChecksum, List<FileAndChecksum>> fileAndChecksums, String... filterUrls) throws IOException {
slash.navigation.datasources.binding.ObjectFactory objectFactory = new slash.navigation.datasources.binding.ObjectFactory();
DatasourcesType datasourcesType = objectFactory.createDatasourcesType();
DatasourceType datasourceType = asDatasourceType(dataSource, fileAndChecksums, filterUrls);
datasourcesType.getDatasource().add(datasourceType);
return DataSourcesUtil.toXml(datasourcesType);
}