DOM - build an in-memory representation of the XML (tree)

SAX - process the XML chunk-by-chunk (stream)