Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Using Perl to go from XML to EXCEL

by dHarry (Abbot)
on Mar 18, 2011 at 11:08 UTC ( #893974=note: print w/replies, xml ) Need Help??


in reply to Using Perl to go from XML to EXCEL

Although you are looking for a Perl solution (as a non-Perl programmer?) I will mention two alternative solutions.

1. Depending on the version of Excel that you are using you can also directly import XML into Excel. The web is full of examples.

2. You can solve it using a more XML-ish way. In general, whenever you have to transform XML into something think XSLT. The simplest way of producing something that can be imported in Excel is to produce CSV. See for example Using XML::XSLT to convert XML to CSV for some ideas.

Cheers

Harry

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://893974]
help
Chatterbox?
choroba misses the context
[Corion]: choroba: Optimizing how Perl reads source code on startup (and then processes it line-by-line)
[Corion]: But in general, it seems to be an interesting approach I should think about - whenever I'm searching for something, to consider if I could search for the end of the token instead of the start of the token

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2016-12-06 15:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (108 votes). Check out past polls.