Re: Perl XML::Parser failing tests

Petr Pajas <[email protected]>
Newsgroups gmane.comp.lang.perl.xml
Message-ID <[email protected]>
>> My bet is that for the most part people are using XML::LibXML (but not the SAX bits).
>
> Which means they slurp the whole XML into memory. Something I can't
> afford to do most of the time.

Apart from SAX and DOM, XML::LibXML implements the XML Reader
interface for stream processing, so no, slurping the whole XML into
memory is just one of three processing options that XML::LibXML
offers. There are modules built on top of XML::LibXML

> If you want to generate a maze of objects out of the XML then LibXML
> is most likely the best solution. Agreed.

Nice name for a W3C recommended interface :-) If you have a XSD
schema, you can use modules such as XML::Pastor or XML::Compile that
will shield you from details of DOM and let you concentrate on the
data in a more Perlish way.

-- Petr
_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.