xsl-list
[Top] [All Lists]

Re: [xsl] Trouble with special characters

2016-01-25 11:37:43
Why are you trying to "transform"? The input XML is in the encoding defined
in the XML header. And the output encoding is set in the output statement.

-W

On 25 January 2016 at 18:27, a kusa akusa8(_at_)gmail(_dot_)com <
xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:

Hi:

I am trying to transform special characters in an XML file using XSLT
and I am having trouble with it.

One of them that I am having trouble with is the degree symbol. The
encoding is set to ISO-8859-1 because the system that consumes the XML
is set to this encoding.

So, on my XSL, I use the xsl:character-map and have mapped degree to
&#176; But for some reason, when the XML is converted, I only see
gibberish in place of the degree symbol.

Degree - "�

I also have similar problems with the middle dot, null and section symbols.

Any suggestions on this is greatly appreciated.

Thank you in advance.


--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--
<Prev in Thread] Current Thread [Next in Thread>