Element root = doc.createElement("repository");
root.setAttribute("name", repositoryName);
doc.appendChild(root);
for (ModelledResource mr : byValueBundles) {
BundleResource bundleResource = new BundleResource(mr, repositoryAdmin);
if (bundleResourceTransformers.size() > 0) {
for (BundleResourceTransformer brt : bundleResourceTransformers) {
bundleResource = brt.transform (bundleResource);
}
}