This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: copyright symbol in XSLT


> 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@ntlworld.com
work: Michael.Kay@softwareag.com  

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]