Hi Jose,just throw a user-defined exception from within the handler; once you catch it in the function that invoked parse() you know the data has been collected.
Alberto Jose Luis wrote:
Hi, I am using a SAX2 parser to parse a very long XML file. I am using a DefaultHandler derived class to get the information. How can I stop the parser in a order way when I have found the needed information? Thanks in advance, Jose Luis
