xsl-list
[Top] [All Lists]

RE: insert a tab/space characters

2003-02-22 03:26:59
Just use numeric character references: 	 for tab,   for space,
&#xa0; for non-breaking space. Preferably wrapped in an <xsl:text>
element, to avoid unwanted whitespace stripping. The serializer will
make its own decisions how to represent these characters in the HTML
output, but it will do it in a way that the browser understands.

Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 



-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com 
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of 
Mac Martine
Sent: 21 February 2003 22:20
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] insert a tab/space characters



Hello-
 Totally simple question, but . how can I make insert a tab 
and/or space characters into my html output from the xsl? 
&nbsp;, etc aren't legal in the xsl document....
Thanks-
 mac


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




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



<Prev in Thread] Current Thread [Next in Thread>