This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: whitespace
- From: David Carlisle <davidc at nag dot co dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 30 May 2002 18:59:34 +0100
- Subject: Re: [xsl] whitespace
- References: <2AC1617E.735393C7.503A7C16@netscape.net>
- Reply-to: xsl-list at lists dot mulberrytech dot com
> 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