in reply to Re: Naive idea : using XSH with WWW::Mechanize::Firefox, to make faster XPath queries ?
in thread Naive idea : using XSH with WWW::Mechanize::Firefox, to make faster XPath queries ?
Thanks for pointing at this library.
But then i guess that, as this HTML::TreeBuilder::LibXML library seems to parse only the HTML content, i lose the advantage of WWW::Mechanize::Firefox, which is to take Javascript into consideration.
Just for the sake of curiosity, the Tree look_downs() and the Xpath queries seem to then parse exactly the same information here (the HTML source code); i am wondering whether there is any advantage in using XPath queries rather than Tree's look_down() ? Is it not exactly equivalent ? I guess the XPath queries take less lines to write, though.
Please tell me when i'm wrong :o)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Naive idea : using XSH with WWW::Mechanize::Firefox, to make faster XPath queries ?
by Anonymous Monk on Feb 06, 2012 at 12:37 UTC | |
by mascip (Pilgrim) on Feb 06, 2012 at 19:58 UTC | |
by mascip (Pilgrim) on Feb 06, 2012 at 20:04 UTC |