String xml = buffer.toString();
if (!model.getNs().equals(springNS)) {
// !!!
xml = xml.replaceAll(springNS, model.getNs());
}
Document camelDoc = parse(new XMLStringSource(xml));
Node camelElem = camelDoc.getRootElement();
// TODO
//val camelElem = doc.importNode(element, true)