Re: [xsl] Using   in XSL HTML Output

Subject: Re: [xsl] Using   in XSL HTML Output
From: Kevin Rodgers <kevin.rodgers@xxxxxxx>
Date: Tue, 22 Feb 2005 09:28:51 -0700
Adam J. Knight writes:
> I am trying to using the &nbsp; html character in the HTML
> output of my xsl file. Have tried a couple of options including the
> options below with no success.

As DC said, if you want the character in your output, your 3 examples
are all equivalent (because the entity and character references are
replaced when the stylesheet itself is parsed).  But if you want an
entity or character reference in your output:

&amp;nbsp; or &amp;#160;

<![CDATA[&nbsp;]]> or <![CDATA[&#160;]]>

Kevin Rodgers

Current Thread