Subject: Re: [xsl] count doesnt get incremented From: "J.Pietschmann" <j3322ptm@xxxxxxxx> Date: Mon, 10 Nov 2003 01:41:56 +0100 |
Here's my template which is not incrementing the
count value whenever <mo>(</mo> is matched in the
document.
<xsl:template match ="mml:mo[.='(']">
<xsl:variable name ="moWithParen"
select="count(preceding::mo[text()='('])"/>
I guess you forgot the namespace here. Try select="count(preceding::mml:mo[text()='('])"
<xsl:text><form name = "</xsl:text><xsl:value-of select ="$moWithParen"/><xsl:text>"></xsl:text>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] count doesnt get incremented, suresh reddy | Thread | RE: [xsl] count doesnt get incremen, Michael Kay |
Re: [xsl] Simple Xsl Problem, J.Pietschmann | Date | Re: [xsl] Re: Re: Can not convert #, arun prasath |
Month |