Re: [xsl] Proper xsl coding for  ?

Subject: Re: [xsl] Proper xsl coding for  ?
From: Elizabeth Barham <soggytrousers@xxxxxxxxx>
Date: 11 Feb 2002 14:23:02 -0600
Brad Cox <bcox@xxxxxxxxxxxxxxxxx> writes:

> What is the proper way to write &nbsp; and its html friends in xsl
> documents?

Hi Brad,

The way I've been doing it is with an entity entitled nbsp:

<nbsp/>

The reason I'm using this is because XML Schema doesn't work too well
(at all?) with character entities.

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

Elizabeth




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


Current Thread