RE: Is DOM more efficient than SAX for smaller xml instances?

From
Jelks Cabaniss <>
To
'XML Developers List' <>
Date
2006-08-26T04:42:17Z
ID
<003901c6c8ca$02acb5e0$6401a8c0@blackie>
Thread
RE: Is DOM more efficient than SAX for smaller xml instances?
bryan rasmussen wrote:
> I seem to remember once, long ago, reading something showing DOM was
> more efficient than SAX for small XML instances - small being approx
> 40 kb.

It's true.  All you have to do is look at the charts:

  <http://finance.yahoo.com/q/bc?s=DOM&t=5y&l=on&z=m&q=l&c=SAX>

Seems that SAX got off to a good start, but DOM has clearly predominated
(please pardon the pun).

Also note that DOM is popular in Alabama, while SAX predominates (again,
please pardon the pun) in Virginia.

Then again, Morgan Stanley just recently bought SAX, so one should expect
its fortunes to change.


/Jelks