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

Re: Stepping up from XML::Simple to XML::LibXML

by sjf4 (Initiate)
on Apr 18, 2013 at 23:04 UTC ( #1029432=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      use XML::LibXML;
    
    ...
        my($title) = $book->findnodes('./title');
        print $title->to_literal, "\n" 
      }
    
  2. or download this
      use XML::LibXML;
    
    ...
        my($title) = $book->getChildrenByTagName('title');
        print $title->to_literal, "\n" 
      }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2015-07-07 02:52 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 (86 votes), past polls