This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: "Improve your XSLT coding five ways"
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] "Improve your XSLT coding five ways"
- From: Uche Ogbuji <uche dot ogbuji at FourThought dot com>
- Date: Wed, 24 Jan 2001 22:59:07 -0700
- Reply-To: xsl-list at lists dot mulberrytech dot com
> > In the new tutorial by Benoît Marchal
> >
> > http://www-106.ibm.com/developerworks/library/x-xslt5.html?dwzone=xml
> >
> > there is one chapter about HTML entities, and I don't understand
> > why to use non-breaking space in such a complicated way. Until now, I
> > simply used   in XSL, which works fine and results in
> > in the HTML output.
> >
> > The author recommends
> > <xsl:text disable-output-escaping="yes">&nbsp;</xsl:text></td>
> > Why is that?
It's quite frustrating to find this on IBM dW. It is, of course, bad advice.
> I don't understand why somebody would recommend that *unless* he absolutely
> needs the representation as &-n-b-s-p-; in the output (however the author
> doesn't state that this is the reason).
Actually, 4XSLT and Saxon, that I know of, will automatically replace  
with in the HTML output method, and so on with other HTML characters
with named entities.
--
Uche Ogbuji Principal Consultant
uche.ogbuji@fourthought.com +1 303 583 9900 x 101
Fourthought, Inc. http://Fourthought.com
4735 East Walnut St, Ste. C, Boulder, CO 80301-2537, USA
Software-engineering, knowledge-management, XML, CORBA, Linux, Python
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list