Hey,

On 1/17/07, Vijay S. Bajwa <[EMAIL PROTECTED]> wrote:

I just want to peek into the msgHdr. Currently I am using SAXParser to parse
the whole document. Is there a way to just extract out msgHdr w/o parsing all
the remaining elements? I guess just stop the SAX parsing after the msgHdr, but
is this efficient if internally some producer thread is merrily parsing ahead?


SAX is as efficient as you will get in this situation.

Grab the piece in between your <msgHdr>...</msgHdr> and stop the parse.

Cheers, jas.

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

Reply via email to