[Home] [By Thread] [By Date] [Recent Entries]
Michael Semcheski wrote:
I was wondering what kind of responses I would get to this question... I have a template whose match looks kind of like this: 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 <xsl:apply-templates select="z:row[@Type='Matrix']/z:row[@MatrixOpt='1'] | z:row[@Type='Matrix']/z:row[@MatrixOpt='5'] | z:row[@Type='Matrix']/z:row[@MatrixOpt='6']"/> ... <xsl:template match="z:row"> ... </xsl:template> -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



