Re: [Htmlparser-user] Parsing td tr and table
Brought to you by:
derrickoswald
From: Somik R. <so...@ya...> - 2003-03-12 22:58:29
|
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 --- "ja...@jo... Jokisalo" <jan...@ho...> wrote: > Hi! > > Is there any example of how to parse e.g. text > inside td:s in a table and > img inside a table td. There are a lot of webpages > with tables with this > kind of information. > > Maybe one can do it with TableColumn, > TableColumnScanner, TableRow, > TableRowScanner, TableScanner and TableTag but I > have not figured out how. > > Thanks / Janne > > > > > > _________________________________________________________________ > The new MSN 8: smart spam protection and 2 months > FREE* > http://join.msn.com/?page=features/junkmail > > > > ------------------------------------------------------- > This SF.net email is sponsored by:Crypto Challenge > is now open! > Get cracking and register here for some mind > boggling fun and > the chance of winning an Apple iPod: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > _______________________________________________ > Htmlparser-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlparser-user __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com |