redmage has asked for the wisdom of the Perl Monks concerning the following question:
Hello all,
I'm trying to do something which should be relatively straight-forward, but I'm having a terrible time trying to do it.
I am trying to extract an HTML table from a string of HTML. However, I'm trying to extract the table with the "table" "tr" and "td" tags intact, As far as I can tell the TableExtract module doesn't seem to return these, even if I specify the keep_html flag in the constructor. How do I tell TableExtract to keep the table HTML tags? Or is there a better way to do this than using the tablextract module?
Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Question on extracting HTML tables with HTML::TableExtract
by bitingduck (Deacon) on Feb 26, 2012 at 19:53 UTC | |
|
Re: Question on extracting HTML tables with HTML::TableExtract
by ww (Archbishop) on Feb 26, 2012 at 19:02 UTC | |
by bitingduck (Deacon) on Feb 26, 2012 at 19:22 UTC | |
by ww (Archbishop) on Feb 26, 2012 at 19:48 UTC | |
by bitingduck (Deacon) on Feb 26, 2012 at 20:07 UTC | |
|
Re: Question on extracting HTML tables with HTML::TableExtract
by tangent (Parson) on Feb 26, 2012 at 19:46 UTC |