CleanerProperties props = cleaner.getProperties();
props.setUseEmptyElementTags(false);
TagNode node = cleaner.clean(sb.toString());
Document myJDom = new JDomSerializer(props, true).createJDom(node);
XMLOutputter outputter = new XMLOutputter(Format.getPrettyFormat());
sbResult.append(outputter.outputString(myJDom));
}
catch (IOException e) {logger.error(e);}
return sbResult;