On Wed, Jan 17, 2001 at 11:57:04AM +0000, Mark McLaren wrote:

> How do I print currency symbols?
> 
> I would like to use
> 
> <xsl:output method="text/>
> 
> I have tried:
> 
> <xsl:text>&#xA3;</xsl:text>
> 
> For pounds sterling?
> 
> But I get an A with ^ on top AND a pound sign.

Yes, you would. The default output encoding is UTF-8.
I would guess that you want ISO 8859-1, so you should use

  <xsl:output method="text" encoding="iso-8859-1"/>


> Also, how do I print the Euro Symbol?

That's a harder question. ISO 8859-1 doesn't include the Euro
symbol. However it *is* included in 8859-15 and of course in
Unicode. If your system supports it you can use ISO 8859-15
output encoding, or indeed UTF-8.

The Euro sign is &#x20AC;

 .robin.

-- 
Are we not drawn onward, we few, drawn onward to new era?

Reply via email to