SAX Advantages and Disadvantages



Advantages of SAX

  • Low memory needs since the XML file is never entirely in memory.
  • It deals with the XML streams.
  • Fast Operation speed.
  • Use callback procedures to identify and respond only certain XML elements.

Disadvantages of SAX

  • The file has to be parsed entirely to access any node. Thus, getting the 10 nodes included in a catalog ended up in parsing 10 times the same file.
  • Poor navigation abilities : There is no way to get easily the children of a given node or the list of "B" nodes
  • Document doesn't modified.
  • SAX does not create an in-memory document structure


Related Searches to SAX Advantages and Disadvantages