[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Encoding attribute


Subject: RE: [xsl] Encoding attribute
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Fri, 30 Jan 2004 00:03:39 -0000

If it's any consolation you're not the only one who finds entities
confusing. Scanning quickly through my spam box this evening, I spotted
one with the title

&FIRST_NAME; - Wow

I'm not sure if it's worse that these guys are using XML, or that they
are using it wrongly.

Michael Kay

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Fran
> Sent: 29 January 2004 20:31
> To: XSL List (E-mail)
> Subject: [xsl] Encoding attribute
> 
> 
> Hi,
> I hope anybody can help me with this silly question.
> I don't understand very well what kind of encoding I must 
> utilice. I live in Spain and I read that I must utilice 
> ISO-8859-1 characters and I put always in XML files the <?xml 
> version="1.0" encoding="ISO-8859-1"?>  and in the XSL files 
> when I want to escape HTML I put always <?xml version="1.0" 
> encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" 
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
> <xsl:output method="html"/>
> 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 
> defined" and with &#8364; I see another character. Any 
> suggestion, please?
> 
> 
> 
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


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



Current Thread
Keywords