[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: FW: Processing large XML document

  • From: Michel Rodriguez <mrodrigu@i...>
  • To: MarkH@i...
  • Date: Thu, 30 Nov 2000 08:08:05 -0500 (EST)

processing large xml documents
> > From:	sailu@i... [SMTP:sailu@i...]
> > I need to process a large XML document which may not fit in the
> > memory at a time. Is there any software that lets me retain some
> > parts of the DOM representation of the document and purge the
> > remaining part of it. All this should be efficient in terms of both
> > memory and time.

I guess that's what XML::Twig (http://www.xmltwig.cx) was designed for.

XML::Twig is a Perl module that allows you to process sub-documents, one
at a time, building a tree for each one, then discarding it when you are
done with it. You can also define elements for which you want the tree
built (you just define the root of the sub-trees, you cannot build a
"view" of the document, although that could be an interesting
enhancement).

The interface is not DOM though, it is more perlish.

Michel Rodriguez
Perl & XML
http://www.xmltwig.com


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.