[jdom-interest] Large XML file

Bradley S. Huffman hip at cs.okstate.edu
Tue Oct 28 13:52:50 PST 2003


One more, subclassing NodeFactory in XOM

http://www.cafeconleche.org/XOM

Brad

"Alex Rosen" writes:

> Here are all the ways I know of to handle large XML document without
> running out of memory:
> 
> Use ElementScanner with JDOM:
> 
> <http://www.servlets.com/archive/servlet/ReadMsg?msgId=225506&listName=jdom-i
> nterest>
> <http://cvs.jdom.org/cgi-bin/viewcvs.cgi/jdom-contrib/src/java/org/jdom/contr
> ib/input/scanner/>
> 
> Use ElementHandler with dom4j:
> 
> <http://www.dom4j.org/faq.html#How%20does%20dom4j%20handle%20very%20large%20X
> ML%20documents?>
> 
> Use an XML pull processor:
> 
> <http://www.extreme.indiana.edu/xgws/xsoap/xpp/>
> <http://www.xmlpull.org/>
> 
> Use SAX:
> 
> <http://www.saxproject.org/>
> 
> Alex
> 
> 
> >>> "Goswami, Raj" <Purnendu_Goswami at csx.com> 10/28/2003 2:59:01 PM
> >>>
> Hi everyone,
> 
> Is there a way to efficiently handle very large XML files in JDOM? 
> And
> also, would 5 Mb file be considered a large XML file, if the system
> memory
> is 256 Mb.  We might need to process multiple files concurrently, so
> what
> should be a guiding rule for doing that.  We have XML files, that need
> to be
> reformatted to another XML structure.  If we use XSLT, am I correct to
> assume that the whole XML document would be in memory?  What would be
> best
> way then to transform one large XML structure to another XML
> structure.
> Your help is appreciated.
> 
> Thanks, 
> 
> Raj
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost
> .com
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost
> .com



More information about the jdom-interest mailing list