This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Using number in an expression


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]