Help for this page

Select Code to Download


  1. or download this
    <Books>
    
    ...
    </Book>
    
    </Books>
    
  2. or download this
    $file="books.xml";
    my $xp = XML::XPath->new(filename => $file);
    
  3. or download this
    open(INFO3, ">$file.doc");
    
  4. or download this
    print INFO3 "Perl Xpath\n\n";
    print INFO3 "BOOK INFORMATION:\n\n";
    
  5. or download this
    use XML::XPath; 
    
    ...
     print "Converted XML file into WORD file\n\n"; 
    print $file." WORD document generated"; 
    close(INFO3);