[Home] [By Thread] [By Date] [Recent Entries]

  • To: Michael Kay <mike@s...>
  • Subject: Re: XSLT with DOM or SAX ?
  • From: Razvan MIHAIU <mihaiu@m...>
  • Date: Sun, 27 Mar 2005 10:14:16 +0300
  • Cc: xml-dev@l...
  • User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Michael Kay wrote:

 >>What kind of parser is best to use for XSLT transformations ?
 >>SAX or DOM
 >
 >
 >XSLT processors will in general build a tree representation of the source
 >document in memory. And in general, many of them will build a tree
 >representation that is much more efficient than using a 
general-purpose DOM.
 >So there's no point building an inefficient DOM tree rather than 
letting the
 >XSLT processor build its own. But this advice may depend on the XSLT
 >processor you are using.
 >
 >Michael Kay
 >http://www.saxonica.com/
 >
 >
    Thanks. In fact I already reached this conclusion. Your Saxon 
processor is an example of a good implementation. As suggested by others 
I will take a look at the source code.



Regards,
Razvan




Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member