// input file feldologz�sa
XMLProcessor processor = new XMLProcessor (builder);
processor.process (fis);
// dokumentumgy�k�r elk�r�se
XMLDocument doc = builder.getDocument ();
// white space takar�t�s
WhiteSpaceNormalizer wsn = new WhiteSpaceNormalizer ();
doc.accept (wsn);
// fa-alak� kiirat�s
System.out.println ("Feldolgozott adatok kiiratva:");
System.out.println ();
TreePrinter tp = new TreePrinter (System.out);
doc.accept (tp);
// csom�pontok sz�ml�l�sa
NodeCounter nc = new NodeCounter ();
doc.accept (nc);
System.out.print (nc.getResults ());
// syntax highlight
SyntaxHighlighter shl = new SyntaxHighlighter (fos);
doc.accept (shl);
System.out.println ("Az XML alapj�n k�sz�lt szintaxis-szinezett " +
"HTML-dokumentum megtal�lhat� a(z) " + args [0] + ".html file-ban.");
} catch (IOException iox) {
iox.printStackTrace (System.err);