Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

The best module for handling xml

by glassbead (Initiate)
on Apr 20, 2013 at 16:07 UTC ( #1029654=perlquestion: print w/ replies, xml ) Need Help??
glassbead has asked for the wisdom of the Perl Monks concerning the following question:

Hi brother monks, I'd very much appreciate some help, and some opinions on this particular problem. |I'm pretty new to perl, and I've inherited a project, which involves processing xml documents, and "translating" them into another xml structure. Best illustrated by an example of the kind of thing involved. <Lines> <Characters>O wghat a piece of work is man!</Characters> <Characters>So noble in reason, so infinite in faculty</Characters> <Characters>New paragraph starts here</Characters> </Lines> I need to output the xml file, but insert paragraph tags where appropriate. I also need to do some analysis of the data. I think I may need an abbot's help with this one! Thanks for any help,

Comment on The best module for handling xml
Re: The best module for handling xml
by Anonymous Monk on Apr 20, 2013 at 16:10 UTC
Re: The best module for handling xml
by Jenda (Abbot) on Apr 22, 2013 at 09:31 UTC

    It all depends on your background and preferences. Apart from those already mentioned, I'd suggest having a look at XML::Rules (It's mine so, you know, I have to do some advertising now and then). Its filter mode might be exactly what you need.

    P.S.: Please use <code> tags around snippets of code, examples of XML etc.

    Jenda
    Enoch was right!
    Enjoy the last years of Rome.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1029654]
Approved by NetWallah
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2014-12-26 03:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (164 votes), past polls