A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
Difference between Sax and Dom Parser
Joined: Oct 11, 2005
Feb 18, 2007 20:59:00
please give me the difference between Sax and dom parser.
why there is two xml parserS?
Joined: Oct 14, 2005
Feb 18, 2007 22:10:00
You will find all that and more in
Joined: Feb 16, 2007
Feb 18, 2007 23:39:00
Dom : needs for memory, more time; modify, delete parts of xml document in question, follows pull model
SAX: needs less memory, less time; can only read the documents, and return the info when encounter events, event driven and only forward driven; cant say the state of node at a time
I agree. Here's the link:
subject: Difference between Sax and Dom Parser
Difference between DOM and SAX Parser
Difference between SAX parser and DOM Parser
What is the basic difference between SAX Parser & DOM Parser . and when to use which one and why ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014