Re: Difficulty with ISO-8859-1 encoding

Subject: Re: Difficulty with ISO-8859-1 encoding
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 24 Nov 1999 15:19:19 GMT
> By the way, does anyone know the way to preserve the
> numeric entities in the output? 

well you can't `preserve' them as by the time the thing is output
it isn't known whether they were input as entities or character data.

But a character will be output as a numeric character entity if that character
is not in the encoding being used for output.

If you want all non ascii characters output as entites then in principle
you ought to be able to specify ascii as the output encoding
something like this

 <xsl:output method="xml" encoding="US-ASCII"/>

but I don't think xt currently supports this as an output encoding.

David


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


Current Thread