/**
* @param file
* @return
*/
private String getXMLBody(File file) {
XMLBody body = new XMLBody();
try {
body.loadXML(new FileInputStream(file));
if (body.isRootName(getRootTag())) {
return body.getContent();
}
} catch (FileNotFoundException e) {
getLog().warn("Not found include file ", e);
} catch (ParsingException e) {
getLog().warn("Error parsing include file ", e);