Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

by choroba (Abbot)
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 perusing the Monastery: (8)
As of 2014-12-27 07:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls