Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Perl Only XML Parser?

by mirod (Canon)
on Aug 17, 2004 at 13:50 UTC ( #383663=note: print w/replies, xml ) Need Help??

in reply to Perl Only XML Parser?

The perl-only XML parsers I have looked at are:

  • XML::SAX::PurePerl, included in XML::SAX, which can be used by all the SAX based modules, including XML::Simple. It works reasonably well, but will not process external entities.
  • XML::Parser::Lite, included in SOAP::Lite, which emulates the XML::Parser interface. It only parses the subset of XML used by SOAP though (eg no DTD)
  • XML::Stream::Parser, included in XML::Stream, which only parses the subset of XML used in Jabber messages.

As you see none of them is a complete XML parser, so you might want to check if they work for the kind of XML you have to deal with (and for the kind of XML that you might have to deal with in the future!).

2 other comments: some of the XML modules are based on libxml2 instead of expat (XML::LibXML for example). And I don't know about AIX, but at least for Solaris you can get expat as a pre-compiled package.

Replies are listed 'Best First'.
Re^2: Perl Only XML Parser?
by mce (Curate) on Aug 17, 2004 at 14:19 UTC
    For AIX, you can go here, or sometimes there

    Dr. Mark Ceulemans
    Senior Consultant
    BMC, Belgium

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2020-10-23 02:38 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (234 votes). Check out past polls.