xsl-list
[Top] [All Lists]

Re: Match Question

2003-01-20 09:16:56
Hi Oleg,

Oleg Tkachenko wrote:

Move selection logic to caller - that's much more effective. I mean select nodes to process by <xsl:apply-templates> and not by <xsl:template> if you have such a convolute logic. I mean

Often a good idea, with possible performance improvements. To make it even clearer you might want to use a mode (in case you had another xsl:template which matched on "z:row") or even xsl:call-template. I would also add a comment to the template describing any part of the match predicate which is still assumed, but is no longer visible in the template.

Francis.

--
"Never mind manoeuvre, go straight at 'em." - Admiral Horatio Nelson



XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>