On Thu, 11 Apr 2002, Fredrick Paul Eisele wrote:

> I am using the SAX parser to pick out a particular element.
> Once I have the element (and its attributes) there is no
> reason to finish parsing the document.
> Presently, I am using die to throw an exception which
> terminates the parser.
> Although this technique works I don't like it.
> Does anyone know how to break out?

I _think_ you can use parseFirst and parseNext until you've seen what you 
need to.  Just conjecture, since I've not used those functions myself.

Steve

-- 
----------------------------------------------------------------
Steven N. Hirsch       tie-line: 446-6557     ext: 802-769-6557

Staff Engineer                     Methodology Integration Team
ASIC Product Development           IBM Microelectronics
----------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to