I'm trying to display both Canadian and US pricing according to my locale currency tables. The site's base currency is configured as CAD (which is default for the en-CA locale) and I'd also like display USD (defualt for the en-US locale).
I figured this could be done by the FormatCurrency function, passing in a locale. I've tried this, but the FormatCurrency always seems to use the site's global locale rather then what I'm passing in...
<xslaram name="USLocale">en-US</xsl
aram>
<xslaram name="CALocale">en-CA</xsl
aram>
<li class="ca_price">
<xsl:value-of select="aspdnsf:FormatCurrency(Price, CALocale)" disable-output-escaping="yes" />
</li>
<li class="us_price">
<xsl:value-of select="aspdnsf:FormatCurrency(Price, USLocale)" disable-output-escaping="yes" />
</li>
I've also tried the following with no success:
<li class="ca_price">
<xsl:value-of select="aspdnsf:FormatCurrency(Price, en-CA)" disable-output-escaping="yes" />
</li>
<li class="us_price">
<xsl:value-of select="aspdnsf:FormatCurrency(Price, en-US)" disable-output-escaping="yes" />
</li>
Thoughts?
________
Legally_Blond