Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Re: Help Using XML::Parser module

by bobn (Chaplain)
on Jun 12, 2003 at 04:51 UTC ( #265277=note: print w/replies, xml ) Need Help??


in reply to Re: Help Using XML::Parser module
in thread Help Using XML::Parser module

I've used XML::Parser for several projects (I started before reading the tutorials that said it was too hard), and once you get used to the event driven model, it's not really difficult at all - especially if you control the XML format, too. Example: All info in attributes can really make life easy.

--Bob Niederman, http://bob-n.com

Replies are listed 'Best First'.
Re: Re: Re: Help Using XML::Parser module
by mirod (Canon) on Jun 12, 2003 at 12:50 UTC

    The problem with XML::Parser is not so much that it is hard to use, although it is quite convoluted in places. The problem is that SAX is a standard alternative to its streaming mode, and that XML::LibXML is a way better alternative to its tree mode. Plus XML::Parser is not actively maintained at the moment, which is always a problem when a new version of Perl, or of expat (the underlying library) comes out.

    So if you need to work in stream mode, your time will be better spent learning SAX, and if you are looking for convenience then XML::Simple, XML::LibXML or XML::Twig (or any of a number of other modules) are certainly better choices.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://265277]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2022-09-28 21:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (125 votes). Check out past polls.

    Notices?