From: [EMAIL PROTECTED]
I want to use xsl:number in my stylesheet.
Your question is a pure XSLT question, and this is not the appropriate forum for XSLT questions. Ive included a link to the XSLT list, but I will attempt to answer your question below.
http://www.biglist.com/lists/xsl-list/
I put in a template : <xsl:number level="multiple" count="//sol" format="1. "/>
<snip/>
But I want to begin my count not at 1 but at 2. Regarding the documentation I've found in the web, I don't know how I can do that (2., 3., ...)
I also have the same requirement, but was not able to achieve it using xsl:number. xsl:number will let you start counting from an arbitrary number if you dont need multiple levels, using value="", but you just cant do both together. Ive included a quote from an e-mail posted by Michael Kay on the xsl-list;
<quote> Using the "value" attribute of xsl:number gives you access to the number formatting functionality of xsl:number without the node-counting functionality. For example
<xsl:number value="7" format="i"/>
gives you "vii", regardless of where the context node is in the source tree. This means that value can't be used with multi-level numbering (at least in XSLT 1.0 - in 2.0 the value attribute can be a sequence of numbers). </quote>
Chris
_________________________________________________________________
Find a cheaper internet access deal - choose one to suit you. http://www.msn.co.uk/internetaccess
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
