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

There are three main types of XML parsers: SAX (Simple API for XML) - event-based push parser, DOM (Document Object Model) - tree-based parser, and StAX (Streaming API for XML) - pull parser. Some might also consider character-only parsers, but the three major programming models are SAX, DOM, and StAX.