This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Whitespace in XSL not appearing if method="xml"
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Whitespace in XSL not appearing if method="xml"
- From: "Julian Reschke" <julian dot reschke at gmx dot de>
- Date: Tue, 7 Aug 2001 16:26:24 +0200
- Reply-To: xsl-list at lists dot mulberrytech dot com
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Eliyahu
> Hershfeld
> Sent: Tuesday, August 07, 2001 5:13 PM
> To: XSL-List@lists.mulberrytech.com
> Subject: [xsl] Whitespace in XSL not appearing if method="xml"
>
>
> Hi,
> My XSL has   and <xsl:text> </xsl:text> in a few places.
> I would like these to appear as   in the output.
> When I do a transform using <xsl:output method="xml"> I just get
> an empty space instead of  
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