Dean Landolt wrote:
> Scott Sauyet wrote:

>> I'm still trying to imagine a case in which I would want to do both
>> for the same document.  Can you suggest such a case?
>
> You may want to use SAX to stream-process a large XML document, but put
> some specific fragments of it into DOM for ease of processing.

Absolutely.  I've done this often.

> But there's absolutely no reason you'd ever want to use SAX and DOM on the
> same xml -- unless you're just a masochist.

That's what I was getting at.

  -- Scott

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to