Re: [xsl] Currency Localization

Subject: Re: [xsl] Currency Localization
From: Goetz Bock <bock@xxxxxxxxxxx>
Date: Mon, 13 Aug 2001 04:28:49 +0200
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