Difference between XML DOM and Simple API for XML

  1. XML DOM loads the entire xml document into memory whereas Simple API for XML ( SAX ) does not load entire xml document into memory
  2. XML DOM is used when you want to modify xml document and perform complex searches whereas SAX is not used when you want to modify xml document and perform complex searches


 

No comments:

Popular Posts