|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XSL:Number, value attribute
Dear All,
I'm using Xalan v2.5.1 on JDK 1.3.1 and running into some problems using xsl:number. I can successfully number nodes in a hierarchical fashion using level=multiple and format="1.a.i" However, I need to start numbering my nodes from a seed, e.g 3,4,5 instead of 1,2,3. So I thought I could specify value="position()+{$seed}" but whenever I specify the value attribute, the formatting is lost and the multiple level numbering is lost. Furthermore, nodes end up getting numbered 2,4,6 instead of 1,2,3 with value="position()". I tried specifying the count attribute to fix this but I had no luck. Is the value attribute of xsl:number supported at all? I would be grateful for any ideas, Chris _________________________________________________________________ Tired of 56k? Get a FREE BT Broadband connection http://www.msn.co.uk/specials/btbroadband XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








