Multiple choice xml

An MNC receives at its headquarter from its subsidiaries, XML documents containing various reports of that subsidiary. These reports need to be displayed to the person responsible at the headquarter for that subsidiary in a user-friendly manner (allowing searches through the document) and the person is allowed to make any changes/comments that he/she desires. Once the user is done with all the changes/comments the information needs to be fed into the central database. Which of the following is MOST appropriate for processing these XML documents?

  1. DOM

  2. SAX

  3. CSS

  4. XSL

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

DOM (Document Object Model) loads the entire XML document into memory as a tree structure, allowing bidirectional navigation, search, and modification of elements. This makes it ideal for scenarios requiring user interaction like searching and editing. SAX is event-based, read-only, and processes the document sequentially without preserving the document structure in memory, making it unsuitable for editing operations.