tagElements = option.equals("true");
tagElements = option.equals("yes");
	public Serializer(DBBroker broker, Configuration config) {		this.broker = broker;		factory = (SAXTransformerFactory) SAXTransformerFactory.newInstance();		xinclude = new XIncludeFilter(this);		contentHandler = xinclude;		String option = (String) config.getProperty("serialization.enable-xsl");		if (option != null)			processXSL = option.equalsIgnoreCase("true");				option = (String) config.getProperty("serialization.enable-xinclude");		if (option != null)			defaultProperties.setProperty(EXistOutputKeys.EXPAND_XINCLUDES, option);		option = (String) config.getProperty("serialization.indent");		if (option != null)			defaultProperties.setProperty(OutputKeys.INDENT, option);		boolean tagElements = true, tagAttributes = false;		if ((option =			(String) config.getProperty("serialization.match-tagging-elements"))			!= null)			tagElements = option.equals("true");		if ((option =			(String) config.getProperty("serialization.match-tagging-attributes"))			!= null)			tagAttributes = option.equals("true");		if (tagElements && tagAttributes)			option = "both";		else if (tagElements)			option = "elements";		else if (tagAttributes)			option = "attributes";		else			option = "none";		defaultProperties.setProperty(EXistOutputKeys.HIGHLIGHT_MATCHES, option);		defaultProperties.setProperty(GENERATE_DOC_EVENTS, "true");		outputProperties = new Properties(defaultProperties);	}