xsl-list
[Top] [All Lists]

RE: special characters

2003-05-23 02:48:56
Hi,

You could try adding the entity. Make sure that your processor supports that
output encoding format and you set it at the top of the intiating
stylesheet...

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE xsl:stylesheet [
    <!ENTITY % winansi SYSTEM "characters.ent">
    %winansi;
]>
<xsl:output method="html" encoding="ISO-8859-1" indent="no"
omit-xml-declaration="yes" />
<xsl:stylesheet...
<xsl:text disable-output-escaping="yes">&eacute;</xsl:text>

Then setup characters.ent...

<?xml version="1.0" encoding="UTF-8"?>
<!-- latin capital letter E with grave, U+00C8 ISOlat1 &#201; -->
<!ENTITY eacute "&eacute;">

I think that should work OK!

Cheers

Gary




-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com]On Behalf Of 
abbouh
Sent: 23 May 2003 10:24
To: XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] special characters


hi,
how can you make special characters(like &eacute;) appairs in a text
output file in xsl encoding?
thanks.


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



This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to which they are addressed. If 
you have received this email in error please reply to this email and then 
delete it. Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of Future. 

The recipient should check this email and any attachments for the presence of 
viruses. Future accepts no liability for any damage caused by any virus 
transmitted by this email. 

Future may regularly and randomly monitor outgoing and incoming emails and 
other telecommunications on its email and telecommunications systems. By 
replying to this email you give your consent to such monitoring.

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



<Prev in Thread] Current Thread [Next in Thread>