This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]