* @param convertIntoValidXML Converts the output into valid XML for XSL processing for example
*/
public static void process( Reader reader, Writer writer, IHTMLFilter htmlFilter, boolean convertIntoValidXML ) throws HandlingException {
try {
// Open a char stream input for the document
ANTLRStringStream input = new ANTLRReaderStream( reader );
// Start lexing the input
htmlLexerLexer lex = new htmlLexerLexer(input);
// Tokenstream for the parser.