xsl-list
[Top] [All Lists]

Re: [xsl] copy nodes based on the criteria]

2007-12-08 03:44:21
Senthil Nathan wrote:


 <xsl:template priority="2.0" match="//*[(_at_)Apply='1']">
....

 <xsl:template match="//*[(_at_)Apply]">
....
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.

Cheers,
-- Abel Braaksma



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [xsl] copy nodes based on the criteria], Abel Braaksma <=