[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Currency Localization

Subject: Re: Currency Localization
From: David_Marston@xxxxxxxxx
Date: Fri, 10 Aug 2001 11:40:37 -0400
world currencies decimal places
Tim Watts (timw@xxxxxxx) writes:
>I am trying to compile an XML document which contains numbering and
>currency information for world currencies, and have been unable to find
>the information I require after two days of searching. (There is no ISO
>spec which I could find with all the information I wanted)
>I thought I would ask for the XSL List for assistance in completing it.
>Anyone who wishes to use the resource could then have a copy.

This looks like a good idea to me. I think that xml.org should give it
a good home, because it's related to their registry function.
I recognize that this one is actual data in XML rather than an XML
vocabulary, but I think the world is ready for such data.

It may be necessary to provide more rigorous definitions of each field.
Consider this excerpt:
<option iso="USD" short="$" decimals="2"
decimal-separator="." grouping-separator=","
currency-placement="before">American Dollars</option>
and the description "the number of decimal places" for the "decimals"
attribute. Evidently, Tim's definition of "decimals" is "the number of
decimal places required to encompass the smallest unit of accounting
required for commerce" but it might be "the number of decimal places
required to encompass the smallest unit of currency in circulation."
In the USA, it is permissible to do certain accounting in mills, or
thousandths of a dollar, but there is no currency nor banking support
below cents (hundredths of a dollar). The most common example for
Americans is that most bulk petroleum products, like gasoline at the
pump, are priced down to the mill, but you have to pay in even cents.
Conversely, two parties can agree to do business only in whole dollars.
Some proposals floating around Washington would make make $0.05 the
smallest unit of currency while banking support continues down to
$0.01, so you can see why more rigor is needed and why the number of
decimal places may not be adequate to express all necessary values.

Overall, this is a good start to a good idea. Let's see what
develops.
.................David Marston


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • Currency Localization
    • Tim Watts - Thu, 9 Aug 2001 19:35:41 -0400 (EDT)
      • Tim Watts - Thu, 9 Aug 2001 22:03:44 -0400 (EDT)
      • <Possible follow-ups>
      • David_Marston - Fri, 10 Aug 2001 11:46:12 -0400 (EDT) <=
        • Tim Watts - Sun, 12 Aug 2001 20:17:49 -0400 (EDT)
          • Goetz Bock - Sun, 12 Aug 2001 22:32:34 -0400 (EDT)
          • Tim Watts - Mon, 13 Aug 2001 01:15:03 -0400 (EDT)

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.