private static Logger LOG = Logger.getLogger(XMLUtil.class.getName());
public final static String dump(DocumentFragment fragment) {
final StringWriter writer = new StringWriter();
final DOMSerializer serializer = new DOMSerializer();
serializer.setWriter(writer);
try {
serializer.serialize(fragment);
} catch (final TransformerException e) {
//Nothing to do ?
}
return writer.toString();
}