Subject: [xsl] Insert running number with special start value From: "Meyer, Roland" <roland.1.meyer@xxxxxxx> Date: Fri, 31 Aug 2007 16:40:38 +0200 |
Hi, I could not find a solution for my question in the FAQs, although I think it could be trivial. I have an XSL with a for-each loop and like to place a running number into my output xml. I could do this successful by using the following code: <xsl:for-each select="MyTag"> ... <xsl:element name="running_number"><xsl:number/></xsl:element> ... </xsl:for-each> It starts with value 1 and counts up till the loop ends. But now I like to start with e.g. value 900 and not with value 1. What is the easiest way to do this (the number attributes seem not to support such thing)? Best Regards, Roland
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] W3C Schema for XSL-FO 1.1, Jirka Kosek | Thread | Re: [xsl] Insert running number wit, Andrew Welch |
Re: [xsl] HTTP authentication suppo, Colin Paul Adams | Date | Re: [xsl] Insert running number wit, Andrew Welch |
Month |