How to stop parsing xml document with SAX at any time?

Viewed 18623

I parse a big xml document with Sax, I want to stop parsing the document when some condition establish? How to do?

3 Answers
Related