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

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,

Replies are listed 'Best First'.
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.

    Enoch was right!
    Enjoy the last years of Rome.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1029654]
Approved by NetWallah
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2018-05-24 18:39 GMT
Find Nodes?
    Voting Booth?