[Htmlparser-user] Re: Parsing td tr and table
Brought to you by:
derrickoswald
From: <ja...@jo...> - 2003-03-13 05:52:49
|
Thank you Somik! 1) does this mean that I will do the same way for TableRowScanner and TableColumnScanner or will I extend those from TableScanner. 2) and should this work in cases like <td ...><img src=..></td> Thanks for good product! --Janne --------- parser.registerScanners(); parser.addScanner(new TableScanner(parser)); Node[] tables = parser.extractAllNodesThatAre(TableTag.class); // you can cast each table to a TableTag and do // what you want.. Regards, Somik _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail |