Xalan-J's behavior conforms to the XSLT recommendation, which requires using such entities when they are known.
If you want non-standard behavior, then you can change the resource file that Xalan uses to determine what entities are used. Go here, and search for "HTMLEntities.res" for more information: http://xml.apache.org/xalan-j/readme.html#done Dave Jay Burgess <[EMAIL PROTECTED] To: [EMAIL PROTECTED] h.com> cc: Subject: RE: Native char, not entity representation? 02/12/2002 02:10 PM Thanks for replying, but I don't understand your answer. My output encoding is 8859-1: <xsl:output method="html" encoding="ISO-8859-1"/> As I said in my previous email, I need something like "�" instead of "£". As far as I know, "�" is a valid character in the 8859-1 character set (decimal 163), so I'm not sure what changing the encoding would do for me. It seems that because my output method is HTML, Xalan is automatically turning it into the entity "£". Since Saxon has the ability to do what I need, I was hoping that I could accomplish the same thing with Xalan. Jay -----Original Message----- From: Joseph Kesselman/CAM/Lotus [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 12, 2002 3:54 PM To: Jay Burgess Cc: [EMAIL PROTECTED] Subject: Re: Native char, not entity representation? Native to whom? Unless the character is in the encoding, there is no "native representation". If it is, simply use xsl:output to specify that encoding, and everything should work as you intend.
