XML Parsing using Woodstox
843834Jun 8 2009 — edited Jun 17 2009Hello 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...