[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] Avoiding dummy xsl:if with apply-templates
Subject: RE: [xsl] Avoiding dummy xsl:if with apply-templates From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Tue, 15 Feb 2005 14:28:11 -0000 |
> Yes, I did it for keeping the (large) pattern in one place > instead of two, and > for optimization, to have it evaluated only once. But that's perhaps > unnecessary? > It's good practice, I think, to use a variable in such cases. Some optimizers may recognize common subexpressions, but there's no point relying on it. Michael Kay http://www.saxonica.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Avoiding dummy xsl:if wit, Frans Englich | Thread | Re: [xsl] Avoiding dummy xsl:if wit, Dimitre Novatchev |
RE: [xsl] Disable namespace declara, Michael Kay | Date | RE: [xsl] XPath 1.0 issue, Michael Kay |
Month |