setContentHandler(xmlout); setLexicalHandler(xmlout);
if (getProperty(EXistOutputKeys.EXPAND_XINCLUDES, "yes") .equals("yes")) { xinclude.setReceiver(xmlout); receiver = xinclude; } else receiver = xmlout;
	protected StringWriter setPrettyPrinter(boolean xmlDecl) {		StringWriter sout = new StringWriter();		outputProperties.setProperty(			OutputKeys.OMIT_XML_DECLARATION,			xmlDecl ? "no" : "yes");		xmlout = SAXSerializerPool.getInstance().borrowSAXSerializer();		xmlout.setWriter(sout);		xmlout.setOutputProperties(outputProperties);		setContentHandler(xmlout);		setLexicalHandler(xmlout);		return sout;	}