RE: [xsl] Encoding attribute

Subject: RE: [xsl] Encoding attribute
From: "Fran" <franciscojose@xxxxxxxxxxx>
Date: Fri, 30 Jan 2004 13:58:19 +0100
And then if i use ENTITY references if I define for example <!DOCTYPE
xsl:stylesheet [<!ENTITY nbsp "&#160;">]>, it puts me  the #160 character
from the table I have specified in encoding attribute???
So, Is the set of characters important to the encoding attribute?
Spain works with ISO-8859-1 but I can't found the euro character. So, I must
change the table of characters???

-----Mensaje original-----
De: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]En nombre de
Enviado el: viernes, 30 de enero de 2004 9:08
Para: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Asunto: RE: [xsl] Encoding attribute

Shows how to define an entity (change it to & euro ; )
and let you use it as you want.


    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"
    <xsl:stylesheet version="1.0"
    <xsl:output method="html"/>
    The problem is when I want to put some "especial"
    characters like "EUR" , 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:


NOTICE: The information contained in this email and any attachments is
confidential and may be privileged. If you are not the intended
recipient you should not use, disclose, distribute or copy any of the
content of it or of any attachment; you are requested to notify the
sender immediately of your receipt of the email and then to delete it
and any attachments from your system.

RNIB endeavours to ensure that emails and any attachments generated by
its staff are free from viruses or other contaminants. However, it
cannot accept any responsibility for any  such which are transmitted.
We therefore recommend you scan all attachments.

Please note that the statements and views expressed in this email and
any attachments are those of the author and do not necessarily represent
those of RNIB.

RNIB Registered Charity Number: 226227


 XSL-List info and archive:

 XSL-List info and archive:

Current Thread