RE: [xsl] Whitespace in XSL not appearing if method="xml"

Subject: RE: [xsl] Whitespace in XSL not appearing if method="xml"
From: "Julian Reschke" <julian.reschke@xxxxxx>
Date: Tue, 7 Aug 2001 16:26:24 +0200
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Eliyahu
> Hershfeld
> Sent: Tuesday, August 07, 2001 5:13 PM
> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] Whitespace in XSL not appearing if method="xml"
>
>
> Hi,
> My XSL has &#160; and <xsl:text>&#160;</xsl:text> in a few places.
> I would like these to appear as &#160; in the output.
> When I do a transform using <xsl:output method="xml"> I just get
> an empty space instead of &#160;

This would be a bug in Xalan or Xerces that needs to be reported. It should
produce either a numerical entity or the Unicode character 160 in whatever
encoding you're using for output.

How did you *test* this? Don't make the mistake of loading a UTF-8 encoded
file into a text editor which doesn't know about Unicode....


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread