This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: differentiation between text() and entities???
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: differentiation between text() and entities???
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Wed, 14 Jun 2000 16:16:10 +0100
- Reply-To: xsl-list at mulberrytech dot com
> Either way, your choice of encoding for the output will
> affect what happens to any #169 characters that are destined to be
> inserted in the output stream.
It may affect it, but on the other hand it may not. As far as the spec is
concerned, XSLT processors are free to choose any representation that is
consistent with the encoding.
In Saxon, for method="html", the highly pragmatic rules for output of
non-ASCII characters are:
for characters in the range 160-255, use an entity reference, e.g.
"é"
for other non-ASCII characters, use the native character if supported by the
selected encoding, otherwise use a numeric character reference.
There's nothing in the spec to say it has to be this way, the rules have
simply evolved to minimize the number of user complaints.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list