[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Senthil Nathan wrote:
Re: [xsl] copy nodes based on the criteria]
Subject: Re: [xsl] copy nodes based on the criteria] From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Sat, 08 Dec 2007 11:44:10 +0100 |
Senthil Nathan wrote:
Senthil, just as a general rule, try to never use "//" in a match. It hardly ever adds anything and it is very inefficient for the processor. "//" only means something when selecting nodes (i.e, from xsl:apply-templates), but even then it's over-used and is best be avoided most of the time.
<xsl:template priority="2.0" match="//*[@Apply='1']"> ....
<xsl:template match="//*[@Apply]">
....
Cheers, -- Abel Braaksma
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] stylesheet expansion, Michael Kay | Thread | [xsl] Conditional Transformition fo, Karl Stubsjoen |
[xsl] stylesheet expansion, Geert Bormans | Date | Re: [xsl] stylesheet expansion, Abel Braaksma |
Month |