[uf-new] microformat granularity: currency and measure

Andy Mabbett andy at pigsonthewing.org.uk
Thu Jul 19 15:05:28 PDT 2007


In message <469FDC4F.2020209 at brixlogic.com>, Guillaume Lebleu 
<gl at brixlogic.com> writes

>Andy Mabbett wrote:
>>> For instance, in "¢2.1 USD", the currency is "USD", and the unit is 
>>>"¢", but "¢" is not the symbol of currency "USD".
>>
>>
>> How would you mark those up?
>>
>Here is a try, using the "value" class name:
>
><span class="money"><abbr class="unit" title="cent">¢</abbr><span 
>class="value">2.1</span> <span class="currency">USD</span></span>

Unless we're expecting parsers to understand every sub-unit of every 
currency, that'll cause problems.

I read it as saying the amount is 2.1 dollars.

-- 
Andy Mabbett



More information about the microformats-new mailing list