This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: How to deal with special characters in XSL?
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] How to deal with special characters in XSL?
- From: "Julian Reschke" <julian dot reschke at gmx dot de>
- Date: Wed, 17 Oct 2001 16:26:53 +0200
- Reply-To: xsl-list at lists dot mulberrytech dot com
Yes, but that's non-portable and rarely required. Just emit the right
Unicode character.
> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Andrés
> Pedrera
> Sent: Wednesday, October 17, 2001 4:09 PM
> To: xsl-list@lists.mulberrytech.com
> Subject: RE: [xsl] How to deal with special characters in XSL?
>
>
> >> Hi Aniceto,
> >>
> >> > What if I need printed in the outputed html?
> >> > yes I can use   but this prints " " not " "
> >> > and I need it for crossbrowser html.
> >>
> >> If you want to ouput " " you can use &nbsp;. This,
> >> will escape '&'
> >> and will send " " to the browser.
> >
> >No, it won't. It will send &-a-m-p-;-n-b-s-p-;
>
> If you use disable-output-escaping, it works fine:
>
> <xsl:text disable-output-escaping="yes">&nbsp;</xsl:text>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list