This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: differences in methods of inserting a space in HTML produced from XSLT
- From: "Julian Reschke" <julian dot reschke at gmx dot de>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 22 Jan 2002 18:03:05 +0100
- Subject: RE: [xsl] differences in methods of inserting a space in HTML produced from XSLT
- Reply-to: xsl-list at lists dot mulberrytech dot com
- none of them is portable
- to get a non-breaking space, just use " "
FAQ on: <http://www.dpawson.co.uk/xsl/sect2/nbsp.html>
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Saverio
> Perugini
> Sent: Tuesday, January 22, 2002 5:49 PM
> To: xsl-list@lists.mulberrytech.com
> Subject: [xsl] differences in methods of inserting a space in HTML
> produced from XSLT
>
>
> 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">
</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?
>
> Thank You,
>
> Saverio Perugini
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list