[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 Müller-Hillebrand <mmh@xxxxxxxxxxxxx>
Date: Mon, 21 Dec 2009 13:10:00 +0100
Re:  Format Phone number
Am 21.12.2009 um 12:33 schrieb Anil Kumar Veeramalli:

> do you think is this good approach?

No. It seems to fulfill a short-term request but it is going to fail soon.
Because as soon as any extra requirement appears (and they usually do), you
are stuck. Whether it is the leading "+", additional digits in parentheses, a
different international digit grouping, or the separation of
country/city/local parts of the number. Especially the latter would be fun,
because you would have to calculate the full-form "number" from individual
parts... in Germany we have city code with 36 digits plus local "numbers"
ranging from 38 digits. Hey, and what about vanity numbers...

Try a more solid approach. Even though we call it a telephone "number" it is
not a numeric, like every computer likes to treat it.

Good luck,

- Michael M|ller-Hillebrand

Michael M|ller-Hillebrand: Dokumentations-Technologie
Adobe Certified Expert, FrameMaker
Lvsungen und Training, FrameScript, XML/XSL, Unicode
Blog: http://cap-studio.de/ - Tel. +49 (9131) 28747

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.