RE: xsl:number question
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.Estrella@xxxxxxxxxxxxxx] > Sent: 04 April 2006 12:14 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: 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
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