currency-proposal

(Difference between revisions)

Jump to: navigation, search
(Initial version)
(Added feature/benefit)
Line 15: Line 15:
== Features ==
== Features ==
 +
* Reuse of widely used ISO 4217 for unambiguous encoding of currency types: ensures interoperability with many existing and emerging industry standards such as [http://www.ifxforum.org IFX], [http://www.acord.org ACORD], [http://www.xbrl.org XBRL] or [http://docs.oasis-open.org/ubl/cd-UBL-1.0/ UBL].
* Define currency once, use anywhere: allows currency units to be defined once and then referred to, instead of locally defined for each money amount, resulting in ease of readability for both human users and their user agents.
* Define currency once, use anywhere: allows currency units to be defined once and then referred to, instead of locally defined for each money amount, resulting in ease of readability for both human users and their user agents.
* Timestamping: money amounts have an optional date that allows user agents to translate a historical figure to an equivalent present amount.
* Timestamping: money amounts have an optional date that allows user agents to translate a historical figure to an equivalent present amount.

Revision as of 04:50, 11 October 2006

Contents

Currency

currency is a simple microformat for marking up money amounts, such as prices of products/services or financial facts.

Introduction

Money amounts are one of the most widespread content found on the Web, but the lack of unambiguous representation of the currency they are expressed in, or the date that they relate to, makes comparison and matching of offerings online difficult.

Scope

This proposal limits its scope to:

Features

Root Class Name

The root class name for a money amount is money.

Property List

Examples

Simple in-line example with local definition of the currency unit: $39.99

<span class="money"><abbr class="currency unit" title="USD">$</abbr><span class="amount">39.99</span></span>

Text representation of the amount: Thirty-nine Dollars

<span class="money"><abbr class="amount" title="39">Thirty-nine</abbr> <abbr class="currency unit" title="USD">Dollars</abbr></span>

Table example with global definition of the currency unit:

   <table>
      <tr><th>Price in <abbr id="u1" class="currency unit" title="USD">US$</abbr></th></tr>
      <tr><td><div class="money">39.99<a href="#u1" class="include"></a></div></td></tr>
   </table>
currency-proposal was last modified: Wednesday, December 31st, 1969

Views