[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re:   into the output ??


Subject: Re:   into the output ??
From: Mike Brown <mike@xxxxxxxx>
Date: Thu, 31 Aug 2000 14:08:11 -0600 (MDT)

Alexander Rupsch, VUB Printmedia wrote:
> I'm generatig HTML from XML via cocoon (xalan).
> The output HTML needs to contain some "&nbsp;". But until now I could not
> find a way to implement that.

&nbsp; is by definition &#160;

Just put &#160; (or &#xA0;) in your stylesheet to represent the
non-breaking space character in the stylesheet tree and result tree.  
when the result tree is output, the character will be output as either
&#160; or &nbsp; assuming you have <xsl:output method="html"/> in the
stylesheet.

   - Mike
____________________________________________________________________
Mike J. Brown, software engineer at         My XML/XSL resources:
webb.net in Denver, Colorado, USA           http://www.skew.org/xml/


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



Current Thread
Keywords
xml