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" 
      }