Re: [xsl] Controlling Whitespace in IE

Subject: Re: [xsl] Controlling Whitespace in IE
From: "Spencer Tickner" <spencertickner@xxxxxxxxx>
Date: Thu, 4 May 2006 12:03:58 -0800
Hi Everyone,

Thanks for the responses. I've used Mukul's suggestion and it seems to
work very well.


On 5/4/06, Michael Kay <mike@xxxxxxxxxxxx> wrote:
> I would try to use
> <xsl:text xml:space="preserve"> </xsl:text> That may does the trick.

Sorry, but guesswork will get you nowhere.

(a) xml:space in the stylesheet affects the treatment of whitespace in the
stylesheet, it doesn't affect whitespace in the source document

(b) whitespace within <xsl:text> is preserved by a conformant XSLT

Michael Kay

Current Thread