[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Trouble with special characters

Subject: Re: Trouble with special characters
From: "Wolfgang Laun wolfgang.laun@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 25 Jan 2016 17:37:31 -0000
Re:  Trouble with special characters
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@xxxxxxxxx <
xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> 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 - "C/B?B=
>
> I also have similar problems with the middle dot, null and section symbols.
>
> Any suggestions on this is greatly appreciated.
>
> Thank you in advance.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.