Use of DOM:
- when you need to know a lot abt the structure of a
doc.
- move parts of the doc around (re-arrange the hierarchy)
- use info of the doc more than once.
Use of SAX:
- need to extract only a few elements from an xml doc.
- not much memory to work with
- one time use
If you are looking for detailed examples, I would
strongly suggest the
IBM Tutorial posted earlier
by Bill. Thanks Bill.

Regds.

- satya
[This message has been edited by Madhav Lakkapragada (edited August 02, 2000).]
Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81