public static void setIgnoreWhitespace ( boolean ignore ) { ignoreWhitespace = ignore ; getControlDocumentBuilderFactory ( ) . setIgnoringElementContentWhitespace ( ignore ) ; getTestDocumentBuilderFactory ( ) . setIgnoringElementContentWhitespace ( ignore ) ; }
Whether to ignore whitespace when comparing node values .