This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: copyright symbol in XSLT
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 7 Feb 2002 09:48:48 -0000
- Subject: RE: [xsl] copyright symbol in XSLT
- Reply-to: xsl-list at lists dot mulberrytech dot com
> I have resolved this by using <xsl:text>, which allows the
> XSLT processor to just move the copyright symbol into the
> output HTML with the ampersand:
>
> <p>Copyright <sup>
> <xsl:text disable-output-escaping="yes">&#169;</xsl:text>
> </sup> 2002 Company, Inc.</p>
>
> Is this the best approach?
>
No, it's appalling. Just use:
<p>Copyright <sup>©</sup> 2002 Company, Inc</p>
Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list