This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Currency Localization


G'day,

Could you add the details for your currency, or currencies which you know,
to the list below?

As I thought this would be a useful resource for many people that are on
this list for localization.

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 wishs to use the resource could then have a copy.

I have included the XML I have begun below, and would value your input (sent
to timw@3d3.com as to not clog the list with multiple posting about this)

The resources I would like are ;

The number of decimal places
the decimal seperator
the grouping separator (for thousands etc.)
the placement of the currency symbol (before or after the numeric value.)

eg
$ 1,045.50    (2 decimal places, '.' decimal separator, ',' grouping
separator, placement 'before')
67.000,00 DM  (2 decimal places, ',' decimal separator, '.' grouping
separator, placement 'after')
¥ 45,000      (0 decimal places, '.' decimal separator, ',' grouping
separator, placement 'before')
S 5.890,99    (2 decimal places, '.' decimal separator, ',' grouping
separator, placement 'before')
£ 6,798.00    (2 decimal places, '.' decimal separator, ',' grouping
separator, placement 'before')

There is already the details of the iso codes and the currency symbol's
(although corrections are welcome)

Thank you for all your help,

Tim Watts :)



XML ->

<?xml version="1.0" encoding="utf-8"?>
<select>
	<option iso="ATS" short="S" decimals="2" decimal-separator=","
grouping-separator="." currency-placement="before">Austrian
Schillings</option>
	<option iso="AUD" short="A$" decimals="2" decimal-separator="."
grouping-separator="," currency-placement="before">Australian
Dollars</option>
	<option iso="BBD" short="Bds$" decimals="2">Barbados Dollars</option>
	<option iso="BEF" short="BF" decimals="2">Belgian Francs</option>
	<option iso="BGL" short="Lv" decimals="0">Bulgarian Lev</option>
	<option iso="BMD" short="Bd$" decimals="2">Bermudian Dollars</option>
	<option iso="BSD" short="B$" decimals="2">Bahamian Dollars</option>
	<option iso="CAD" short="Can$" decimals="2" decimal-separator="."
grouping-separator="," currency-placement="before">Canadian Dollars</option>
	<option iso="CHF" short="SwF" decimals="2">Swiss Francs</option>
	<option iso="CLP" short="Ch$" decimals="2">Chilean Pesos</option>
	<option iso="CNY" short="Y" decimals="2">Chinese Renmimbi</option>
	<option iso="CSK" short="Kc" decimals="2">Czech Koruna</option>
	<option iso="CYP" short="£C" decimals="2">Cyprus Pounds</option>
	<option iso="DEM" short="DM" decimals="2" decimal-separator=","
grouping-separator="." currency-placement="after">German Marks</option>
	<option iso="DKK" short="Dkr" decimals="2" decimal-separator=","
grouping-separator="." currency-placement="before">Danish Kroner</option>
	<option iso="DZD" short="DA" decimals="2">Algerian Dinars</option>
	<option iso="EGP" short="£E" decimals="2">Egyptian Pounds</option>
	<option iso="ESP" short="Ptas" decimals="2">Spanish Pesetas</option>
	<option iso="EUR" short="Euro" decimals="2" decimal-separator=","
grouping-separator="." currency-placement="before">Euro</option>
	<option iso="FIM" short="mk" decimals="2">Finnish Markka</option>
	<option iso="FJD" short="F$" decimals="2">Fijian Dollars</option>
	<option iso="FRF" short="F" decimals="2" decimal-separator=","
grouping-separator="." currency-placement="before">French Francs</option>
	<option iso="GBP" short="£" decimals="2" decimal-separator="."
grouping-separator="," currency-placement="before">British Pounds</option>
	<option iso="GRD" short="Dr" decimals="2">Greek Drachmas</option>
	<option iso="HKD" short="HK$" decimals="2">Hong Kong Dollars</option>
	<option iso="HUF" short="Ft" decimals="0">Hungarian Forint</option>
	<option iso="IDR" short="Rp" decimals="0">Indonesian Rupiah</option>
	<option iso="IEP" short="IR£" decimals="2">Irish Punt</option>
	<option iso="ILS" short="NIS" decimals="2">Israeli New Shekels</option>
	<option iso="INR" short="Rs" decimals="2">Indian Rupees</option>
	<option iso="ISK" short="IKr" decimals="2">Icelandic Krona</option>
	<option iso="ITL" short="Lit" decimals="0">Italian Lira</option>
	<option iso="JMD" short="J$" decimals="2">Jamaican Dollars</option>
	<option iso="JOD" short="JD" decimals="2">Jordanian Dinar</option>
	<option iso="JPY" short="¥" decimals="0">Japanese Yen</option>
	<option iso="KRW" short="W" decimals="0">South Korean Won</option>
	<option iso="LBP" short="LD" decimals="0">Lebanese Pounds</option>
	<option iso="LUF" short="LuxF" decimals="2">Luxembourg Francs</option>
	<option iso="MXP" short="Mex$" decimals="2">Mexican New Pesos</option>
	<option iso="MYR" short="RM" decimals="2">Malaysian Ringgit</option>
	<option iso="NLG" short="f." decimals="2">Dutch Guilders</option>
	<option iso="NOK" short="NKr" decimals="2">Norwegian Kroner</option>
	<option iso="NZD" short="NZ$" decimals="2" decimal-separator="."
grouping-separator="," currency-placement="before">New Zealand
Dollars</option>
	<option iso="PHP" short="Peso" decimals="2">Philippines Peso</option>
	<option iso="PKR" short="Rs" decimals="2">Pakistani Rupees</option>
	<option iso="PLZ" short="zloty" decimals="2">Polish Zloty</option>
	<option iso="PTE" short="Esc" decimals="0">Portugese Escudo</option>
	<option iso="ROL" short="L" decimals="0">Romanian Leu</option>
	<option iso="SAR" short="SRls" decimals="2">Saudi Arabian Riyal</option>
	<option iso="SDD" short="Pound" decimals="2">Sudan Pound</option>
	<option iso="SEK" short="Sk" decimals="2">Swedish Krona</option>
	<option iso="SGD" short="S$" decimals="2">Singapore Dollars</option>
	<option iso="THB" short="Bht" decimals="2" decimal-separator="."
grouping-separator="," currency-placement="before">Thai Baht</option>
	<option iso="TRL" short="TL" decimals="0">Turkish Lira</option>
	<option iso="TTD" short="TT$" decimals="2">Trinidad and Tobago
Dollars</option>
	<option iso="TWD" short="NT$" decimals="2">Taiwan Dollars</option>
	<option iso="USD" short="$" decimals="2" decimal-separator="."
grouping-separator="," currency-placement="before">American Dollars</option>
	<option iso="VEB" short="Bs" decimals="2">Venezuelan Bolivar</option>
	<option iso="ZAR" short="R" decimals="2" decimal-separator="."
grouping-separator="," currency-placement="before">South African
Rand</option>
	<option iso="ZMK" short="ZK" decimals="0">Zambian Kwacha</option>
</select>


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]