Re: [xsl] whitespace

Subject: Re: [xsl] whitespace
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 30 May 2002 18:59:34 +0100
> I am trying to open the output using Internet Explorer and that's when
> the whitespace gets truncated.  The result is just 'Mike' without any
> whitespace in the front of it. 

That's required by the HTML specification: white space after tags is
always ignored in HTML.

But you said  you were doing

<xsl:output method="text" 

If you are generating a text file then as long as you tell IE that it is
text/plain not text/html it should just show the text verbatim.


This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:

Current Thread