Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Using Perl XPath for converting Infopath XML files to Word Documents

by karthik4perl (Initiate)
on Jan 13, 2005 at 10:44 UTC ( [id://421936]=perltutorial: print w/replies, xml ) Need Help??

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);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-19 13:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found