Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by Anonymous Monk
on Mar 10, 2018 at 22:36 UTC ( #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
Node Status?
node history
Node Type: note [id://1210638]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2018-07-23 10:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (462 votes). Check out past polls.

    Notices?