String docTypeTagWithRoot = DOC_TYPE_TAG +
fileUtils.addRoot(GetMessageConfig.GET_MESSAGE_DTD_FILE) + "\">";
DOMPrinter domPrinter = new DOMPrinter();
String docStr = domPrinter.printToString(docElements,XML_DOC_HEAD,
docTypeTagWithRoot);
String xmlDocStr = strings.substitute("&((amp;)?#?\\w+;)",
"&$1", docStr);
/*String uniqueName = fileUtils.getUniqueFileName(