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

Re: From a given text Extract the root HTML element inner text

by choroba (Canon)
on Dec 06, 2012 at 11:00 UTC ( #1007534=note: print w/ replies, xml ) Need Help??


in reply to From a given text Extract the root HTML element inner text

Using XML::XSH2:

open :F html 1.html ; cd //text()[.="AAAAAA"] ; ls ancestor::div[1] ;
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re: From a given text Extract the root HTML element inner text
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (16)
As of 2015-07-29 15:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls