Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: Extracting HTML content between the h tags

by vagabonding electron (Hermit)
on Aug 05, 2012 at 14:09 UTC ( #985529=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @solution_2 = $content->findvalues( './h2[4]/preceding-sibling::*' 
    +);
    unless ( @solution_2 )
    {
       @solution_2 = $content->findvalues( '//hr/preceding-sibling::*' );
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2015-02-01 12:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (263 votes), past polls