Re: special character

Subject: Re: special character
From: Lars Marius Garshol <larsga@xxxxxxxxxxxxxxx>
Date: 27 Sep 2000 10:25:42 +0200
* Elisio Pereira
|
| How the FOP accept "ç ã é ü & * $ etc..."special
| character in the xml file? thank very much...

* Rebecca Lundberg
| 
| Try these for the first couple you mentioned:
| ç = &ccedil;  or &#231;
| ã = &atilde;   or &#227;
| é = &eacute  or &#233;

Be aware the entities (&ccedil; and friends) have to be declared in
the DTD before they can be used in an XML document. The character
references, on the other hand, (&#231; etc) can be used directly.

| These are all part of the ISO-Latin-1 character set. 

They are, and that means that the easiest way to use them is to simply
write your document in that character set (just like you did with your
email) and then declare that you have done so by putting

<?xml version="1.0" encoding="iso-8859-1"?> 

at the very beginning of your document.

| The book, "XML Black Book" published by Technology Press has a
| complete listing of codes. I'm sure you can find the list online
| somewhere though.

<URL: http://www.unicode.org/charts/ >
<URL: http://www.czyborra.com/ >

--Lars M.


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


Current Thread