Subject: Re: [xsl] Perfomance: 'conditional instruction' vs. 'multi template' From: Michael Kay <mike@xxxxxxxxxxxx> Date: Sat, 03 Nov 2012 20:04:01 +0000 |
But templates in the importing stylesheet that match have absolute priority over those in the imported stylesheet, so a declarative stylesheet that imports another stylesheet would have the same effect whether the imported stylesheet was declarative or imperative, wouldn't it?The point is that if you split your code into smaller templates, then you can override smaller parts of your code. It's the same as in OO programming - big monolithic methods can only be overridden in-toto, you can't change parts of their behaviour selectively.
Michael Kay Saxonica
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Perfomance: 'conditional , Daniel Sullivan | Thread | RE: [xsl] Perfomance: 'conditional , Daniel Sullivan |
RE: [xsl] Perfomance: 'conditional , Daniel Sullivan | Date | RE: [xsl] Perfomance: 'conditional , Daniel Sullivan |
Month |