What is SAX ?

 Posted by Chvrsri on 3/22/2011 | Category: Web Services, Remoting Interview questions | Views: 2963 | Points: 40


SAX is a simple API for XML Processing.
It is generally an alternative to DOM and it also can be used to parse the XML documents.
This simple API is based on Streaming model

Main Advantage of using SAX over DOM :

SAX does not build an in memory representation of the source XML document so when parsing large amount of XML documents it does not require a large amount of memory or Resources.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response