Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: HTML::TreeBuilder::LibXML creates multiple copies of the same result

by Anonymous Monk
on Mar 10, 2018 at 22:36 UTC ( [id://1210638]=note: print w/replies, xml ) Need Help??


in reply to HTML::TreeBuilder::LibXML creates multiple copies of the same result

https://metacpan.org/pod/XML::LibXML::Node#nodePath is a neat method

print "# ", $superCat->{node}->nodePath, "\n"; ... # ?/html/body/div/text()[1] # ?/html/body/div/img # ?/html/body/div/h2 # ?/html/body/div/text()[2] # ?/html/body/div/div # ?/html/body/div/text()[3]
  • Comment on Re: HTML::TreeBuilder::LibXML creates multiple copies of the same result
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2024-04-20 01:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found