Re: [xsl] Performance with DOM

Subject: Re: [xsl] Performance with DOM
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Mon, 21 Jun 2004 19:23:03 -0400
Ranjan,

First off I should stress that I don't know a thing about the internals of XSLT processors: I am studiously ignorant in these matters.

But I can suggest:

* Whatever you mean by "with DOM" you should investigate whether alternatives are available and whether they would perform better. DOM is a generalized API, not tuned for XSL, and naturally cannot perform as well as something built just for the job.

* There are faster processors than Xalan; depending on your platform you might investigate Saxon, MSXML or libXSLT.

* If there is a strong family resemblance between your six output formats, and depending on your processing architecture, you could perhaps streamline processes overall by breaking things out into two or more phases. A single initial transform could create a ready file for a set of transforms downstream. This can have other benefits as well as being faster to run, but should only be undertaken if you really know what you're doing, or it can make matters worse not better.

Cheers,
Wendell

At 01:09 AM 6/18/2004, you wrote:
Hello,
     I am using xslt with DOM to get required html. I
am using around six stylesheets to get different html
reports. Due to huge size of XML document, the
performance is very slow.I am using xalan for
transformation.Any advice regarding performance or
suggestion for any open source reporting tools will be
appreciated.

regards,
Ranjan

___&&__&_&___&_&__&&&__&_&__&__&&____&&_&___&__&_&&_____&__&__&&_____&_&&_
"Thus I make my own use of the telegraph, without consulting
the directors, like the sparrows, which I perceive use it
extensively for a perch." -- Thoreau



Current Thread