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]
In reply to Re: HTML::TreeBuilder::LibXML creates multiple copies of the same result
by Anonymous Monk
in thread HTML::TreeBuilder::LibXML creates multiple copies of the same result
by password
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |