Subject: Re: [xsl] differences in methods of inserting a space in HTML produced from XSLT From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Tue, 22 Jan 2002 12:14:43 -0500 |
What are the differences in the following methods of inserting a space into an HTML file produced from an XML file and XSLT template with <xsl:output method="html"/>?
<xsl:text disable-output-escaping="yes">
</xsl:text>
<xsl:text disable-output-escaping="yes">&#xA;</xsl:text>
<xsl:text disable-output-escaping="yes">&#160;</xsl:text>
<xsl:text disable-output-escaping="yes">&nbsp;</xsl:text>
All produce the desired output just fine.
What are the consequences of using each?
Is there a preferred/correct method?
-- Upcoming: 3-days XSLT/XPath and/or 2-days XSLFO - Feb 18-22, 2002
G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (Fax:-0995) ISBN 0-13-065196-6 Definitive XSLT & XPath ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath ISBN 1-894049-07-1 Practical Formatting Using XSLFO XSL/XML/DSSSL/SGML/OmniMark services, books(electronic, printed), articles, training(instructor-live,Internet-live,web/CD,licensed) Next public training: 02-02-11,12,14,15,18,21,03-04,05,06,08,11, - 04-08,09,10,12,05-14,15,06-04,07
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] differences in methods of, Julian Reschke | Thread | [xsl] problem using saxon:function, Xiaocun Xu |
Re: [xsl] Muenchian method, and key, Jeni Tennison | Date | RE: [xsl] self discovery, Wendell Piez |
Month |