String compress = serializer.getAttribute("compress-output"); if (compress != null) config.put("serialization.compress-output", compress);
    private void configureSerializer(NodeList serializers) {        Element serializer = (Element) serializers.item(0);                String xinclude = serializer.getAttribute("enable-xinclude");        if (xinclude != null) {            config.put("serialization.enable-xinclude", xinclude);            LOG.debug("serialization.enable-xinclude: " + config.get("serialization.enable-xinclude"));        }                String xsl = serializer.getAttribute("enable-xsl");        if (xsl != null) {            config.put("serialization.enable-xsl", xsl);            LOG.debug("serialization.enable-xsl: " + config.get("serialization.enable-xsl"));        }                String indent = serializer.getAttribute("indent");        if (indent != null) {            config.put("serialization.indent", indent);            LOG.debug("serialization.indent: " + config.get("serialization.indent"));        }                String internalId = serializer.getAttribute("add-exist-id");        if (internalId != null) {            config.put("serialization.add-exist-id", internalId);            LOG.debug("serialization.add-exist-id: " + config.get("serialization.add-exist-id"));        }                String tagElementMatches = serializer.getAttribute("match-tagging-elements");        if (tagElementMatches != null) {            config.put("serialization.match-tagging-elements", tagElementMatches);            LOG.debug("serialization.match-tagging-elements: " + config.get("serialization.match-tagging-elements"));        }                String tagAttributeMatches = serializer.getAttribute("match-tagging-attributes");        if (tagAttributeMatches != null) {            config.put("serialization.match-tagging-attributes", tagAttributeMatches);            LOG.debug("serialization.match-tagging-attributes: " + config.get("serialization.match-tagging-attributes"));        }    }