Re: [xsl] DOM or SAX input faster/more efficient?

Subject: Re: [xsl] DOM or SAX input faster/more efficient?
From: Elliotte Harold <elharo@xxxxxxxxxxxxxxx>
Date: Fri, 27 May 2005 09:21:09 -0400
Andrzej Taramina wrote:
Anyone done any tests to see whether SAX or DOM input is faster to process with XSL?

SAX


I suppose it depends on whether an internal tree representation has to be built in both
cases (which I believe is the case) and which source of input is more efficient for that?

I think pretty much every XSLT implementation I can think of needs to build or at least annotate its own internal tree representation. Are there any that work on a pure DOM without adding anything to it? DOM's pretty much an additional layer of overhead.


--
Elliotte Rusty Harold  elharo@xxxxxxxxxxxxxxx
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim

Current Thread