It's a simple question, but there's no simple answer.
Remember that xsl:number bundles two operations: finding out the number, and
formatting it for display. You need to split these two operations:
<xsl:variable name="n">
<xsl:number.../>
</xsl:variable>
<xsl:number value="number($n) + 1" format="...."/>
This also means you can't use level="multiple" - but you can always break
level="multiple" into a sequence of level="single" calls at different
levels.
Michael Kay
http://www.saxonica.com/
-----Original Message-----
From: Paula Estrella
[mailto:Paula(_dot_)Estrella(_at_)issco(_dot_)unige(_dot_)ch]
Sent: 04 April 2006 12:14
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] xsl:number question
Hi, sorry for this very simple question. I need to use
xsl:number but
starting at a given number, how can I get the numbers
starting at 2 for
ex. ? (to display 2.1 / 2.1.1 / etc )
Thanks
Paula
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--