[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: "Improve your XSLT coding five ways"
> > 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@xxxxxxxxxxxxxxx +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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|