OutputFormat format = new OutputFormat("xml", "UTF-8", true); format.setLineWidth(60); format.setOmitXMLDeclaration(true);
DOMSerializer serializer = DOMSerializerPool.getInstance().borrowDOMSerializer(); serializer.reset();
	public final static String dump(DocumentFragment fragment) {		OutputFormat format = new OutputFormat("xml", "UTF-8", true);		format.setLineWidth(60);		format.setOmitXMLDeclaration(true);		StringWriter writer = new StringWriter();		XMLSerializer serializer = new XMLSerializer(writer, format);		try {			serializer.serialize(fragment);		} catch (IOException ioe) {		}		return writer.toString();	}