Subject: Re: [xsl] service marks and other special symbols From: Andrew Franz <afranz0@xxxxxxxxxxxxxxxx> Date: Fri, 03 Mar 2006 08:27:25 +1100 |
I use the following code at the top of my stylesheet so that 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=" " string="&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="℠" string="&#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 (℠) 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">℠</xsl:text> and "&#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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] service marks and other s, Craig Whisenhunt | Thread | RE: [xsl] service marks and other s, Michael Kay |
Re: [xsl] Is letting the browser tr, Robert Koberg | Date | RE: [xsl] Expression in XPath, Wendell Piez |
Month |