RE: [xsl] Encoding attribute

Subject: RE: [xsl] Encoding attribute
From: "Jim Fuller" <jim.fuller@xxxxxxxxxxxxxx>
Date: Thu, 29 Jan 2004 21:00:38 -0000
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Fran
> Sent: 29 January 2004 20:31
> Subject: [xsl] Encoding attribute

> The problem is when I want to put some "especial" characters 
> like "€" , non-breaking espaces, etc... I put in the XSL 
> StyleSheet when I want to display "euro" character &euro; 
> &#8364; but whith &euro; he tells me "Entity Reference not 

Numeric entities ( e.g. &#8364;) will resolve, but if you want to used
named entities you will need to define the typical named entities using
dtd entity definition e.g.

<!ENTITY euro "&#8364;">

Check out http://www.dpawson.co.uk/xsl/characters.html which gives links
and a good general discussion on the issues of handling charsets within
xml.

Gl, jim fuller


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


Current Thread