[jdom-interest] How to manipulate a very large XML file? Any suggestions?

Elliotte Rusty Harold elharo at metalab.unc.edu
Tue Feb 10 05:03:36 PST 2004

At 11:06 AM -0800 2/9/04, Jason Hunter wrote:
>I use XQuery.  The language lets you do amazing things with XML and 
>if you can get the right implementation it can be extremely fast. 
>In my day job I'm able to quickly extract data from gigs of XML to 
>produce reports.  This of course relies on an indexed engine (not 
>just reading off the filesystem).

The *language* isn't that incredible. It doesn't let you do anything 
that couldn't be done with XSLT. What you're really suggesting is 
using a file-backed data store for situations where the document size 
exceeds available memory. However, this could also be done with SQL 
and a relational database or a custom file format written in Java. 
Which is most appropriate depends a lot of the details of the project.

   Elliotte Rusty Harold
   elharo at metalab.unc.edu
   Effective XML (Addison-Wesley, 2003)

More information about the jdom-interest mailing list