[Ilugc] [ILugC] XML processing

  • From: yogeshg1987@xxxxxxxxx (Yogesh Girikumar)
  • Date: Wed, 20 Jun 2012 12:33:52 +0530

Hi,

Which is better to process streaming XML? (e.g. RSS)  SAX or DOM? Why?
I read up a bit on SAX and here's what the Wikipedia article says;

"Where the DOM operates on the document as a whole, SAX parsers
operate on each piece of the XML document sequentially."

Does it mean that DOM reads the whole document before processing it?
I'm trying to understand and make sense of a lot of tech jargon here..

--
Y

Other related posts: