Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 musing on the Monastery: (8)
As of 2015-05-24 22:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (476 votes), past polls