Re: parsing a huge xml document

"Jenda Krynicky" <[email protected]>
Newsgroups gmane.comp.lang.perl.xml
Message-ID <[email protected]>
From: subs subs <[email protected]>
> Iam new to perl-xml parsing. I need to parse a huge xml document (about 4gb)
> Can anybody suggest which perl module will be efficient in terms of memory
> and speed

Depends on what do you mean by "parse". I mean, sure you want to 
extract the tags and their attributes and contents, but what then?

Maybe if you tell us what do you want to do with the data we can give 
a more detailed advice.

Anyway, Mirod already advertised his XML::Twig, so I'll likewise 
advertise mine XML::Rules. If you need to skip parts of the XML, 
tweak the structure generated from other parts and handle (whatever 
that means) the parts as soon as they are parsed, XML::Rules can 
help.

There's a few examples in the example directory in the distribution 
and a few more on Perlmonks.org

Jenda
===== [email protected] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
	-- Terry Pratchett in Sourcery

_______________________________________________
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.