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.



David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread