> Doesn`t "DOM to SAX" tell you something ? The example shows how to
> feed a SAX parser from a DOM document, and the latter LOADS THE
> ENTIRE file, in your case you don`t need to do that, you just use this
>
https://learn.microsoft.com/en-us/previous-versions/windows/desktop/ms767671(v=v
s.85)
>
> letting the SAX directly read the XML in pieces and raise an event
> whenever it finds a node, in practice, with DOM you have the whole
> document loaded and parsed and you can just issue searches for some
> specific node, while in SAX you go through the whole document as a
> stream of data and react to the events raised when a node is found