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

Re: RJZF for "format" in xsl:number

Subject: Re: RJZF for "format" in xsl:number
From: Ragnar Schierholz <raschi@xxxxxxxxxx>
Date: Mon, 10 Jul 2000 14:12:52 -0500
Re: RJZF for "format" in xsl:number
John Robert Gardner wrote:

> Considering the RJSF (right-justfied, zero filled) format token option
> with "01, 02" etc. on up to 10, 11, 12, etc., what happens --what is the
> proper processor behavior-- when "100" is reached which exceeds the
> proprotion of digits assigned by the format token?

Have a look at W3C's XSLT working draft, section 7.7.1, Number to String 
Conversion Attributes (http://www.w3.org/TR/xslt#convert). Using a token 
of "01" the XSLT Processor is supposed to create numbers "01", "02", ... 
"09", "10", "11", ... "98", "99", "100", "101" ... and so on.
And of course you should be able to add multiple leading 0s.

HTH,
        Ragnar


 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-2011 All Rights Reserved.