Admin
  • 0

parsers dom vs sax parser

  • 0
parsers dom vs sax parser
Share

1 Answer

  1. DOM parser loads whole XML documents in memory while SAX only loads a small part of the XML file in memory. 2) DOM parser is faster than SAX because it accesses the whole XML document in memory. 3) SAX parser in Java is better suitable for a large XML file than DOM Parser because it doesn’t require much memory.

    • 0
Leave an answer

Leave an answer

Related Questions