boolean processXInclude = outputProperties.getProperty(EXistOutputKeys.EXPAND_XINCLUDES, "yes").equals("yes");
boolean processXInclude = getProperty( EXistOutputKeys.EXPAND_XINCLUDES, "yes").equals( "yes");
	protected void setXSLHandler() {		if (templates == null)			return;		if (xslHandler != null) {			SAXResult result = new SAXResult();			result.setLexicalHandler(lexicalHandler);			boolean processXInclude = 				outputProperties.getProperty(EXistOutputKeys.EXPAND_XINCLUDES, "yes").equals("yes");			if (processXInclude)				result.setHandler(xinclude.getContentHandler());			else				result.setHandler(contentHandler);			xslHandler.setResult(result);			if (processXInclude) {				xinclude.setContentHandler(xslHandler);				contentHandler = xinclude;			} else				contentHandler = xslHandler;		}	}