Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

The best module for handling xml

by glassbead (Initiate)
on Apr 20, 2013 at 16:07 UTC ( [id://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.

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-03-29 08:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found