[jdom-interest] Question

M M Islam Chisty corpsol2 at yahoo.com
Sun Mar 25 10:00:47 PST 2001


I'm concerned about the following drawbacks of DOM and
SAX:
-- Using DOM, random access of a XML file is possible
but it falls into these constraints:
# involves files to be memory-resident
# can't handle big files (say, 5MB, 10MB, 100MB...
etc.)


-- SAX is (compared to DOM), lightweight, does not
involve memory consumption but it does not allow
random access of files.


My QUESTION is:
---------------
Is it possible, using JDOM, to handle/parse a big XML
file (i.e. about 100MB, or, 1GB) very quickly? More
specifically, is it possible for me to find a certain
element's text-content (based on some attribute
values) from a large XML file within a very  short
time (say, within fraction of a second)?



With Thanks,
... Chisty

=====
My Yaaahhhoooo!!! signature. M Chisty ...

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



More information about the jdom-interest mailing list