final ContentHandler postProcess = filter.xsl(result, "jahiahtmlheader.xsl");
final Locale locale = Locale.ENGLISH;
final String prefix = "diff";
final HtmlCleaner cleaner = new HtmlCleaner();
final InputSource oldSource = new InputSource(new StringReader(original));
final InputSource newSource = new InputSource(new StringReader(amendment));
final DomTreeBuilder oldHandler = new DomTreeBuilder();
cleaner.cleanAndParse(oldSource, oldHandler);
final TextNodeComparator leftComparator = new TextNodeComparator(oldHandler, locale);
final DomTreeBuilder newHandler = new DomTreeBuilder();
cleaner.cleanAndParse(newSource, newHandler);
final TextNodeComparator rightComparator = new TextNodeComparator(newHandler, locale);
postProcess.startDocument();
postProcess.startElement("", "diffreport", "diffreport",new AttributesImpl());