I want to read a specific node in an xml document, and I want to do it the fastest way possible and I believe SAX is the answer.
I’m using xerces right now, and I understand that the actual parsing is done using events.
So I have setup my start/end element events etc., and I want to know if it is possible to exit processing after reading a specific element?
i.e. once I get to a specific xml element, and read the contents, if it meets some criteria, I want to stop processing the xml.
After you got what you want, simply: