Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: htmltreexpather.pl - xpath helper, creates xpath search strings from html

by Perlbeginner1 (Scribe)
on Oct 17, 2010 at 17:17 UTC ( [id://865815]=note: print w/replies, xml ) Need Help??


in reply to htmltreexpather.pl - xpath helper, creates xpath search strings from html

Does this help me in general
- in other words. Does this code help me in general to find the xpaths?


look forward to hear from you!
  • Comment on Re: htmltreexpather.pl - xpath helper, creates xpath search strings from html

Replies are listed 'Best First'.
Re^2: htmltreexpather.pl - xpath helper, creates xpath search strings from html
by Your Mother (Archbishop) on Oct 17, 2010 at 17:44 UTC

    For general use (depending on what you're trying to do) this is probably the best way to do xpaths for HTML/CSS: HTML::Selector::XPath, though it's not the same as the OP's code, it takes CSS selectors and turns them into xpath expressions.

Re^2: htmltreexpather.pl - xpath helper, creates xpath search strings from html
by Anonymous Monk on Oct 17, 2010 at 22:14 UTC
    Does this help me in general - in other words. Does this code help me in general to find the xpaths?

    I don't know. It has helped me, and its almost as useful as firebug/xpather

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://865815]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2025-11-11 21:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (68 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.