LOG.debug("xsl = " + stylesheet);
	protected void setStylesheetFromProperties(Document doc) {		if(templates != null)			return;		String stylesheet = outputProperties.getProperty(EXistOutputKeys.STYLESHEET);		LOG.debug("xsl = " + stylesheet);		if(stylesheet != null) {			if(doc instanceof DocumentImpl)				setStylesheet((DocumentImpl)doc, stylesheet);			else				setStylesheet(null, stylesheet);		}	}