Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: reading multiple xmls in a folder and to get tagvalues stored and then printed to HTML

by jeffa (Bishop)
on Apr 27, 2012 at 18:51 UTC ( #967696=note: print w/replies, xml ) Need Help??


in reply to Re^2: reading multiple xmls in a folder and to get tagvalues stored and then printed to HTML
in thread reading multiple xmls in a folder and to get tagvalues stored and then printed to HTML

You have 3 tasks:

  1. read multiple files into memory
  2. parse those files via an XML parser
  3. do something with the parsed content (convert specific tag values to HTML
XML::Simple merely accomplishes the second task. I recommend looking at Config::Any which will take care of tasks one AND two and you might not even need to do any heavy lifting to take care of the third task, but if you do there is always HTML::Template or Template::Toolkit.


jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)
  • Comment on Re^3: reading multiple xmls in a folder and to get tagvalues stored and then printed to HTML
  • Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://967696]
help
Chatterbox?
[stevieb]: did my pull request challenge today, Locale::gettext. Weird layout for a dist, and I have no idea how to use it, but it's always nice when you can force someone else's work be use strict; and use warnings; compliant :)
[stevieb]: ahem... s/no idea how to use it/didn't read enough as to what it's used for/
[stevieb]: interestingly enough, someone else got my Devel::Examine:: Subs distribution for their PRC, and I applaud the change. This dist is extremely complicated and mostly obfu, but the person doing it understood PPI enough to change...
[stevieb]: ...something I had overlooked in the extreme depths of the core functionality. After merging, then a couple of extra tweaks, I still have 100% test coverage. Yay for people who write tests!

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2017-01-24 01:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (199 votes). Check out past polls.