I'm not sure if you can.  Note the following from the spec (section 16.2):

"The html output method may output a character using a character entity 
reference, if one is defined for it in the version of HTML that the output 
method is using."

I *think* it does this without regard to the encoding you're using, and as far 
as I can tell there's no way to control it, except perhaps specify a version of 
HTML that doesn't
know about those character entity references (is there one)?

Is there a reason that you *have* to have these as actual character values 
instead of entity references?  If you're just doing it for testing (which we 
were) pick test
characters that do not have entity references defined in HTML.  That worked for 
us.

dwh


cyril vidal wrote:

> I would like to know how to change the output encoding with XALAN.
> For example, when I transform an xml file to a html one, although I set 
> encoding iso-latin 1 in <xsl:output> instruction, I obtain &eacute instead of 
> � in the html document.

Reply via email to