[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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.

Spencer

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
processor
anyway.

Michael Kay
http://www.saxonica.com/


Current Thread
Keywords