/*
* Due to changes in the main cougar engine where it expects the operation names
* to start in lowercase, a bit of string handling to convert old tests' XML to
* conform to the new standard.
*/
XMLHelpers helper = new XMLHelpers();
String tmp = document.getFirstChild().getNodeName();
helper.renameRootElement(document, tmp.substring(0,1).toLowerCase(Locale.ENGLISH) + tmp.substring(1));
root.appendChild( newDocument.importNode(document.getDocumentElement(), true) );
}catch (ParserConfigurationException e) {
// logger.LogBetfairDebugEntry("Parser Error Setting REST PostQueryObject. " + e.getMessage());
}