Subject: Re: apply-template doesn't hit template
From: Frans Englich <frans.englich@xxxxxxxxx>
Date: Mon, 13 Sep 2004 14:30:12 +0000
|
On Monday 13 September 2004 13:15, Vasu Chakkera wrote:
> Hello,
>
> ><xsl:template select="kcm">
> > <xsl:message>template hits</xsl:message>
> > <!-- This message is never seen -->
> ></xsl:template>
>
> watch out the above construct. xsl template doesnt have a select
> attribute...
>
> this should be
> <xsl:template match="kcm">
> <xsl:message>template hits</xsl:message>
> <!-- This message is never seen -->
> </xsl:template>
>
> ( I can imagine you kicking yourself )
>
> I havent seen rest of your code. See if this works...'
It of course worked just fine. For a day or two I've been trying all different
kinds of XPaths, I thought I've lost my mind.. These kind of bugs are not
technically hard to solve, but they simply needs another pair of eyes.
Thanks,
Frans
|