Hi
I am very new to this parser, so this stupid question.
I have allready parsed html document and printed it on stdout. But I want to search for specific tags in html file. More concretly I want to find one table and get information stored in those cells. Could you please say me how can I do this.
Thanks a lot
Quaso
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In general, you probably want to look at the filter package.
Try running the filterbuilder application (startup script is in the bin directory) and read the help and tutorial.
Using this application you can create a Java program that selects only the table (TableTag) you want.
From there, use the accessors on the table to get the rows (TableRow), and the accessors on the rows to get the columns (TableColumn).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I am very new to this parser, so this stupid question.
I have allready parsed html document and printed it on stdout. But I want to search for specific tags in html file. More concretly I want to find one table and get information stored in those cells. Could you please say me how can I do this.
Thanks a lot
Quaso
In general, you probably want to look at the filter package.
Try running the filterbuilder application (startup script is in the bin directory) and read the help and tutorial.
Using this application you can create a Java program that selects only the table (TableTag) you want.
From there, use the accessors on the table to get the rows (TableRow), and the accessors on the rows to get the columns (TableColumn).