[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: format number mask

Subject: Re: format number mask
From: Tobias Reif <tobiasreif@xxxxxxxxxxxxx>
Date: Thu, 09 Jan 2003 10:28:52 +0100
number mask
S Woodside wrote:


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?


All the nice regex stuff in XSLT2 should help.


Tobi


--

Vim users               donate.
http://iccf-holland.org/donate.html

Web developers           check.
http://www.pinkjuice.com/check/


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.