Re: [xsl] Match Question

Subject: Re: [xsl] Match Question
From: Francis Norton <francis@xxxxxxxxxxx>
Date: Mon, 20 Jan 2003 16:16:56 +0000
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


Current Thread