[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] format number mask


Subject: Re: [xsl] format number mask
From: S Woodside <sbwoodside@xxxxxxxxx>
Date: Wed, 8 Jan 2003 23:26:51 -0500


On Wednesday, January 8, 2003, at 10:30 AM, Jeff Kenton wrote:


Michael Kay wrote:
Can i use format-number to display EAN-8 / EAN-13 barcodes with format-number

1122222333334 should be displayed as 11.22222.33333.4
and
11222223 should be displayed as 11.22222.3

No, I don't think you can. Grouping separators can only be included at
regular intervals.

The XSLT 2.0 WD appears to allow grouping separators in arbitrary positions, although this probably doesn't help the original poster right now.

Try using substrings function?


simon
---
www.simonwoodside.com


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list




Current Thread
Keywords