Re: format-number() for a phone number?

Subject: Re: format-number() for a phone number?
From: "Liam R. E. Quin" <liamquin@xxxxxxxxxxxx>
Date: Tue, 25 May 1999 23:05:33 -0400 (EDT)
On Tue, 25 May 1999, Mike Brown wrote:

> I need to format North American phone numbers that are 10 digits, like:
> <phone>3035551212</phone>
> would become
> (303) 555-1212

I feel the need to point out.... :-).... that almost every time I've
seen someone do this, they \'ve shortly afterwards had a customer in
some other country whose 'phone number is 35 digits long and contains
spaces, punctuation and the phrase "and ask for maggie" :-)

Lee

-- 
Liam Quin, SGML/XML/Unix consultant, Toronto
l i a m q u i n     at    i n t e r l o g    dot   c o m


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


Current Thread