Subject: RE: [xsl] silly (c) symbol. How to get © in output ? From: "Michael Kay" <mhk@xxxxxxxxx> Date: Thu, 24 Apr 2003 23:59:23 +0100 |
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: [xsl] silly (c) symbol. How to get © 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 *©* (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>©</xsl:text> gives an undefined entity error. > > > ><xsl:text disable-output-escaping="yes">©</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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] silly (c) symbol. How to , malcolm macaulay | Thread | RE: [xsl] silly (c) symbol. How to , Passin, Tom |
RE: [xsl] xpath trickery (was A Que, Michael Kay | Date | [xsl] Specifying xml source in xsl , Gregory Propf |
Month |