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

RE: silly (c) symbol. How to get © in output ?

Subject: RE: silly (c) symbol. How to get © in output ?
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Thu, 24 Apr 2003 23:59:23 +0100
c symbol
Write & # 1 6 9 ; (without the spaces) in the stylesheet.

If it displays wrong in the browser or anywhere else, that's because
there's a mismatch between the actual encoding of the output file and
the encoding that the browser or other software is expecting. Either
select a different encoding (using xsl:output), or change your browser
(etc) configuration.

Don't even try to use disable-output-escaping. You don't understand it,
and people who do understand it know that you hardly ever need it.

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

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> malcolm macaulay
> Sent: 24 April 2003 21:29
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  silly (c) symbol. How to get &copy; in output ?
> 
> 
> In my previous post the first example was supposed to use 
> #169; with little 
> ampersand in the front.
> 
> cheers
> 
> Malcolm
> 
> >Date: Fri, 25 Apr 2003 08:18:32 +1200
> >
> >I'm having a lot of trouble getting *&copy;* (the copyright 
> system) to
> >output.
> >
> >I know this problem has been explained before but I can't find the 
> >thread
> >which has a working answer.
> >
> >I'm getting this:
> >
> ><xsl:text disable-output-escaping="yes">©</xsl:text> gives 
> the actual 
> >(c)
> >symbol in the HTML doc which looks like this: © in the 
> browser but look OK 
> >in XMLSpy.
> >
> ><xsl:text>&copy;</xsl:text> gives an undefined entity error.
> >
> ><xsl:text disable-output-escaping="yes">&copy;</xsl:text> gives an
> >undefined entity error.
> >
> >I'm using Saxon 7.4. My first born to anyone who can put me out of my
> >misery.
> >
> >TIA
> >
> >cheers
> >
> >Malcolm S-)
> >
> >
> >
> >
> >
> >
> >_________________________________________________________________
> >Find your perfect match @  http://personals.xtramsn.co.nz   
> with XtraMSN 
> >Personals!
> >
> >
> >XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> >
> 
> 
> _________________________________________________________________
> Download MSN Messenger @  http://messenger.xtramsn.co.nz   - add your 
> friends!
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


 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.