public static void main(String[] args) throws Exception
{
Translator.load( "es");
// create an instance of HtmlCleaner
HtmlCleaner cleaner = new HtmlCleaner();
// take default cleaner properties
CleanerProperties props = cleaner.getProperties();
// customize cleaner's behaviour with property setters
// props.setXXX(...);
// Clean HTML taken from simple string, file, URL, input stream,
// input source or reader. Result is root node of created
// tree-like structure. Single cleaner instance may be safely used
// multiple times.
// TagNode node = cleaner.clean( new File("tests/accept.html"));
TagNode node = cleaner.clean( new File("tests/rallypoint.htm"));
Object[] myNodes;