Re: AW: AW: Encoded question

Subject: Re: AW: AW: Encoded question
From: Mike Brown <mike@xxxxxxxx>
Date: Mon, 6 Nov 2000 16:39:25 -0700 (MST)
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


Current Thread