Subject: RE: [xsl] xsl optimization From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Mon, 21 May 2001 11:09:11 +0100 |
> Is there any possibility for optimizing an XSL ? Yes, of course there is. But it's too big a question to answer in five minutes! Of course, different XSLT processors do different optimization on your stylesheet, so the things that work well with one may not work well with another. Some general rules, though: - assume the processor doesn't do any optimization unless you have evidence to the contrary. - assume that the transformation time depends on the number of "visits" to nodes in the source document. For example, writing "//item" will visit every element node in the document once, and writing "preceding-sibling::item" will visit every preceding sibling item once. Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] New Tutorial, Chris Bayes | Thread | [xsl] Re: Associating namespace pre, Dimitre Novatchev |
Re: [xsl] xsl:copy-of, David Carlisle | Date | RE: [xsl] xsl:copy-of, Michael Kay |
Month |