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.