Johannes Maybe the code could be patched to include such a call; after all the Cocoon docs *do* refer one to this page; which implies it *should* work (and does, partially, because the "," separator works.) In the meantime; whereabouts is the XSLT that I need to alter to get the formatting - bearing in mind its only on the one form that I need to do it? Or should I rather insert an extra step with a custom stylesheet into the pipeline *before* the forms processing or *after* it?? Thanks Derek
>>> Johannes Textor <[EMAIL PROTECTED]> 2007/05/24 06:07 PM >>> Hi Derek, > > The decimal format doc says: > "The prefixes, suffixes, and various symbols used for infinity, digits, > > thousands separators, decimal separators, etc. may be set to > arbitrary values, and they will appear properly during formatting. > However, care must be taken that the symbols and strings do not > conflict, or parsing will be unreliable." > http://java.sun.com/j2se/1.4.2/docs/api/java/text/DecimalFormat.html > This is true but still does not mean that you can insert arbitrary characters between the "#". It means that when calling the setGroupingSeparator() method on a DecimalFormat object, you can choose an arbitrary character. I am not aware of a method of setting the grouping separator on a "converter" element (doesn't seem possible guessing from the docs), so i'd suggest delegating this to the xsl level where you can use the mighty "xsl:number" element. Cheers, Johannes --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- This message is subject to the CSIR's copyright, terms and conditions and e-mail legal notice. Views expressed herein do not necessarily represent the views of the CSIR. CSIR E-mail Legal Notice http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html CSIR Copyright, Terms and Conditions http://mail.csir.co.za/CSIR_Copyright.html For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR Legal Notice send a blank message with REQUEST LEGAL in the subject line to [EMAIL PROTECTED] This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]