Which of the following types of XML parsers is an object that contains all the information of an XML document and is composed like a tree structure?
Show answerHide answer
Correct answer: (C) DOM
Explanation
A DOM parser loads the whole XML document into memory as a tree of objects. SAX is event-based and builds no tree.