[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: xslt:number numeration starts !=1
> I thought to > "from" attribute of xslt:number, but it doesn't work. can you help me? I haven't tried to understand your problem (it involves too much digging around previous messages), but there is no option in xsl:number to start numbering at a value other than one. If you guessed that the from attribute would do this, then you guessed wrong (and it's best not to guess). What you can do is: <xsl:variable name="n" as="xs:integer"> <xsl:number (options excluding format)/> </xsl:variable> <xsl:number value="$n+6" format="..."/> Regards, Michael Kay http://www.saxonica.com/ http://twitter.com/michaelhkay
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|