This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

differences in methods of inserting a space in HTML produced fromXSLT


Hello,

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">&#xA;</xsl:text>

<xsl:text disable-output-escaping="yes">&amp;#xA;</xsl:text>

<xsl:text disable-output-escaping="yes">&amp;#160;</xsl:text>

<xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>

All produce the desired output just fine.

What are the consequences of using each?  Is there a preferred/correct method?

Thank You,

Saverio Perugini


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]