![]() |
|
![]() |
||
![]() |
![]() |
|
[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date] <quantity> element proposal (was: XHTML 2.0 <datetime> element proposal)
From: Ernest Cline <ernestcline@mindspring.com>
Date: Wed, 29 Oct 2003 22:08:08 -0500 Message-ID: <410-2200310430388218@mindspring.com> To: "Tantek Çelik" <tantek@cs.stanford.edu>, "W3C HTML List" <www-html@w3.org> > [Original Message] > From: Tantek Çelik <tantek@cs.stanford.edu> > Similarly, I have encountered instances where a frequency element would have > been quite useful. Something like: > > <freq>[decimalfrequency-unit]</freq> > > e.g. > > <freq>60Hz</freq> > <freq>88.5mHz</freq> Well for XHTML, I think this would be too specialist to be worth including in the main spec. However a slightly more generic version to indicate any sort of quantity might be worth having with optional sub elements to indicate the amount and the unit of measure being used. <quantity><amount>60</amount> <unit>Hz</unit></quantity> <quantity><unit>$</unit>1.49</quanity> <quantity><amount>twelve</amount> lords-a-leaping</quantity> <quantity>76 trombones</quantity> > > In any case, rather than waiting to add such new elements to XHTML 2.0, why > not simply create your own XHTML Modularization module[1] for them and mix > them in with XHTML 1.1 or XHTML Basic or any other XML language? because there is and likely will be in the foreseeable future a number of user agents that will only try to handle HTML and XHTML and ignore XML in general. > Tantek > > [1] > http://www.w3.org/TR/xhtml-modularization/abstraction.html#sec_4.4.1 .Received on Wednesday, 29 October 2003 22:08:14 GMT |
|
||||||||||||||||