Re: [xml-dev] XSLT with DOM or SAX ?

From
Oleg Tkachenko <>
To
Razvan MIHAIU <>
Date
2005-03-27T14:06:52Z
ID
<>
Thread
Re: [xml-dev] XSLT with DOM or SAX ?
Razvan MIHAIU wrote:

> What kind of parser is best to use for XSLT transformations ? SAX or DOM 
> ? XSLT can require random XML access – depending on the context of 
> processing. That being the case DOM seems to be more appropriate for XSLT.

Provided that DOM is hugely inefficient for performing XSLT, most XSLT 
processors always build their own proprietary optimized tree 
representation of an input XML to work with.
Given that it's clear that DOM is just a waste of memory here - use SAX 
instead.

-- 
Oleg Tkachenko
http://blog.tkachenko.com
Multiconn Technologies, Israel