Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Parsing a large file using a DOM like parser in relatively less time

843834Apr 2 2009 — edited Apr 2 2009
Hi,

I'm parsing a large XML file(of size 3.5 MB) using DOM parser. I'm using relative XPath for processing the XML. However, with DOM, XPath is consuming lot of time(almost a min. for a parent child combination and have 900 such elements) and total time taken is 10 -12 hours for one such file.

Can anyone suggest a good effiicient parser which has similar features of DOM like relative XPath and returning node object on querying with XPath?

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 30 2009
Added on Apr 2 2009
1 comment
169 views