RE: Whitespace in XSL not appearing if method="xml"
> 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   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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format