Re: [xsl] How do i put whitespace character in xsl file

Subject: Re: [xsl] How do i put whitespace character in xsl file
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 31 May 2005 22:27:27 +0100
> try &nbsp; but this just throws a syntax error.how can i insert a white 
> space?

note several people have pointed you at & #160; which is the non
breaking space character used to define nbsp in html, but note that this
character does not actually count as white space in html or xml. for
example you can not but such a character between the element name and
attribute name in a start tag, the only characters allowed there are the
whitespace characters space, tab, and newline and carriage return.

If you want to insert a space character just use
<xsl:text> </xsl:text>

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread