Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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.


Comment on Re: Perl Only XML Parser?
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (18)
As of 2014-08-29 16:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (282 votes), past polls