RE: [xsl] insert a tab/space characters

Subject: RE: [xsl] insert a tab/space characters
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Sat, 22 Feb 2003 10:26:59 -0000
Just use numeric character references: &#x9; for tab, &#x20; 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.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Mac Martine
> Sent: 21 February 2003 22:20
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> 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:

 XSL-List info and archive:

Current Thread