[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: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 10 Jul 2000 18:21:24 +0100
rjzf
> I'm looking at the fomatting options for xsl:number, and 
> since I do not have a sufficiently large test file to determine this, can 
> anyone tell me the answer to the following.
> 
> 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?

The JDK spec on which XSLT relies is surprisingly informal, so the examples
in my book are largely based on trial and error. My impression is that the
two format tokens "00" and "#00" are equivalent, in both cases you will get:

3 -> 03
33 -> 33
333 -> 333

Mike Kay 


 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.