This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Using number in an expression
- From: "Rick Quatro" <rick at frameexpert dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Mon, 25 Feb 2002 07:31:59 -0600
- Subject: [xsl] Using number in an expression
- Reply-to: xsl-list at lists dot mulberrytech dot com
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@frameexpert.com
http://www.frameexpert.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list