in reply to Embedded Table Headers with HTML::TableExtract
Since you don't provide a sample of the HTML you are attempting to parse, it's pretty much impossible to knwo what's going on. I think you mean that you have one table contained within another table, and it is the inner table that interests you.
Assuming that is the case, and looking at the doc for HTML::TableExtract, it appears that you can pass it a string with $te->parse($html);, so I'd parse the outer table, and upon finding the element which is the contained table, hand that text to another properly defined instance of HTML::TableExtract->parse().
Update: After playing around, I observe the following:
HTML::TableExtract is pretty cool.
--Bob Niederman, http://bob-n.com
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Embedded Table Headers with HTML::TableExtract
by Anonymous Monk on Jul 13, 2003 at 03:55 UTC |