Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Difference between Sax and Dom Parser

 
Thennam Pandian
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

please give me the difference between Sax and dom parser.

why there is two xml parserS?
 
Paul Clapham
Sheriff
Posts: 21107
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You will find all that and more in this book.
 
Riya Dhir
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic