Multiple choice technology web technology

How many different types of parsers are available to parse XMLs ?

  1. 2

  2. 3

  3. 4

  4. None of the above

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

The three main types of XML parsers are DOM (Document Object Model) which loads the entire document as a tree, SAX (Simple API for XML) which is event-driven and processes sequentially, and StAX (Streaming API for XML) which uses a pull-based model. Other options are incorrect as they don't match the standard parser types.