[XML-SIG] Does anyone do DOM navigation anymore?

Thomas B. Passin tpassin at comcast.net
Fri Jul 9 20:24:40 CEST 2004


Bob Kline wrote:
> 
> Which implementation of XPath are you using?  Do you have benchmark 
> figures showing it to be faster than DOM.  My understanding (which may 
> not be correct) is that XPath is generally implemented as a layer over 
> the DOM, which of course would mean that by definition it could not be 
> faster than the DOM alone.  I'll be happy to have this understanding 
> demonstrated to be incorrect, but I'd prefer numbers over anecdotal 
> reports.

Often an xpath or xslt implementation will use a special, streamlined 
DOM that is much faster than a standard W3C DOM.  That is the case for 
Saxon and 4Suite, for example.

Cheers,

Tom P

-- 
Thomas B. Passin
Explorer's Guide to the Semantic Web (Manning Books)
http://www.manning.com/catalog/view.php?book=passin


More information about the XML-SIG mailing list