RE: [xsl] copyright symbol in XSLT

Subject: RE: [xsl] copyright symbol in XSLT
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Thu, 7 Feb 2002 09:48:48 -0000
> 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">&amp;#169;</xsl:text>
> </sup> 2002 Company, Inc.</p>
> 
> Is this the best approach?
> 
No, it's appalling. Just use:

 <p>Copyright <sup>&#169;</sup> 2002 Company, Inc</p>

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx  

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread