[prev in list] [next in list] [prev in thread] [next in thread]
List: xerces-c-users
Subject: Re: Stop a SAX2 parser
From: Alberto Massari <amassari () datadirect ! com>
Date: 2008-01-17 11:41:46
Message-ID: 478F3EFA.1070708 () datadirect ! com
[Download RAW message or body]
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
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic