phones (was Re: deprecated tags in Wilbur & Cougar)

At 11:21a -0700 08/07/96, Mike Wexler wrote:
>With a DTD we could do something like the following:
>	<PHONENUMBER>
>	 <COUNTRYCODE> 1 </COUNTRYCODE>
>	 <AREACODE> 800 </AREACODE>
>	 <LOCALNUMBER1> 745 </LOCALNUMBER1>
>         <LOCALNUMBER2> 5345 <LOCALNUMBER2>
>        </PHONENUMBER>
>
>With HTML and classes you could do
>	<SPAN CLASS="PHONENUMBER">
>         <SPAN CLASS="COUNTRYCODE"> 1 </SPAN>
>	 <SPAN CLASS="AREACODE"> 800 </SPAN>
>	 <SPAN CLASS="LOCALNUMBER1"> 745 </SPAN>
>         <SPAN CLASS="LOCALNUMBER2"> 5345 </SPAN>
>	</SPAN>
>
>If you want to express in a formal document that a phonenumber must have
>a LOCALNUMBER1 and a LOCALNUMBER2 (in that order), then you will need
>something like a DTD.


Actually, EXCHANGE (745) and NUMBER (5345), but I digress. :-)

__________________________________________________________________________
    Walter Ian Kaye <boo@best.com>     Programmer - Excel, AppleScript,
          Mountain View, CA                         ProTERM, FoxPro, HTML
 http://www.natural-innovations.com/     Musician - Guitarist, Songwriter

Received on Sunday, 11 August 1996 10:07:45 UTC