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

Re: Currency Localization

Subject: Re: Currency Localization
From: Goetz Bock <bock@xxxxxxxxxxx>
Date: Mon, 13 Aug 2001 04:28:49 +0200
500.00 bill
On Mon, Aug 13 '01 at 10:25, Tim Watts wrote:
While you (this whole list and who ever contrubutes/-ed) are at it, what
about creating an XML file with currencies, like it has been done and 
include the information of allowed fractions (mills of USD) AND include
infromation about available coins/bills. 
And than we could also add subunits: cent for dollar, or pfennig for DM.

<currencies>
  <currency iso="DEM" short="DM" decimals="2" decimal-separator=","
   grouping-separator="." currency-placement="after">
    <name xml:lang="us">German Marks</name>
    <name xml:lang="de">Deutsche Mark</name>
    <small short="Pf" value="0.01">
      <name xml:lang="de">Pfennig</name>
    </small>  
    <bank decimals="3"/>
    <coin value="0.01"/>
    <coin value="0.02"/>
    <coin value="0.05"/>
    <coin value="0.10"/>
    <coin value="0.50"/>
    <coin value="1.00"/>
    <coin value="2.00"/>
    <coin value="5.00"/>
    <coin value="10.00" status="uncommon"/>
    <bill value="5.00" status="uncommon"/>
    <bill value="10.00"/>
    <bill value="20.00"/>
    <bill value="50.00"/>
    <bill value="100.00"/>
    <bill value="200.00"/>
    <bill value="500.00"/>
    <bill value="1000.00"/>
  <currency>
<currencies>

<small/> and <bank/> might need a better name. The @status of coin/bill
allows for additional information like uncommen (at the bank you've to
ask for it and if youre lucky you get some), deprecated (nolonger in
use, in this case an additional attribute like @since would be cool. But
this would lead to inclusion of the full history of a currency and this
is definitely more work than anyone wants to do/needs (just designing 
the DTD might be a lot of work already))

Unforunately this has nothing to do with XSL-T anymore :-((.

What was the URL of the XML standart stuff webpage. (There are so many
things that should have an XML file describing all localization variants
... something like this should have a intuitive URI ...)

Please bear with me, it's 4:24 in the morning (CEST) here.

Good night,
    Goetz.

Attachment: pgp00013.pgp
Description: PGP signature

Current Thread

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.