I heard StAX as "DOM Ease with SAX Efficiency". So Can i use StAX in this situation?
Author and all-around good cowpoke
posted 13 years ago
StAX is a "pull" parser as opposed to SAX which "pushes" events to your code. Some people find it conceptually easier to think about parsing this way and a StAX parser is easier to stop if you only need part of the data in the document.
You still have to write code to handle the specific "events" as the parser encounters each element of the XML document.
Did you look into the pipeline toolkits?
The only cure for that is hours of television radiation. And this tiny ad: