Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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!

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 about the Monastery: (3)
As of 2024-03-19 07:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found