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

Re: [xsl] service marks and other special symbols


Subject: Re: [xsl] service marks and other special symbols
From: "Craig Whisenhunt" <craig@xxxxxxxxxxxx>
Date: Thu, 2 Mar 2006 15:08:17 -0600

I use the following code at the top of my stylesheet so that &nbsp; are
output properly as HTML:
<xsl:output method="html" encoding="ISO-8859-1" use-character-maps="cm1"
indent="yes"/>
<xsl:character-map name="cm1">
<xsl:output-character character="&#160;" string="&amp;nbsp;"/>
</xsl:character-map>



So yours might look like this:

<xsl:output method="html" encoding="ISO-8859-1" use-character-maps="cm1"
indent="yes"/>
<xsl:character-map name="cm1">
<xsl:output-character character="&#8480;" string="&amp;#8480;"/>
</xsl:character-map>

-Craig


----- Original Message ----- 
From: "Ferreri, Greg" <gferreri@xxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, March 02, 2006 2:50 PM
Subject: [xsl] service marks and other special symbols


Hello all:

I have a perplexing issue that I just can't figure out.  I want to have my
xsl document output the code for the service mark symbol (&#8480;) but it
looks like the xsl parser replaces the code with a ? or square symbol in the
html stream.  Is there any way to workaround this?  I've tried just about
everything I can think of, including:

<xsl:text disable-output-escaping="yes">&#8480;</xsl:text> and "&amp;#8480;"

Thoughts/suggestions?

Thanks,

Greg
29001 Solon Rd., Solon, OH 44139. The preceding e-mail message (including
any attachments) contains information that may be confidential or constitute
non-public information. It is intended to be conveyed only to the designated
recipient(s). If you are not the intended recipient of this message, please
notify the sender
by replying to this message and then delete it from your system. Thank you.


Current Thread
Keywords
xsl