[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] RE: Use XQuery or XSLT


Subject: RE: [xsl] RE: Use XQuery or XSLT
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 7 Jan 2005 15:10:04 -0000

> "I forgot to mention that memory requirements are limited. 
> Even in one GB
> system, 300 MB file cannot be processed as the DOM can take 
> as much as 10
> times the file size. It would crash the system."
> 
> One thing to remember is that memory is cheap now adays. 

Also, most DOM implementations are bloated. The internal tree used by XSLT
processors such as Saxon is often much smaller (it can take advantage of the
fact that it's immutable). It depends on the structure, but a factor of 4 is
often enough.

However, it's often not memory that limits a large transformation, but
non-linear algorithms in the stylesheet logic.

Michael Kay
http://www.saxonica.com/


Current Thread
Keywords