[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|