[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] character entity references; saxon ie 6.0 differences


Subject: RE: [xsl] character entity references; saxon ie 6.0 differences
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Tue, 26 Aug 2003 14:04:23 -0400

Dan,

At 01:31 PM 8/26/2003, you wrote:
Actually that brings up another point;
Why when I translate with saxon is the &eacute; not getting translated to
&#x000E9; and remains &eacute;?

Actually it is getting translated. It's probably that when your processor serializes the output, it's saying "oh, a & #x00E9, that's an & eacute!" and changing it back (probably since you're writing HTML and it knows enough HTML to know this).


I also noticed that the following entities:
&dagger;, &diams;, &bull; are translated by saxon to &#8224;, &#9830;,
&#8226; respectively when my character mapping is &#x2020;, &#x2666;,
&#x2022;?

If you try it in your handy hexadecimal calculator you may find that 8224 in decimal notation is 2020 in hexadecimal. That is, it's the same character, even the same number, just a different way of representing it. (The 'x' in the reference is the tip, to the parser and to you, that's it's in hexadecimal.)


Cheers,
Wendell


====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================


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




Current Thread
Keywords
xml