DOM Advantages and Disadvantages




Advantages of DOM

  • The file is parsed only once.
  • High navigation abilities : This is the aim of the DOM design.
  • Language and platform independent.
  • It is traversable - Move back and forth in data.
  • It is editable and dynamic.

Disadvantages of DOM

  • More memory needed since the XML tree is in memory.
  • Operation Speed is Slower compared to SAX


Related Searches to DOM Advantages and Disadvantages