Re: [xsl] Passing through character entities intact

Subject: Re: [xsl] Passing through character entities intact
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 11 Oct 2001 09:33:24 +0100

> This is impossible to achieve - mdash is not supported by ISO 8859-1.
> Output as UTF-8 - most web browsers support that now.

No. In XML numeric character references (and entity references defined in
terms of these) may denote _any_ unicode character, by unicode number,
irrespective of the encoding used for characters in the document.
So even if you have a latin1 (or us-ascii) encoded file you can still
refer to &mdash; as being the appropriate character.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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


Current Thread