|
Subject: [xsl] Which executes faster: templates with specific match-patterns and simple content or templates with simple match-patterns and specific content ? From: "Costello, Roger L. costello@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 4 Nov 2014 20:32:22 -0000 |
Hi Folks,
Which executes faster:
<xsl:template match="A[@x eq 'a']/B[@y eq 'b']/C">
<xsl:if test="D eq 10">...
or
<xsl:template match="A[@x eq 'a' ]">
<xsl:if test="B[@y eq 'b']/C/D eq 10">...
That is, will my program execute faster if:
- I have templates with highly specific match-patterns and the templates
contain a simple if-statement
or
- I have templates with a simple match-patterns and the templates contain a
highly specific if-statement
/Roger
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] How to get XSL style shee, Michael Kay mike@xxx | Thread | Re: [xsl] Which executes faster: te, Dimitre Novatchev dn |
| [xsl] How to get XSL style sheet to, Catherine Wilbur cwi | Date | Re: [xsl] How to get XSL style shee, Martin Honnen martin |
| Month |