[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: copyright symbol in XSLT

Subject: RE: copyright symbol in XSLT
From: Stuart Zakon <zakons@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 06 Feb 2002 22:40:56 -0500
stuart zakon
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?

This type of maneuver is so complicated, how do junior people
master these quirks??

Regards,
Stuart Zakon
Objects by Design
http://www.objectsbydesign.com


I have followed earlier recommendations made on this list to
output the copyright symbol using the &#169;  encoding.

However, in my output HTML I see the copyright symbol
preceded by a capital A with something on top:  ©

How do I get rid of that unwanted character?

I use Xalan 2.2 and the XSLT output is created inside
a template that just copies the following:

<p>Copyright &#169; 2002 Company, Inc. All rights reserved.</p>



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



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.