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

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

Subject: RE: Whitespace in XSL not appearing if method="xml"
From: "Julian Reschke" <julian.reschke@xxxxxx>
Date: Tue, 7 Aug 2001 16:26:24 +0200
whitespace in xsl
> 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:  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


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.
First Name
Last Name
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.