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

RE: Format Phone number

Subject: RE: Format Phone number
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 21 Dec 2009 10:27:50 -0000
RE:  Format Phone number
> I want to format phone number xxx-xxx-xxxx format.

Are you really sure it is wise to write an application that can only handle
phone numbers in US format? This kind of thing gets very annoying for users
in other countries. (I've had to give an invented phone number before now to
get past the "validation" on the input form...)

A phone number should not really be treated as a number: leading zeroes are
significant, and arithmetic operations are meaningless. It's really just a
string whose component characters happen to be digits.
> I am using XSL1.0
> I tried with below approaches but didn't work

Please don't say that something "didn't work" without telling us the
symptoms. Did it produce output, or an error message? If it produced output,
what was the output and how was it wrong? If it produced an error message,
what was the message?


Michael Kay

Current Thread


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.
First Name
Last Name
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.