common_helper/src/main/java/com/xiongyingqi/util/xml/TransformerUtils.java
public static void disableIndenting(Transformer transformer) {
        Assert.notNull(transformer, "Transformer must not be null");
        transformer.setOutputProperty(OutputKeys.INDENT, "no");
    }
public static void disableIndenting(Transformer transformer) {
        Assert.notNull(transformer, "Transformer must not be null");
        transformer.setOutputProperty(OutputKeys.INDENT, "no");
    }
Disable indenting for the supplied {@link javax.xml.transform.Transformer}.

@param transformer the target transformer
@see javax.xml.transform.OutputKeys#INDENT