>> The book costs $<span class="USD">5.99</span>
This gives me a chance to ask in a different way, why can we not assume type=USD, amount=5.99, and symbol=$ from the following? The book costs <span class="currency" title="USD">$5.99</span> I believe you answer will be "what about unicode where we are not using [A-Za-z0-9] and if so, I would say that is when you add a symbol. In my example, <symbol> is the non-[A-Za-z0-9] character(s) *if* no symbol is explicitly specified. Can you give me an example where that would not work? -Mike -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Mabbett Sent: Saturday, October 14, 2006 6:53 AM To: Microformats Discuss Subject: Re: [uf-discuss] First version of Currency proposal In message <[EMAIL PROTECTED]>, Emiliano Martinez Luque <[EMAIL PROTECTED]> writes >Regarding the Straw man proposal, the symbol class seems to be >unnecesary since the symbol in most price representations is just a >convention to define which currency we are speaking of. Not so. Suppose there is a page with the markup (simplified): The book costs $<span class="USD">5.99</span> and I have a user agent (a Firefox extension, say) which replaces the dollar value with the value in pounds sterling. I'd get: The book costs $£3.50 which is clearly nonsense. By wrapping the dollar sign in a span (or whatever) with the class "symbol", the user agent is made aware of its presence, and can hide it when inserting the sterling value. Likewise for the "unit" in 50 <span class-"unit">cents</span> -- Andy Mabbett Say "NO!" to compulsory ID Cards: <http://www.no2id.net/> Free Our Data: <http://www.freeourdata.org.uk> _______________________________________________ microformats-discuss mailing list microformats-discuss@microformats.org http://microformats.org/mailman/listinfo/microformats-discuss _______________________________________________ microformats-discuss mailing list microformats-discuss@microformats.org http://microformats.org/mailman/listinfo/microformats-discuss