Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: finding ancestor elements related to specific change

by tobyink (Abbot)
on Oct 17, 2012 at 23:09 UTC ( #999630=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use XML::LibXML 1.70;
    
    ...
    foreach my $result (@results) {
        print "Got result, with parent: ", $result->parentNode->getAttribu
    +te('name'), "\n";
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2014-08-28 02:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (255 votes), past polls