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!

XML Parsing using Woodstox

843834Jun 8 2009 — edited Jun 17 2009
Hello All,

I am reading an xml using XPATH, which is causing OutOfMemory error, because of the huge tree size.
So now I am planning to use woodstox. Steps might be :
1. Parse the tree with woodstox.
2. For small subtrees build a (J)Dom-Tree.
3. Use XPath to select nodes from the subtree.
But I am new to woodstox. I am not getting much help on net also. If anyone has already worked on it, kindly send sample code , so that I can apply the same. Or if anyone knows a link for such examples, kindly let me know. It is very urgent. Plz help me.
Thx in Advance.

Sneha...
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 15 2009
Added on Jun 8 2009
1 comment
433 views