[xsl] Using number in an expression

Subject: [xsl] Using number in an expression
From: "Rick Quatro" <rick@xxxxxxxxxxxxxxx>
Date: Mon, 25 Feb 2002 07:31:59 -0600
I am using <xsl:number/> to output the number of the current element. I
would like to add another number (99) to the value of <xsl:number/>.

I was using <xsl:value-of select="position()+99"/>, which worked fine except
it was counting sibling elements. <xsl:number/> counts correctly, but I need
to add the 99 to the result before outputting it. Thanks in advance.

Rick Quatro
Carmen Publishing
585 659-8267
rick@xxxxxxxxxxxxxxx
http://www.frameexpert.com


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread