Mukul Gandhi wrote:
But I think, your code fragment needs to be modified as:
<xsl:for-each select="A|B|C">
<xsl:choose>
<xsl:when test="self::A">
Ah, thanks, you are right Mukul, I gave the wrong advice on that one.
But I stick to my advice on using matching templates instead of an
equivalent set of call-templates combined with your own big
switch-equivalent statement. Much too much work... and ain't we all
programmer's and ain't good programmers lazy programmers? ;-)
-- Abel
--~------------------------------------------------------------------
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>
--~--