Re: parsing a huge xml document
by Jenda Krynicky other posts by this author
Sep 10 2009 4:22AM messages near this date
view in the new Beta List Site
parsing a huge xml document
|
Re: parsing a huge xml document
& XSLT From: subs subs <subscrip9@[...].com>
> 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
===== Jenda@[...].cz === 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
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Subs Subs
Jenda Krynicky
Subs Subs
Jenda Krynicky
Liam Quin
Michael Ludwig
Kip Hampton
Liam Quin
Petr Cimprich
Petr Pajas
Vaclav Barta
Mirod
Mirod
Liam Quin
Jennifer Amon
|