Subject: Re: AW: AW: Encoded question From: Josef Vosyka <Josef.Vosyka@xxxxxxxxxxxxxxxxxxx> Date: Mon, 06 Nov 2000 19:12:14 -0800 |
As I was told ™ is the best way to archieve (TM) symbol --- the majority of major browsers display it as TM. If you use the unicode value, it does not work on some IEs (but it did work on my linux :-) I managed to make xalan to render it as ™ if I used encoding="us-ascii". It is true that it also escapes all the others but it is probably the best solution. What do you think? BTW, I do not wanna use encoding="windows-1252" because than it only works on windows-1252. Thank you, --Josef Mike Brown wrote: > > Julian Reschke wrote: > > > Von: owner-xsl-list@xxxxxxxxxxxxxxxx > > > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]Im Auftrag von Josef Vosyka > > > Gesendet: Montag, 6. November 2000 20:53 > > > An: xerces-j-dev@xxxxxxxxxxxxxx; xsl-list@xxxxxxxxxxxxxxxx > > > Betreff: Re: AW: Encoded question > > For some reason I didn't see the original post on xsl-list. > > > > > > 1) What do I have to do to render ™ as ™ (not as "~Y")? > > > > > > > > I don't think that these characters are allowed characters. > > > > > > ?? Why not, it is numerical representation instead of symbolic. > > > > > > Is there really no way how to produce ™ escape sequence > > > trough the XSL > > > transformation (with whatever source -- ™ -- in your XML)? > > > > So which character is this meant to be? > > I'm guessing he really wants ™ (trademark symbol) with > <xsl:output method="html" encoding="windows-1252"/> > > He is probably assuming ™ is character 153 in his favorite charset, > rather than in ISO/IEC 10646-1, where it is a control character that is > not allowed in a decoded XML document, not even by reference. > > - Mike > ____________________________________________________________________ > Mike J. Brown, software engineer at My XML/XSL resources: > webb.net in Denver, Colorado, USA http://www.skew.org/xml/ > > 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: AW: AW: Encoded question, Mike Brown | Thread | Re: AW: AW: Encoded question, Mike Brown |
more encoded questions, Josef Vosyka | Date | Re: mapping attributes., Mike Brown |
Month |