xern has asked for the wisdom of the Perl Monks concerning the following question:
I wonder if there's any xpath-like tool which can help locate and extract data from any HTML document. The tool is expected to act like xpath, say 'hpath'. The interface would be almost the same as that of xpath, except for node information.
hpath some.html /html/body/p[1]
Then, it returns all of the data under node /html/body/p[1]
I guess there's already something there, but I just missed it.
Thanks
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Looking for a XPATH-like tool for HTML documents
by davorg (Chancellor) on Aug 22, 2005 at 11:59 UTC | |
by neniro (Priest) on Aug 22, 2005 at 12:48 UTC | |
by xern (Beadle) on Aug 24, 2005 at 13:31 UTC | |
Re: Looking for a XPATH-like tool for HTML documents
by tomhukins (Curate) on Aug 22, 2005 at 12:31 UTC | |
Re: Looking for a XPATH-like tool for HTML documents
by inman (Curate) on Aug 22, 2005 at 11:17 UTC | |
Re: Looking for a XPATH-like tool for HTML documents
by merlyn (Sage) on Aug 22, 2005 at 15:50 UTC | |
Re: Looking for a XPATH-like tool for HTML documents
by neniro (Priest) on Aug 22, 2005 at 11:20 UTC |