Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Using Perl XPath for converting Infopath XML files to Word Documents

by karthik4perl (Initiate)
on Jan 13, 2005 at 10:44 UTC ( #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
Node Status?
node history
Node Type: perltutorial [id://421936]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2014-12-23 01:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (133 votes), past polls