[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

XSL:Number, value attribute

Subject: XSL:Number, value attribute
From: "Chris Bowditch" <bowditch_chris@xxxxxxxxxxx>
Date: Fri, 27 Jun 2003 08:05:02 +0000
xsl number value position
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



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.