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

Re: AW: AW: Encoded question

Subject: Re: AW: AW: Encoded question
From: Josef Vosyka <Josef.Vosyka@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 06 Nov 2000 19:12:14 -0800
josef vosyka
As I was told &#153; 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 &#153; 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 &#153; as &#153; (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 &#153; escape sequence
> > > trough the XSL
> > > transformation (with whatever source -- &#153; -- in your XML)?
> >
> > So which character is this meant to be?
> 
> I'm guessing he really wants &#x2122; (trademark symbol) with
> <xsl:output method="html" encoding="windows-1252"/>
> 
> He is probably assuming &#153; 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

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.