[thelist] RE: XSLT embedding NBSP -- FIXED
David.Cantrell at Gunter.AF.mil
David.Cantrell at Gunter.AF.mil
Tue Aug 20 13:06:01 CDT 2002
I was asking about embedding into a document via XSLT transforms. I
had tried the numeric designation   but it wasn't working, despite
having worked many times in the past (perhaps under MSXML 3.0?).
Here is the solution I used, and it makes a nice tip. :)
<tip topic="Embedding non-breaking spaces in a document with XSLT"
author="Dave Cantrell">
To embed a non-breaking space in the output of an XSLT transformation, use
the following:
<xsl:text disable-output-escaping="yes">&</xsl:text>nbsp;
This was tested with MSXML 4.0.
</tip>
-dave
More information about the thelist
mailing list