RE: parsing a huge xml document

"Amon, Jennifer" <[email protected]>
Newsgroups gmane.comp.lang.perl.xml
Message-ID <[email protected]>
I use XML::Twig. It doesn't try to put the whole XML document into
memory at once. It processes a chunk at a time.

J. Amon

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Liam
Quin
Sent: Thursday, September 10, 2009 1:19 AM
To: subs subs
Cc: [email protected]
Subject: Re: parsing a huge xml document

On Thu, Sep 10, 2009 at 12:15:34PM +0800, subs subs wrote:
> Hello,
> 
> 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

Look for XML::SAX and friends.

There are SAX tutorials on the Web.

Liam

-- 
Liam Quin, W3C XML Activity Lead, http://www.w3.org/People/Quin/
http://www.holoweb.net/~liam/ * http://www.fromoldbooks.org/
_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

_______________________________________________

This message was scanned for viruses prior to entering the Moen network.


_______________________________________________________________________

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material.  Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited.  If you received this in error, please contact the sender and delete the material from any computer.
_______________________________________________________________________
_______________________________________________
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.