|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
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








