Which is the best API to parse a huge XML document, to get parts of data from the XML document?
If the requirement is to “look-into” a huge XML document for some chunk of data, SAX would be better alternative. DOM load/unload of huge XML documents needs lot of memory and other resources, whereas SAX parses the XML character-by-character, and hence is well suited in this case.





