nu.xom.Document senddoc = new nu.xom.Document(root);
System.out.println(senddoc.toXML());
try {
XOPData data = new XOPData();
data.setDocument(senddoc);
this.xcfpublisher.send(data);
} catch (Exception ex) {
System.out.println("Couldnt send document" + ex);
}
}