Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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?
[Discipulus]: Eily adjust the shot: i'll be at seaside when it will happen
[Eily]: oh, I'll have to find something else then, don't want to litter the sea. Fireworks maybe?
Eily time to eat

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (10)
As of 2017-07-27 10:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (409 votes). Check out past polls.