Re: Number, Date, Time, Quantity

We have often had such requests for datatype elements, and one of the  
questions was always "where do you stop?".
The solution was to make such information about content a part of the  
metadata story.

So there is a way that you can express what you are asking for. It is  
described in the metadata attributes section:
http://www.w3.org/TR/xhtml2/mod-metaAttributes.html#s_metaAttributesmodule

So you can write:

	<span datatype="xsd:date">2006-08-30</span>

or even

	<span datatype="xsd:date" content="2006-08-31">tomorrow</span>

(It will work on any element, not just span).

Hope this helps.

Best wishes,

Steven Pemberton

On Wed, 30 Aug 2006 17:57:31 +0200, Hendry, Alan  
<AlanHendry@uk.agcocorp.com> wrote:

>
>
> If there was a tag like <number>1,234.56</number>
>
> it could be displayed as 1.234,56 based upon the users settings
> (regional options in Windows)
>
> further it could be read as "one thousand two hundred ..." by a screen
> reader
>
>
>
> If there was a tag like <shortdate>31/12/2006</shortdate>
>
> it could be displayed as 12-31-06 based on the users settings
>
>
>
> If there was a tag like <longdate>31/12/2006</longdate>
>
> it could be displayed as 31 December 2006 based on the users settings
> (and language)
>
>
>
> If there was a tag like <time>23:59:59</time>
>
> it could be displayed as 11.59.59 PM
>
>
>
> If there was a tag like <quantity unit=km>1.6</quantity>
>
> then it could be displayed as 1 MILE
>
> (there could be a lot of different units for length, area, volume,
> weight, temperature, etc)
>
>
>
>
>
>
> *********************************************************************************
> This email is intended solely for the use of the individual to whom
> it is addressed and may contain confidential and/or privileged
> material.  Any views or opinions presented are solely those of the
> author and do not necessarily represent those of AGCO.
> If you are not the intended recipient, be advised that you have
> received this email in error and that any use, dissemination,
> forwarding, printing or copying of this email is strictly prohibited.
>
> Neither AGCO nor the sender accepts any responsibility for viruses and  
> it is your
> responsibility to scan and virus check the e-mail and its attachment(s)  
> (if any).
> *********************************************************************************
>

Received on Wednesday, 30 August 2006 20:13:41 UTC